Use of Axis Format
Most commands can be issued by referring to the AXIS number as well as the axis alias.
If you use the following program attachment:
PROG0
ATTACH MASTER0
ATTACH SLAVE0 AXIS0 "X"
ATTACH SLAVE1 AXIS1 "Y"
From program 0, axis commands would be entered as:
GEAR ON X,
GEAR RATIO X 2.75
CAM ON Y
CAM SRC Y ENC3
The alternate format would be to refer to the axis. This format will work from any program 0 to 15.
AXIS0 GEAR ON or GEAR ON AXIS0
AXIS0 GEAR RATIO 2.75 or GEAR RATIO AXIS0 2.75
AXIS1 CAM ON or CAM ON AXIS1
AXIS1 CAM SRC Y ENC3 or CAM SRC AXIS1 ENC3
*********************************************
The exception to this rule is any command that uses the MASTER profile. These include the MOV, INT, HSINT, and the IHPOS commands. These commands can only be issued from the program where the axis is attached.