
B-63983EN/02 5.WINDOW FUNCTIONS
- 501 -
5.5.10 Reading the Remaining Travel (High-speed Response)
[Description]
The remaining travel of the machine along an axis controlled by the
CNC can be read. The read value equals the remaining travel
indicated on the current position display screen on the CNC. (This
screen can be called by pressing the function key <POS>.)
[Input data structure]
Top address + 0
2
4
6
8
10
(Function code)
75
(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: Reads the remaining travel along
each axis. n is an axis No.
M =
-
1: Reads the remaining travel along all
axes.
[Completion codes]
0: The remaining travel along the controlled axis has been read
normally.
4: The specified data attribute is invalid. That is, a value other than
-1 and 1 to n (number of axes) was specified, or the specified axis
No. was greater than the number of controlled axes.