We switch to G01 and we use M29 to turn on Rigid Tapping. With this particular cycle, it expects feedrate in threads per inch (or mm in metric mode). Next we set spindle speed to 400 RPM and feedrate to 20. M03 to get the spindle moving in the right direction and M8 to turn coolant on.
Here’s the code to do that with G84 G Code: Let’s say we want to tap a 1/4-20 thread 0.500″ deep at 0, 0. M29 is the common way to do this on Fanuc controls, for example. On others, you must trigger a Rigid Tapping motion mode using another code. With some machines and controls, just simply using these cycles is sufficient for Rigid Tapping. – G74 G Code: Tapping of left hand threads to be done with M4 spindle rotation. – G84 G Code: Tapping of right hand threads to be done with M3 spindle rotation. The most common GCodes for Rigid Tapping Cycles are:
This is typically an extra-cost option for CNC Machines and is harder to come by on older machines. To use Rigid Tapping, your machine must support the synchronization of feed motion with the spindle speed.
How to Program Rigid Tapping With a G84 Canned Cycle – Long Form (no canned cycle is needed or used) programming when a Tapping Head or Tension-Compression Tap Holder is to be used on machines that do not have Rigid Tapping. – Tapping Cycles that can use the Rigid Tapping capabilities of your CNC Machine. In this article, we’ll be looking at two ways of programming tapping on a CNC: For more on the Feeds and Speeds as well as the different kinds of taps and tap holders, see our companion Tapping Feeds and Speeds article. Tapping is a common operation used to thread holes on CNC Machines. G84 g code is commonly used to program tapping. Employment Opportunity / RFQ (Request for Quote).G84 G Code: Programming Tapping Cycles in CNC CNCCookbook’s G-Code Tutorial Introduction: Tapping on CNC Machines with G84.Same alarm for different axis in case people are searching for this: 319 (X-axis), 329 (Y-axis), 339 (Z-axis) I'll double check the servo tuning screens in the morning and see if I can make sense of the reference position adjustment (section 5.3 of the 61395 maintenance manual), but would really appreciate any insights that people may have!
This system has the semi-closed loop servos ( Model Alpha C6/2000 Part: A06B-0126-B077) which uses the serial pulse coder and type-B axis controller (serial pulse coder connects to the servo amplifier over JF3) and there is just one cable (JS3A) to the axis controller (AXE). Parameters 770-772 are all 0 indicating no faults. The 760-762 parameters are all 1000 0100, so the SRFLG (serial pulse coder connected) and the BZAL (do zero reference return) request is set which seems to indicate that all is normal. I checked the encoder cable and the connector was a few threads loose, so I tightened it, power cycled, and still have the same problem. I power cycled the mill, but when I home the Z-axis, it decelerates when the limit switch dog is hit (as it should) and then slowly continues past Z=0.000 and then eventually generates the 530 Z+ over-travel alarm when it travels over the dog - it seems like the homing signal for Z=0 has been lost.
I have a Faunc 0-MD Mill (Lilian CNC 400) that was just starting a milling cycle and during the G53 Z0., the Z-axis halted suddenly and an alarm 339 Alarm for the Z-Axis SPC was generated.