3. HIGH–SPEED RESPONSE
(Power Mate i–H)
1 DO ranges cannot overlap.
If the following program is specified, the compile error 0124
occurs when the compile is done.
2 Branches must not be made to a location within a loop.
3 Arithmetic and logic operation can not be specified in the
right of an equation of condition.
WHILE[#i EQ #i+1] …NG
WHILE[#i EQ #j] …OK
4 When DOn is specified without specifying the WHILE
statement, the compile error 0124 occurs.
WHILE […] DO1;
WHILE […] DO2;
IF […] GOTO n;
WHILE [D] DO1;
In order to refer to the value of a variable in a motion program, specify
a word address followed by the variable number. The value of a macro
variable can be referred just to specify the position, the distance or the feed
G90 G00 X#i ; …OK
G91 G01 X#i F#j ;…OK
Referring to Variables