RobotStudio event

Assign workobj cordinate values

How do you assign a workobject x,y,z values using rapid?

Answers

  • lemster68
    lemster68 ✭✭✭
    MyWobj.oframe.trans:=MyPos;

    Is an example
    Lee Justice
  • Does this just move the workobject a value in a certain direction.  

    wobj2.oframe.trans.z := 38.3 (moves current wobj2 in the z direction 38.3mm)

    Say I want a workobject with x=200, y=1000 and z= 2000.  How would you assign a workobject with those values?
  • lemster68
    lemster68 ✭✭✭
    In your example it would NOT move it that amount, it would set the value to that amount.  If you want it to move you would add 38.3 to the current value.
    Lee Justice