G31 Isn't Just for Probing Anymore
Here are two lesser-known ways to trigger the skip signal.
While the most common way to trigger the skip signal is with a spindle probe, there are at least two more, lesser-known ways to trigger the skip signal.
If you have used spindle probes, you know the skip function, specified with G31, is used to probe a surface. The probe stylus is first positioned within a small distance of a surface to be touched. A G31 command is given that will cause the stylus to make contact. Within microseconds of when the probe triggers, it sends a skip signal to the CNC that causes three things:
- Motion to stop.
- The balance of the motion command to be skipped.
- Axis positions to be stored in system variables, like #5061 (X), #5062 (Y) and #5063 (Z).
Consider this command, given right after the probe stylus has been programmed to move within 0.2 inch of the left (negative) side of an X-axis surface.
G91 G31 X0.3 F20.0
The X axis is being told to move 0.3 inch in X. Since the stylus is within 0.2 inch from the surface to start, it will contact the surface along the way. When the probe triggers, the CNC will halt motion and store the X position in system variable #5061.
While the most common way to trigger the skip signal is with a probe, there are at least two more, lesser-known ways to trigger the skip signal. As with a spindle probe, they require the machine builder or accessory device provider to integrate them, meaning you will need help to take advantage of the techniques introduced here.
Trigger the skip signal using changes in axis drive motor load.
Torque limit skip, as FANUC calls it, makes it possible to detect hazardous situations and stop the machine before catastrophe strikes. I offer two scenarios, but once you understand how this feature works, you will surely be able to come up with more.
In automation systems:
Most machines that have main- and subspindles automatically transfer the partially completed workpiece from the main spindle to the subspindle for additional machining. Once the main spindle is finished, the subspindle axis advances until its grippers/chuck jaws can grab the workpiece from the main spindle. The subspindle grippers clamp on the workpiece and the main-spindle jaws unclamp. The subspindle axis then retracts to its machining position and subspindle machining begins.
This method works well unless something gets in the way of the subspindle advancing motion, like chips caught between the workpiece and the subspindle grippers. In this case, the grippers may jam, causing gripper and/or machine damage. Or equally problematic, the process may finish with a chip jammed between the grippers and the workpiece.
If torque limit skip has been properly integrated, you can confirm that the grippers have fully advanced. If something is in the way, the load for the subspindle axis will increase above its norm, triggering the skip signal. In this case, the balance of the motion will be skipped before severe damage can occur. After the torque limit skip command (again, a G31), a test can be made to confirm that the value of the subspindle axis system variable (like #5065 if it is the machine’s fifth axis) is equal to the commanded end point. If it is not, a custom macro alarm can be sounded, which will stop the machine.
With cutting tools that are prone to breakage:
Consider a lathe cutoff tool. If the cutoff tool breaks during cutoff, it can cause damage to the tool and possibly to the machine. With flammable materials like magnesium and titanium, the related heat buildup will likely start a fire. You can include a torque limit skip (G31) command in the cutoff motion to confirm that the drive motor axis load for the cutoff axis does not increase past a known acceptable limit. If it does, the balance of the command is skipped and an alarm can be sounded, which will minimize the potential for tool/machine damage.
Trigger the skip signal using conductivity.
Touch sensor makes it possible to detect metallic surfaces on-the-fly. With it, you can use metallic (not ceramic) cutting tools to find workpiece surfaces. Consider, for example, spotfacing a 1-inch diameter hole 0.06-inch deep into a cast surface. Cast surfaces are notorious for varying from part to part. You could deal with the variation with a spindle probe, but this would take more time.
With touch sensor, you can use the spotfacing tool to detect the surface, eliminating the need for a spindle probe. Bring the (rotating) spotfacing tool to a safe approach position and then use G31 to command the spotfacing tool to move into the surface. As soon as the spotface touches, the skip signal will be generated. The CNC will stop motion and skip the balance of the motion. From there, specify an incremental move of 0.06 inch to spot face to the required depth.
As has been stated, you must contact your machine tool builder to have these features integrated with your CNC machine(s), and it will require an investment. But given the potential benefits, it may be well worth the cost and effort.
Any time saved by skipping preparation for programming can be easily lost when the program makes it to the machine. Follow these steps to ensure success.
Effectively commanding motion on most CNC machines requires more than describing how the CNC machine determines the end point position for each motion.
Though the thrust of this presentation is to teach you CNC usage, it helps to understand why these sophisticated machines have become so popular. Here are but a few of the more important benefits offered by CNC equipment.