
5.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63944EN-2/02
- 48 -
- Tool length compensation
When a tool length compensation (G43, G44, or G49) is specified in
the canned cycle for drilling, the offset is applied after the time of
positioning to point R.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle for drilling
must be canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any additional axes,
drilling is not performed.
- P/Q
Be sure to specify a positive value in Q. If Q is specified with a
negative value, the sign is ignored. Set the direction of shift in the
parameter (No.5148).
Specify P and Q in a block that performs drilling. If they are
specified in a block that does not perform drilling, they are not stored
as modal data.
CAUTION
Q (shift at the bottom of a hole) is a modal value
retained within canned cycles for drilling. It must
be specified carefully because it is also used as the
depth of cut for G73 and G83.
- Cancel
Do not specify a G code of the 01 group (G00 to G03) and G76 in a
single block. Otherwise, G76 will be canceled.
- Tool offset
In the canned cycle mode for drilling, tool offsets are ignored.
Example
M3 S500 ; Cause the spindle to start rotating.
G90 G99 G76 X300. Y-250.
Position, bore hole 1, then return to point R.
Z-150. R-120. Q5. Orient at the bottom of the hole, then shift by 5
mm.
P1000 F120. ; Stop at the bottom of the hole for 1 s.
Y-550. ; Position, drill hole 2, then return to point R.
Y-750. ; Position, drill hole 3, then return to point R.
X1000. ; Position, drill hole 4, then return to point R.
Y-550. ; Position, drill hole 5, then return to point R.
G98 Y-750. ; Position, drill hole 6, then return to the initial level.
G80 G28 G91 X0 Y0 Z0 ; Return to the reference position
M5 ; Cause the spindle to stop rotating.