FANUC Series 16/18/160/180-Model C Machining Center Operators Manual

PROGRAMMING
16. CUSTOM MACRO
B–62764EN/01
380
Example:
When #1=#4001; is executed, the resulting value in #1 is 0, 1, 2, 3, or
33.
If the specified system variable for reading modal information
corresponds to a G code group which cannot be used, a P/S alarm is
issued.
Position information cannot be written but can be read.
Table 16.2(k) 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–#5088 Tool length offset
value
Disabled
#5101–#5108 Deviated servo
position
S The first digit (from 1 to 8) represents an axis number.
S The tool length offset value currently used for execution rather than the
immediately preceding tool offset value is held in variables #5081 to
5088.
S The tool position where the skip signal is turned on in a G31 (skip
function) block is held in variables #5061 to #5068. When the skip
signal is not turned on in a G31 block, the end point of the specified
block is held in these variables.
S When read during movement is ”disabled,” this means that expected
values cannot be read due to the buffering (preread) function.
D Current position

Leave a Reply

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