
3/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
0113 This error occurs when one of the following commands is specified.
• The macro variable ‘#’ is specified for G code.
Example) G#1000000
• The macro variable ‘#’ is specified for M code.
Example) M#1000000
• The macro variable ‘#’ is specified for the optional block skip
number.
Example) /#1
• The macro variable ‘#’ is specified for the parameter of the M
code output function.
Example) M____ P____ Q#____
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 ; ;