Programming instructions
NC Programming 17VRS Motion Blocks
4-23
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
Example of Programming Using Absolute Dimension Input (G90)
G00 G90 G54 G06 G08 Motion commands, interpolation conditions
X0 Y0 Z10 S5000 M03 Starting position, spindle ON
G01 X40 Y20 Z5 F2000 [P1] Z axis to safety distance
Z-2.5 Z axis to machining depth
X40 Y30 [P2] starting point of half coil
G02 X85 Y30 I62.5 J30 Z-5 [P3] helix in clockwise direction
G01 X85 Y10 [P4] traverse X and Y until clear
G00 Z5 Z axis to safety distance
M05 Spindle OFF
X0 Y0 Z10 Return to starting position
RET Return to program beginning
Example Helical interpolation in the X-Y plane with G91
20
40
60
80
100
20 40 60 80 100
X
Y
20
40
60
80
100
X
Z
-10010
[
P1
]
[
P2
]
[
P3
]
[
P4
]
[
P1
]
[
P4
]
CP
J=0
I=22.5
Fig. 4-31: Helical interpolation with G91
Example of Programming Using Absolute Dimension Input (G91)
G00 G90 G54 G06 G08 Motion commands, interpol. conditions
X0 Y0 Z10 S5000 M03 Starting position, spindle ON
G91 G01 X40 Y20 Z-5 F2000 [P1] Z axis to safety distance
Z-7.5 Z axis to machining depth
Y10 [P2] starting point of half coil
G02 X45 I22.5 J0 Z-2.5 [P3] helix in clockwise direction
G01 Y-20 [P4] traverse X and Y until clear
G00 Z10 Z axis to safety distance
M05 Spindle OFF
X-85 Y-10 Z5 Return to starting position
RET Return to program beginning