B-63983EN/02 5.WINDOW FUNCTIONS
- 483 -
5.5.2 Reading the Absolute Position (Absolute Coordinates) of
Controlled Axes (High-speed Response)
[Description]
The absolute coordinates of the CNC-controlled axes for movement
can be read. The absolute coordinates indicate those after cutter
compensation or tool length compensation.
[Input data structure]
Top address + 0
2
4
6
8
10
(Function code)
27
(Completion code)
-
(Need not be set)
(Data length)
-
(Need not be set)
(Data number)
0
(Data attribute)
M
(M = Axis number)
(Data area)
-
(Need not be set)
»»
42
M = 1 to n: Absolute coordinate of a specific
axis. n is the axis number.
M =
-
1: Coordinates of all axes
[Completion codes]
0: The absolute coordinates of the controlled axes have been read
normally.
4: Data specified as the data attribute is invalid because it is neither -1
nor a value from 1 to n (n is the number of axes). Alternatively,
the specified axis number is greater than the number of controlled
axes.