102
96-8000 Rev AC
May 2010
#4001-#4021 Last Block (Modal) Group Codes
The grouping of G codes permits more efficient processing. G codes with simi
-
lar functions are usually under the same group. For example, G90 and G91 are
under group 3. These variables store the last or default G code for any of 21
groups. By reading the group code, a macro program can change the behavior
of the G-code. If 4003 contains 91, then a macro program could determine that
all moves should be incremental rather than absolute. There is no associated
variable for group zero; group zero G codes are Non-modal.
#4101-#4126 Last Block (Modal) Address Data
Address codes A-Z (excluding G) are maintained as modal values. The in
-
formation represented by the last line of code interpreted by the lookahead
process is contained in variables 4101 through 4126. The numeric mapping of
variable numbers to alphabetic addresses corresponds to the mapping under
alphabetic addresses. For example, the value of the previously interpreted
D address is found in #4107 and the last interpreted I value is #4104. When
aliasing a macro to an M-code, you may not pass variables to the macro using
variables 1-33; instead, use the values from 4101-4126 in the macro.
#5001-#5005 Last Target Position
The final programmed point for the last 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 mo-
tion.
Axis Position Variables
#5021 X-axis
#5022 Y-axis #5023 Z-axis
#5024 A-axis
#5025 B-axis #5026 C-axis
#5021-#5025 Current Machine Coordinate Position
The current position in machine coordinates can be obtained through #5021-
#5025, X, Y, Z, A, and B, respectively. Values CANNOT be read while machine
is in motion. Value of #5023 (Z) has tool length compensation applied to it.
#5041-#5045 Current Work Coordinate Position
The current position in the current work coordinates can be obtained through
#5041-5045, X, Y, Z, A, and B, respectively. The values CANNOT be read while
the machine is in motion. The value of #5043 (Z) has tool length compensation
applied to it.
#5061-#5069 Current Skip Signal Position
The position where the last skip signal was triggered can be obtained through
#5061-#5069, X, Y, Z, A, B, C, U, V and W respectively. Values are given in the
current work coordinate system and can be used while the machine is in mo-
tion. The value of #5063 (Z) has tool length compensation applied to it.
Содержание 96-8000
Страница 15: ...6 96 8000 Rev AC May 2010 Mill Warning Decals ...
Страница 16: ...7 96 8000 Rev AC May 2010 Safety Lathe Warning Decals ...
Страница 41: ...32 96 8000 Rev AC May 2010 ...
Страница 93: ...84 96 8000 Rev AC May 2010 ...
Страница 129: ...120 96 8000 Rev AC May 2010 ...
Страница 133: ...124 96 8000 Rev AC May 2010 ...
Страница 268: ......
Страница 269: ......