13.FUNCTIONS TO SIMPLIFY PROGRAMMING PROGRAMMING B-63324EN/03
- 314 -
- Miscellaneous function
When the G88 command and an M code are specified in the same block,
the M code is executed at the time of the first positioning operation.
When L is used to specify the number of repeats, the M code is
executed for the first hole only; for the second and subsequent holes,
the M code is not executed.
- Tool length compensation
When a tool length offset (G43, G44, or G49) is specified in the canned
cycle, the offset is applied at the time of positioning to point R.
Limitation
- Axis switching
Before the drilling axis can be changed, the canned cycle must be
canceled.
- Drilling
In a block that does not contain X, Y, Z, R, or any other axes, drilling is
not performed.
- R
Specify R in blocks that perform drilling. If it is specified in a block
that does not perform drilling, it cannot be stored as modal data.
- Cancel
Do not specify a G code of the 01 group (G00 to G03 or etc.) and G88
in a single block. Otherwise, G88 will be canceled.
- Tool offset
In the canned cycle mode, tool offsets are ignored.
Example
M3 S2000 ; Cause the spindle to start rotating.
G90 G99 G88 X300. Y-250. Z-150. R-100. P1000 F120. ;
Position, drill hole 1, return to point R
then 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 return
M5 ; Cause the spindle to stop rotating.