System Variable
Tool Offset
Memory No.
#2001
01
X-axis
to
to
#2050
50
I
#2201
I
01
Tml Nose
Radius
to
I
to
#2250
50
System Variable
Tool Coordinate
Memofy No.
#2051
51
X-axis
to
to
#2099
80
#2151 ~
51
Z-axis
to
#2t~80
80
iii. When one of the above system variables is
specified to the left–hand side of an operational
expression, its value can be changed.
Sample Programs
#116 = #2016 ;
The contents of tool offset number 16 for X-axis
are substituted for common variable ?4116.
#2081 = #24 ;
The tool wear amount (memory No.
is erased and the contents of local
are set.
81) of X-axis
variable #24
d. Alarm Message Display ( #3000)
When a condition to be alarmed occurs in a user
macro program,
system variable #3000 may be
specified to put the machine in the alarm state.
i. #3000 = n ( <alarm message>);
Using this command, specify the alarm message
(less than 32 characters) preceded by a 3-digit
alarm number n and enclosed with control-in and
control–out symbols.
The alarm number should
be three digits and not be one used by the ma-
chine.
ii. When this #3000 command is executed, “ALM”
or “A/B” is displayed on the bottom of CRT
screen regardless of the mode and function.
Its message can be seen by the following opera-
tion:
Press ALM function key.
The alarm number and message and displaved on
the bottom of CRT screen. -
. .
‘ALARM
\
09100 NO054
I
I
USERS MESSAGE
E: :“A” o“iRd
550 MACRO ERROR:
t
“ALM “
Message
display area and
sample display
When RESET key is pressed after removal of the
cause of alarm, the message display and the alarm
state can be cleared.
Sample Program
#3000 = 550 (MACRO
FLOW )
ERROR :
DATA OVER-
73