CHANGEWORK (Statement)


Changes the user coordinate system.


CHANGEWORK <User coordinate system number>


This statement changes the user coordinate system to the coordinate system designated by <User coordinate system number>.
This declaration is valid until the next CHANGEWORK statement is executed.
Numbers from 0 to 7 are valid for <User coordinate system number>.
User 0 signifies the base coordinate system.



  • If TAKEARM is executed, WORK0 is set.
    (However, this is not applicable to a subroutine.)
  • Even changing the values of coordinates currently specified by <user-defined coordinates number> using the WORK statement does not change the robot's work coordinates. To change them, select the user-defined coordinates number again with the CHANGEWORK statement.


DIM li1 As Integer
DIM lp1 As Position
Li1 = 1
Lp1 = (10, 10, 5, 0, 9, 0, 1)
WORK 1, lp1
'Declares the user coordinate system
'designated by position variable lp1 in
'user coordinate system 1.
CHANGEWORK li1
'Changes to the user coordinate system
'denoted by the user coordinate system
'number designated in li1.


Top