
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
1154
[Description]
The workpiece origin offset recorded in the CNC can be read.
A workpiece origin offset is provided for each controlled axis (the first
axis to the eighth axis) in the CNC. Either the workpiece origin offset for
a specific axis can be read, or the workpiece origin offsets for all axes can
be read at one time. If the additional axis option is not provided, however,
the workpiece origin offset for the additional axis cannot be read.
[Input data structure]
Top address + 0
2
4
6
8
10
(Function code)
15
(Completion code)
—
(Need not be set)
(Data length)
—
(Need not be set)
(Data number)
N
(N = 0 to 6)
(Data attribute)
M
(M = axis number)
(Data area)
—
(Need not be set)
XX
42
N = 0: External workpiece origin offset
N = 1: G54
··
··
N = 6: G59
With “addition of workpiece coordinate system pair”
N=7 : G54.1 P
1
·
·
N=306 : G54.1 P
300
M = 1 to n: Workpiece origin offset number of a
specific axis. n is the axis number.
M = –1: Read for all axes
B.4.4
Reading a Workpiece
Origin Offset Value
(not Supported by the
Power Mate–D or –F)