9 NC Programming Routines
9.6 Canned Cycle Programming
140
The use of the G85 code is shown in following example.
NC Code Example:
G0X1Y1Z.1; RAPID TO 1, 1, .1
G85G98Z-.5R0F2; BORE TO DEPTH OF -.5, RAPID TO INITIAL POINT FROM POINT R
G80; CANCEL CANNED CYCLE
M2; END PROGRAM
Code
Explanation
G85G98Z-.5R0F2;
BORE TO DEPTH OF -
.5, RAPID TO INITIAL
POINT FROM POINT R
G85
BORING CYCLE
G98
Rapid move to initial tool position after canned
cycle complete.
Z-.5
Drill to depth of 0.5 inches
R0
Retract to Z0 after canned cycle complete.
F2
Feed rate of 2 inches per minute.
Example Motion
The tool path generated by the example code would be as below.
9.6.6.
G86: Straight Drilling with Spindle Stop
The G86 code is similar to the G82 code (see
9.6.3 G82: Straight Drilling with Dwell, pg. 138) except that
the spindle rotation stops at the bottom of the hole. The dwell (optional) allows the spindle to come to a
complete stop before the tool rapids back to the initial point.
An example of the use of the G86 code is shown below.