Fanuc Power Mate i-D/H Operator Manual

3. HIGH–SPEED RESPONSE
FUNCTION
PROGRAMMING
(Power Mate i–H)
B–63174EN/03
275
NOTE
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.
Example)
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;
Processing
WHILE [] DO2;
Processing
END2;
END1;
IF [] GOTO n;
:
WHILE [D] DO1;
:
NnD;
:
END1;
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
rate.
Example)
G90 G00 X#i ; OK
G91 G01 X#i F#j ;OK
3.4.2
Referring to Variables

Leave a Reply

Your email address will not be published. Required fields are marked *