FANUC Series 16/18/160/180-Model C for Lathe Operator Manual

PROGRAMMING
16. CUSTOM MACRO
B–62754EN/01
280
NOTE
System variables #2001 to #2964 can also be used to
determine Y–axis wear or geometry compensation values
No. 1 to 49, X–axis or Z–axis geometry compensation
values No. 1 to 49, and other compensation values No. 1 to
64.
Table 16.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
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.”
Time information can be read and written.
Table 16.2(e) System variables for time information
Variable
number
Function
#3001 This variable functions as a timer that counts in 1–millisecond
increments at all times. When the power is turned on, the
value of this variable is reset to 0. When 2147483648 milli-
seconds is reached, the value of this timer returns to 0.
#3002 This variable functions as a timer that counts in 1–hour incre-
ments when the cycle start lamp is on. This timer preserves
its value even when the power is turned off. When
9544.371767 hours is reached, the value of this timer returns
to 0.
#3011 This variable can be used to read the current date (year/
month/day). Year/month/day information is converted to an
apparent decimal number. For example, March 28, 1993 is
represented as 19930328.
#3012 This variable can be used to read the current time (hours/min-
utes/seconds). Hours/minutes/seconds information is con-
verted to an apparent decimal number. For example, 34 min-
utes and 56 seconds after 3 p.m. is represented as 153456.
D Macro alarms
D Time information

Leave a Reply

Your email address will not be published. Required fields are marked *