
B-63983EN/02 5.WINDOW FUNCTIONS
- 429 -
5.4.4 Reading a Workpiece Origin Offset Value (High-speed
Response)
[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 32nd 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 = offset group number)
(Data attribute)
M
(M = axis number)
(Data area)
−
(Need not be set)
≈≈
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
·
·