
B. WINDOW FUNCTION DESCRIPTION
(PMC–PA1/PA3/SA1/SA2/SA3/SA5/SB/
SB2/SB3/SB4/SB5/SB6/SB7/SC/SC3/SC4)
B–61863E/15
APPENDIX
1186
[Description]
When a block of the skip operation (G31) is executed by the CNC and the
skip signal goes on to stop the machine, the absolute coordinates of the
stop position on the axes of movement can be read.
[Input data structure]
Top address + 0
2
4
6
8
10
(Function code)
29
(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: Skip coordinate on a specific axis.
n is the axis number.
M = –1: Coordinates on all axes
[Completion codes]
0 : The coordinates of the skip stop position for the controlled axes
have been read normally.
4 : Data specified for 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.
B.4.18
Reading a Skip
Position (Stop Position
of Skip Operation
(G31)) of Controlled
Axes