Author Topic: Convert P variable to Px variable  (Read 169 times)

0 Members and 1 Guest are viewing this topic.

Offline itzmejp

  • Newbie
  • *
  • Thank You
  • -Given: 6
  • -Receive: 0
  • Posts: 15
Convert P variable to Px variable
« on: October 19, 2018, 10:30:38 AM »
Is it possible to convert a P variable into a Px variable? There is any function to do that?

Offline 95devils

  • Hero Member
  • *****
  • Thank You
  • -Given: 0
  • -Receive: 141
  • Posts: 865
Re: Convert P variable to Px variable
« Reply #1 on: October 19, 2018, 12:52:16 PM »
They are the same.  The x in the GETS or CNVRT instruction means expanded control group axes.  I think of it as I might get more than I want.

If I ask the controller to get the position in my job, the controller doesn't know of what.  The controller is going to give me the position for all the hardware in the job. 

Robot 1 job just Robot 1. 

Robot 1 and External Axis 1, I am going to get the position for the robot and the external axis. 

Robot 1 and Robot 2 job, going to get the position of each robot.

The x is just a reminder that I might get for information than I expected.   
Alcohol:  The cause and solution to all life's problems