Programming instructions
3-4
Motion Commands, Dimension Inputs NC Programming 17VRS
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
Input Data as Incremental Values 'G91'
Incremental positioning defines all subsequent dimensional entries as
differences relative to the NC-block starting position.
G91 remains in effect until the end of the program or until it is overwritten
by G90.
Example
20
40
60
80
100
20 40 60 80 100 120 140
X
Y
[P1]
[P2]
[P3]
[P4]
Fig. 3-3: Input data as incremental values
G00 G90 G54 X0 Y0 Z3 S1000 M03 Starting position
G01 G91 X50 Y50 F500 [P1]
BSR .DRILL Branch to drilling subroutine
Y30 [P2]
BSR .DRILL Branch to drilling subroutine
X50 [P3]
BSR .DRILL Branch to drilling subroutine
Y-30 [P4]
BSR .DRILL Branch to drilling subroutine
M05 Spindle OFF
RET End of program
.DRILL Drilling subroutine
G01 Z-13 F300 Drill to depth Z
G04 F2 Delay 2 seconds
Z13 Return to safety clearance
RTS Return of subroutine