
B-63983EN/02 5.WINDOW FUNCTIONS
- 485 -
5.5.3 Reading the Machine Position (Machine Coordinates) of
Controlled Axes (High-speed Response)
[Description]
The machine coordinates of CNC-controlled axes for movement can
be read. The read value equals the machine coordinate indicated on
the current position display screen displayed in the CNC. (This screen
can be displayed by pressing the function key POS.)
[Input data structure]
Top address + 0
2
4
6
8
10
(Function code)
28
(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: Machine coordinate of a specific
axis. n is the axis number.
M =
-
1: Coordinates of all axes
CAUTION
When an inch machine is used in metric input, or
when a millimeter machine is used in inch input, the
machine position that is read with bit 0 of parameter
No. 3104 set to 1 differs from the value indicated by
the CNC. In this case, therefore, the value read
through the ladder must be calculated (converted).