Programming instructions

3-8
Motion Commands, Dimension Inputs NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
CAUTION
The programmable zero offsets G50 and G51 become
inactive when G52, G53, G54 ... G59 are programmed.
Adjustable Zero Offsets 'G54 ... G59'
The adjustable zero offsets are entered in the zero offset table for those
axes which are present using the user interface.
The entered values function as an absolute offset relative to the machine
zero point. The calculation is performed after programming G54 …G59 in
the same NC NC-block if the respective axis is programmed. G54 ... G59
is canceled by G53 or G52.
Depending on the setting in the process parameters, the adjustable
zero offsets G54 …G59 can be the power-on default and the initial
setting when the NC-program boots.
Example
X
X
Y
Y
Enter in the Zero Offset
Table in the
20
40
60
80
100
20 40 60 80 100 120
20
40
60
80
20 40 60 80 100 120
with G54 :
User Inteface
X52.1 Y48.8
[P1]
[P2]
[P3]
[P4]
[P5]
Fig. 3-8: Adjustable zero offset G54
G00 G90 G54 X0 Y0 Z10 S1000 M03 Starting position [P1]
G01 X50 Y50 F1000 [P2]
BSR .DRILL Branch to drilling subroutine
X70 Y60 [P3]
BSR .DRILL Branch to drilling subroutine
X90 Y70 [P4]
BSR .DRILL Branch to drilling subroutine
X110 Y80 [P5]
BSR .DRILL Branch to drilling subroutine
M05 Spindle OFF
RET End of program
.DRILL Drilling subroutine
G01 Z-10 F300 Drill to depth Z
G04 F2 Dwell time 2 seconds
Z3 Return to safety distance
RTS Return of subroutine