
4/16
EDIT
DATE
DESIG.
DESCRIPTION
CUST.
SHEET
TITLE
DRAW.NO.
FANUC Power Mate i-MODEL H
CONNECTION MANUAL(FUNCTION)
Custom Macro in the high response mode
B-63173EN-1/01-27
0114 This error occurs when one of the following commands is specified.
• The brackets (“[”and “]”) are not in pairs for the IF or WHILE
statement.
Example) IF [ #1000000 EQ 1 GOTO 1 ;;
• ‘GOTO’ is not specified for the IF statement.
Example) IF [ #1000000 EQ 1] ;;
• ‘DO’ is not specified for the WHILE statement. A number after
‘DO’ is not specified for the WHILE statement.
Example) WHILE [ #1000000 EQ 1] ;;
WHILE [ #1000000 EQ 1] DO ;;
• EOB or EOR is not specified just after the conditional sentence.
Example) WHILE [ #1000000 EQ 1] DO1 G90 G00 X0 ;;
The executing command (NC sentence) and the
conditional sentence are specified in the same block.
• EOB or EOR is not specified just after the ‘ABS[ ]’.
Example) #1000000=ABS[ #1000000] + ABS[ #1000000] ;;
0116 The left side of substitution statement is a variable whose substitution
is inhibited.
Example) #5021=#1000000 ;;
0118 The nesting of bracket exceeds the upper limit
Example) #1200000=#[#[#1200004]] ; ;
0124 DO – END does not correspond to 1 : 1.
Example) WHILE [ #1000000 EQ 1] DO1 ;;
END2
0125
This error occurs when one of the following commands is specified.
• ‘=’ is not specified after ‘#________’ .
Example) #1000000 #1200000 ;;
• An operator is not specified for the WHILE statement or IF
statement.
Example) IF [ #1000000] GOTO 1 ;;
• A combination of ‘#’ and the brackets (“[” and “]”) is not
correct.
Example) #1000000 = #[#1200000 ;;
• The command ‘[# _____]’ for ABS is not correct.
Example) #1000000 = ABS[1200000] ; ;
#1000000 = ABS#1200000 ; ;
0126
The number for DO and END is not correct.
Example)WHILE[#1200000 EQ 1] DO4 ;;
END4 ;;
0128 The illegal macro sequence number is specified.
Example) GOTO 90000 ;;
N90000 ;;
1011 The macro variable after P in the G31 block is specified.
Example) G90 G31 P#1000000 X0 ;;