Page
Chapter: 6
Section:
PROGRAMMING
31
Example and way to operate
A hole is to be tapped 20 mm deep with a thread pitch of 0.5 mm at a tap-in speed
of 300 rpm and tap-out speed of 600 rpm.
The spindle encoder has 1000 lines and its pulses require a x4 multiplying factor.
Also, due to spindle backlash, it must turn 20 pulse units at the bottom of the tap.
It also requires a 100 millisecond dwell at the bottom of the tap.
The following CNC machine parameters must be set accordingly:
P63(3)=1
The machine uses rigid tapping.
P60(8)=0
Enable the Y function
P77=1000
Spindle encoder line count (number of pulses)
P61(6)=0
Feedback multiplying factor for Y (S)
P32=100
100 millisecond dwell at the bottom of the tap.
The tapping program looks like this:
N000 M3
Start the spindle clockwise.
N010 P19 K20
Additional spindle movement at the bottom
of the tap.
N020 G84 X20 Y0.5 F300 S600 Definition of the canned cycle.
N030 M30
End of program.
The CNC carries out the following machining steps:
1.- Tap-in movement with the spindle turning at 300 rpm.
The X axis moves to
X 20.000
The Y (S) axis moves toY 40.000 (20000 x 0.5 x 1000 x4)
2.- Once at the bottom of the tap, the spindle moves the amount indicated by
arithmetic parameter P19, 20 pulses.
The Y (S) moves to Y 40.020
3.- 100 millisecond dwell as indicated by machine parameter P32.
4.- Tap-out move to clear the tap with the spindle turning at 600 rpm.
The X axis moves 20mm
up to
X 00.000
The Y (S) axis moves (20000 x 0.5 x 1000 x4)
up to
Y 00.020
5.- Recovery of the additional move made at the bottom of the tap
The Y (S) axis moves up to Y 00.000
6.- End of tap and end of program.
OTHER FUNCTIONS