
B–61863E/15
B. WINDOW FUNCTION DESCRIPTION
(PMC–PA1/PA3/SA1/SA2/SA3/SA5/SB/
SB2/SB3/SB4/SB5/SB6/SB7/SC/SC3/SC4)
APPENDIX
1245
[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 button 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)
XX
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 beenread
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.
B.4.46
Reading the Remaining
Travel