
9/15
EDIT
DATE
DESIG.
DESCRIPTION
CUST.
SHEET
TITLE
DRAW.NO.
FANUC Power Mate i-MODEL H
OPERATOR’S MANUAL
Custom Macro in the high response mode
B-63174EN/02-02
NoteNote
1.1. DO ranges cannot overlapDO ranges cannot overlap..
If the following program is speciIf the following program is speciffied, the compile error 0124ied, the compile error 0124
occurs when the compile is done.occurs when the compile is done.
2. 2. Branches must not be made toBranches must not be made to a location within a loop.a location within a loop.
3.3. Arithmetic and logic operationArithmetic and logic operation cancan not not be speci be speciffiedied in the in the
right of an equation of condition.right of an equation of condition.
Example)
WHILE[#i EQ #i+1] •••NG
WHILE[#i EQ #j] •••OK
4. 4. When When DOn is speciDOn is speciffied without specifying the WHILEied without specifying the WHILE
statement,statement, the compile error 0124 occurs. the compile error 0124 occurs.
: :
WHILE [.....] DO1 ;;
: :
Nn..... ;;
: :
END1 ;;