G-Code Gcode for Tapping Metric M4 x 0.7 Holes

G code examples
Post Reply
User avatar
siteadmin
Site Admin
Posts: 22
Joined: Sat Jan 21, 2017 10:16 pm

G-Code Gcode for Tapping Metric M4 x 0.7 Holes

Post by siteadmin » Mon May 01, 2017 4:10 pm

M4 x 0.7 Tapping code

Code: Select all

( Compression Tapping head )
( Tap Metric M4 x 0.7 )
( 14mm depth )
( Pathpilhot seting to Hi speed, belt to the top position )
( Tormach PCNC1100 )
( Calculation to obtain metric plung feed rate 0.7 x 300 = feedrate of 210 mm/s)
( 300 Rpm is the ideal value )
( Tap pitch x rpm = plunge rate )


G90
( Absolute Positioning witrh reference to zero, G91 would be incremental positioning in which case we can move the head value, like in a loop inc X100 )

G00 X0Y0Z5
( Z5 is safe Z)

G00 X28.5000 Y7.5000
( go to the hole location )

(Start spindle at 250 Rpm Clockwize)
M03 S250

G01 Z-14 F175 
( Plunge down at F175 worked out better than 210 after adjustments )

M04 S250
(Reverse spindle at 250 Rpm)

G4 P0.5
( Paude motion half a second to allow the spindle to revearse direction )

G01 Z5 F175
( Revearse out of the thread )

G00 Z5
( Retract to save Z )

M05
( Turn off the spindle )

M30
( End of Program, Rewind and Reset Modes ) 


Post Reply

Return to “G-Code”

Who is online

Users browsing this forum: No registered users and 1 guest