In CNC machining, the G86 code is used for precise boring operations. It allows the cutting tool to bore a hole, then retract rapidly to minimize the cycle time.
Usage Format
The standard format for the G86 command is as follows:
G86 X_ Y_ Z_ R_ F_ L_
Where:
- X and Y are the final hole position coordinates.
- Z is the depth to bore to.
- R is the position to retract to above the hole.
- F is the feed rate for the operation.
- L (optional) is the number of holes to bore if using a repeating pattern.
Explanation
When the G86 command is executed, the machine moves the tool to the specified X and Y coordinates. It then bores down to the Z depth at the specified feed rate F. Once the depth is reached, the tool retracts rapidly to the R position, allowing for quick withdrawal from the hole and reducing the time spent on each boring operation.
Example
Here’s an example of the G86 command in use:
G86 X50 Y25 Z-15 R5 F150 L2
This command will move the tool to the coordinates X50, Y25, bore down to a depth of Z-15 at a feed rate of 150, then retract rapidly to a height of R5 above the hole. The operation will be repeated for a total of 2 holes.