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

PROGRAMMING
16. CUSTOM MACRO
B–62754EN/01
283
Modal information specified in blocks up to the immediately preceding
block can be read.
Table 16.2(i) System variables for modal information
Variable
number
Function
#4001
#4002
#4003
#4004
#4005
#4006
#4007
#4008
#4009
#4010
#4011
#4012
#4014
#4015
#4016
:
#4022
#4109
#4113
#4114
#4115
#4119
#4120
G00, G01, G02, G03, G33, G34 (Group 01)
G96, G97 (Group 02)
(Group 03)
G68, G69 (Group 04)
G98, G99 (Group 05)
G20, G21 (Group 06)
G40, G41, G42 (Group 07)
G25, G26 (Group 08)
G22, G23 (Group 09)
G80 – G89 (Group 10)
(Group 11)
G66, G67 (Group 12)
G54–G59 (Group 14)
(Group 15)
G17 – G19 (Group 16)
::
(Group 22)
F code
M code
Sequence number
Program number
S code
T code
Example:
When #1=#4001; is executed, the resulting value in #1 is 0, 1, 2, 3,
or 33.
When a modal information reading system variable corresponding to a G
code group which cannot be used is specified, a P/S alarm is issued.
Position information cannot be written but can be read.
Table 16.2(j) System variables for position information
Variable
number
Position
information
Coordinate
system
Tool com-
pensation
value
Read
operation
during
movement
#5001–#5008 Block end point Workpiece
coordinate
system
Not
included
Enabled
#5021–#5028 Current position Machine
coordinate
system
Included Disabled
#5041–#5048 Current position
Workpiece
coordinate
#5061–#5068 Skip signal position
coordinate
system
Enabled
#5081, #5082 Tool offset value
Disabled
#5101–#5108 Deviated servo
position
D Modal information
D Current position

Leave a Reply

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