Programming Chapter Three Commands and Functions
90
Example: G33 W-20 P3
;
the system detects 1-turn signal when the thread cutting is executed.
G33 W-30 P2; the system does not detect 1-turn signal when the thread cutting is
executed.
3.1.5 G32
—
Z Tapping Cycle
Command format
:
G32 Z (W) P (E)
;
Z(W)
—end point coordinates or length of tapping
P
—pitch of metric thread
E
—pitch of inch thread
G32 Z tapping process
1
.
Z feed
1. Stop the spindle
2. Wait for the spindle to stop completely.
3. Spindle rotates counterclockwise (opposite to the previous direction).
4. retract the tool to Z starting point of cycle.
5. Spindle
stops.
X
Z
Fig. 11 G32 tapping cycle
Example
:
Single thread with 1.5 mm lead
N0010 G00 X0 Z20
;
rapidly positioning the starting point of workpiece
N0020 M3 S01
;
spindle CW
N0030 G01 Z2 F500
;
Z approach the workpiece
N0040 G32 Z-30 P1.5
;
Z infeed tool
N0050 G00 Z20
;
leave the workpiece and return to program starting point
N0060 M02
;
end of program
Note 1:
Determine the spindle direction according to the possible tapping direction before
tapping. The spindle will stop after the tapping ends. Restart the spindle when
continuously machining.
Note 2:
G32 is for the rigid tapping. There is a deceleration time after the signal of spindle
stopping is valid. At the moment, Z feed will rotate along the spindle if the spindle does
not stop completely. Therefore, the actual bottom hole of machining is deeper than the
actual required. The actual depth should be determined by the spindle speed in tapping
and by whether the spindle’s brake is installed or not.
Note 3:
The other cautions are the same those of G33.
`