Programming instructions
NC Programming 17VRS Motion Commands, Dimension Inputs
3-11
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
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
[P1]
Zero Pt. Table No. 1
Entry in the ZO Table
with G54 :
X81.0 Y29.5
ZO Pt. Table
No. 0
Value
G54
X17.5
Y46.5
[P6]
[P2]
[P3]
[P4]
[P5]
[P7]
[P8]
Fig. 3-11: Calling 2 zero offset tables using G54
[Zero offset table no. 0 is active]
G00 G90 G54 X0 Y0 Z10 S1000 M03 Starting position [P1]
G01 X30 Y30 F1000 [P2]
BSR .DRILL Branch to drilling subroutine
Y70 [P3]
BSR .DRILL Branch to drilling subroutine
X70 [P4]
BSR .DRILL Branch to drilling subroutine
Y30 [P5]
BSR .DRILL Branch to drilling subroutine
[activate zero offset table no. 1]
O1
G00 G54 X0 Y0 Starting position [P6]
G01 X40 Y40 F1000 [P7]
BSR .DRILL Branch to drilling subroutine
X60 Y60 [P8]
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 F1000 Return to safety distance
RTS Return of subroutine