Programming instructions
NC Programming 17VRS Motion Blocks
4-33
DOK-MTC200-NC**PRO*V17-ANW1-EN-P
NC-program using G63 and G64:
Spindle stopped at the beginning of the G63 NC-block
Spindle continues to turn after end of motion
G00 G54 G90 G06 G08 X0 Y0 Z10 Motion commands, interpolation
conditions
G01 X40 Y50 F2000 [P1] 1st tapping position
BSR .GEBO Branch to tapping subroutine
X55 Y80 [P2] 2nd tapping position
BSR .GEBO Branch to tapping subroutine
X75 [P3] 3rd tapping position
BSR .GEBO Branch to tapping subroutine
X90 Y50 [P4] 4th tapping position
BSR .GEBO Branch to tapping subroutine
M05 Spindle OFF
G00 X0 Y0 Return to starting point
RET Return to program beginning
.GEBO Tapping subroutine
G63 Z-7.5 F2 S1000 M03 Tap to depth Z
G64 Z10 F2 S800 M04 Back out tap
RTS Return from subroutine
Spindle already stopped at the beginning of the G63 NC-block
Spindle continues to turn after end of motion
G00 G54 G90 G06 G08 X0 Y0 Z10 Motion commands, interpolation
conditions
G01 X40 Y50 F2000 M03 S1000 [P1] 1st tapping position, spindle ON
BSR .GEBO Branch to tapping subroutine
X55 Y80 M03 S1000 [P2] 2nd tapping pos., spindle ON
BSR .GEBO Branch to tapping subroutine
X75 M03 S1000 [P3] 3rd tapping position, spindle ON
BSR .GEBO Branch to tapping subroutine
X90 Y50 M03 S1000 [P4] 4th tapping position, spindle ON
BSR .GEBO Branch to tapping subroutine
M05 Spindle OFF
G00 X0 Y0 Return to starting point
RET Return to program beginning
.GEBO Tapping subroutine
G63 Z-7.5 F2 Tap to depth Z
G64 Z10 F2 S800 M04 Back out tap
RTS Return from subroutine
Floating Tapping 'G65' - Spindle as Lead Axis
The function G65 can be used to tap threads with main spindles which
can be positioned but cannot interpolate under position control. In addi-
tion, G65 is used on main spindles which are driven indirectly and in
cases which the position encoders are not located directly on the spindle.
A compensating chuck is usually used with tapping per G65. The feed
distance which is programmed in conjunction with G65 is dependent on
the main spindle position. However, because of the inherent system-re-
lated delay, the feed will always lag behind the main spindle. This delay is
twice as long when there is a change in the direction of rotation. It is al-
ways preferable to use the functions G63/G64 for tapping without com-
pensating chuck.
M05
Spindle STOP
G65 <feed distance per spindle rotation [F]>
Activate tapping
S500 M03
RPM and direction of
rotation
Z-10
Tap to depth
Z
Z10 S800 M04
Back out tap
Syntax