
130
Remarks: The available tool workpiece numbers are 0~15, and -1 is the default coordinate
system.
Note: If the point recorded by the tool or workpiece is called, the corresponding coordinate
system instruction path movement must be added in the program to be correct.
19.12.3 Global variable instruction
Explanation: The global variable instruction is used to define the global parameters of the
program, and it takes effect in the entire program, except for those with its own parameters.
The range of motion parameters is as follows:
The difference between global parameters and local parameters is as follows:
Example:
UFRAME_NUM = 0
UTOOL_NUM = 0
L P[1] VEL=50
L P[2] VEL=50
UFRAME_NUM = -1 , Do not call tool artifacts at the
following points
UTOOL_NUM = -1
J P[3] VEL=50
J P[4] VEL=50
In the above expression, P[1] and P[2] call tool, workpiece number 0,
P[3], P[4] point does not call tool and workpiece, the value needs to be set to
-1, the coordinate system command is to Work under.