37196-8000
MACROS
June 1999
Last Block (MODAL) Address Data
#4101-#4126 Address codes A..Z (excluding G) are also maintained as modal values. The modal
information represented by the last block interpreted by the lookahead process is con
tained in variables 4101 through 4126. The numeric mapping of variable numbers to
alphabetic addresses corresponds to the mapping under alphabetic addresses. For
instance, the value of the previously interpreted D address is found in #4107 and the last
interpreted I value is #4104.
Last Target Position
#5001-#5005 The final programmed point, target position, for the most recent motion block can be
accessed through variables #5001-#5005, X, Y, Z, A, and B, respectively. Values are given
in the current work coordinate system and can be used while the machine is in motion.
Current Machine Coord Position
#5021-#5025 The current position in machine coordinates can be obtained through #5021-#5025, X, Y, Z,
A, and B, respectively. The values CANNOT be read while the machine is in motion. #5023
(Z) represents the value after tool length compensation has been applied.
Current Work Coord Position
#5041-#5045 The current position in the current work coordinates can be obtained through #5041-5045,
X, Y, Z, A, and B, respectively. The values can NOT be read while the machine is in
motion. #5043 (Z) represents the value after tool length compensation has been applied.
Current Skip Signal Position
#5061-#5065 The position where the last skip signal was triggered can be obtained through #5061-
#5065, X, Y, Z, A, and B, respectively. Values are given in the current work coordinate
system and can be used while the machine is in motion. #5063 (Z) represents the value
after tool length compensation has been applied.
Tool Length Compensation
#5081-#5085 The current total tool length compensation that is being applied to the tool is returned. This
includes tool length offset referenced by the current modal value set in H (#4008) plus the
wear value.