Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
13. CUSTOM MACRO
B–63174EN/03
114
Modal information specified in blocks up to the immediately preceding
block can be read.
Table 13.2 (h) System variables for modal information
Variable number
Function
#4001
#4002
#4003
#4004
#4005
#4006
#4008
#4009
#4012
#4013
#4021
#4109
#4111
#4113
#4114
#4115
#4119
#4120
G00, G01, G02, G03 (Group 01)
G17, G18, G19 (Group 02)
G90, G91 (Group 03)
(Group 04)
G93, G94, G95, G145, G146 (Group 05)
G20, G21 (Group 06)
G43, G44, G49 (Group 08)
G73, G74, G76, G78–G89 (Group 09)
G65, G66, G67 (Group 12)
G96, G97 (Group 13)
G12.1 G13.1 (Group 21)
F code
H 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 or 3.
NOTE
#4009, #4013 and #4119 are available only for Power Mate
i–D/D2.
Position information cannot be written but can be read.
Table 13.2 (i) System variables for position information
Variable
number
Position
information
Coordinate
system
Tool off-
set 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–#5088 Tool offset value Disabled
#5101–#5108 Deviated servo
position
The first digit (from 1 to 8) represents an axis number.
The tool offset value currently used for execution rather than the
immediately preceding tool offset value is held in variables #5081 to
5088.
Modal information
Current position

Leave a Reply

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