
PROGRAMMING15. CUSTOM MACRO
B–64114EN/01
260
Both variables #2000 to #2999 and variables #10000 to #19999 can be
used.
Table 15.2 (b) System variables for tool compensation memory C
X axis
compensation
value
Z axis
compensation
value
Tool nose radius
compensation
value
tool nose
Y axis
compensation
value
Wear
Geome-
try
Wear
Geome-
try
Wear
Geome-
try
position T
Wear
Geome-
try
1
:
49
:
64
#2001
:
:
:
#2064
#2701
:
#2749
#2101
:
:
:
#2164
#2801
:
#2849
#2201
:
:
:
#2264
#2901
:
:
:
#2964
#2301
:
:
:
#2364
#2401
:
#2449
#2451
:
#2499
Table 15.2 (c) System variables for 99 tool compensation values
X axis
compensation
value
Z axis
compensation
value
Tool nose radius
compensation
value
tool nose
Y axis
compensation
value
Wear
Geome-
try
Wear
Geome-
try
Wear
Geome-
try
position T
Wear
Geome-
try
1
:
:
64
#10001
:
:
#10064
#15001
:
:
#15064
#11001
:
:
#11064
#12001
:
:
#12064
#12001
:
:
#12064
#17001
:
:
#17064
#13001
:
:
#13064
#14001
:
:
#14064
#19001
:
:
#19064
A workpiece coordinate system shift amount can be read. The amount can
also be changed by entering a value.
Controlled axis Workpiece coordinate system shift amount
X axis #2501
Z axis #2601
Table 15.2 (d) 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 mes-
sage 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.”
D Tool compensation
values
D Workpiece coordinate
system shift amount
D Macro alarms