Installation guide
62 Programming Commands
stants any expression regardless of complexity can be
used.
The following are all valid expression lists:
5.3 no comma, since a comma does not
follow the last expression in the list (axis1
value is 5.3)
,,,5.2,,6 1st comma - skip axis 1, 2nd comma –
skip axis 2, 3rd comma - skip axis 3, 4th
comma follows expression for axis 4, 5th
comma - skip axis 5
(axis 4 value is 5.2, axis 6 value is 6)
syntax example:
ABSPOS = ,0,0,0
sets ABSPOS of axes 2-4 to 0
COMMAND(n [,m] ) = expression [, expression]
Execute the command, on the 1 or more specified axes,
using the data supplied by the 1 or more expressions.
n
Axis number, which is a whole number constant in the
range 1 to N, where N is the number of axes in the con-
troller: 2,4,6 or 8.
[,m]
0 or more occurrences of axis number preceded with a
comma.
[,expression] 0 or more occurrences of an expression pre-
ceded with a comma.
For each axis number there is a corresponding expression.
The 1st (left most) expression is associated with the low-
est axis number, the 2nd with the next lowest, etc.
COMMAND(2,3,7)=1.1,2.2,3.3 does the same as
COMMAND=,1.1,2.2,,,,3.3 but is less prone to errors since
there is no need to put all those commas in the right place.
Syntax example:
ACCEL(3,4) = 100,200
sets ACCEL for axis 3 to 100 units and axis 4 to
200 units.
COMMAND(axis)
Execute the command on the specified axis. This command
syntax returns data and is used in an expression.
Syntax example:
X = DECEL(1)
Sets X equal to the DECEL value of axis 1.
COMMAND(n [,m] )
Execute the command, on the 1 or more specified axes.
n
axis number, which is a whole number constant in the
range 1 to N, where N is the number of axes in the con-
troller: 2,4,6 or 8.
[,m]
0 or more occurrences of axis number preceded with a
comma.
Syntax examples:
WAITDONE(2,3)
waits for axis 2 and 3 to finish motion
STOP(1,3)
stops motion on axes 1 & 3










