Programming instructions
NC Programming 17VRS Motion Commands, Dimension Inputs
3-13
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
Programmed Workpiece Zero Point 'G52'
A workpiece zero point can be programmed as the axis position for all
axes which are present using programmed workpiece zero point G52.
When G52 is performed, the coordinate values to which the G52
command applies are assigned to the current position. This corresponds
to the definition of the workpiece zero point relative to the current position.
•
Axes which are not programmed using G52 work in the machine coor-
dinate system.
•
Programming G52 produces a G53 when the change occurs. All zero
offsets which are already active are canceled.
•
No further functions may be programmed in a NC-block containing
G50.
•
Coordinate rotation P cannot be programmed in combination with G52.
Example
X
Y
20
40
60
80
20 40 60 80 100 120
X
Y
20
40
60
80
100
20 40 60 80 100
X
Y
20
40
60
80
100
20 40 60 80 100
G52 X0 Y0
G52 X-70 Y0
The entry in the zero offset table
with G52 would be: X90 Y30
P1
P2
P3
P4
P5
P1
P2
P3
P4
P5
NPV-Tab.
X20 Y30
Fig. 3-13: Call
G52
G90 G53 G00 X20 Y30
G52 X0 Y0 Call G52
BSR .CONT Branch to the subroutine
G52 X-70 Y0 Call G52
BSR .CONT Branch to the subroutine
RET
.CONT Subroutine
G00 X0 Y0 [P1]
G01 X40 Y20 F1000 [P2]
X100 [P3]
Y80 [P4]
X40 [P5]
Y20 [P2]
G00 X0 Y0
RTS Return to main program