PROGRAMMING
B–63664EN/02
13. CUSTOM MACRO
235
Table 13.2 (d) System variables for tool compensation memory C
Beam length compensation (H)
Cutter compensation
(D)
number
Geometric
compensation
Wear
compensation
Geomet-
ric com-
pensation
Wear
com-
pensation
1
:
200
:
999
#11001(#2201)
:
#11201(#2400)
:
#11999
#10001(#2001)
:
#10201(#2200)
:
#10999
#13001
:
:
#13999
#12001
:
:
#12999
Table 13.2 (e) System variable for macro alarms
Variable
number
Function
#3000 When a value from 0 to 200 is assigned to variable #3000,
the CNC stops with an alarm. After an expression, an alarm
message not longer than 26 characters can be described.
The CRT screen displays alarm numbers by adding 3000 to
the value in variable #3000 along with an alarm message.
Example:
#3000=1(TOOL NOT FOUND);
→ The alarm screen displays “3001 TOOL NOT FOUND.”
Execution of the program can be stopped, and then a message can be
displayed.
Variable
number
Function
#3006 When “#3006=1 (MESSAGE);” is commanded in the macro,
the program executes blocks up to the immediately previous
one and then stops.
When a message of up to 26 characters, which is enclosed
by a control–in character (“(”) and control–out character (“)”),
is programmed in the same block, the message is displayed
on the external operator message screen.
D Macro alarms
D Stop with a message