13. Program Support Functions
13.1 Fixed Cycles
274
Precautions for using canned cycle
(1) Before the canned cycle is commanded, the spindle must be rotating in a specific direction
with an M command (M3 ; or M4 ;).
Note that for the G87 (back boring) command, the spindle rotation command is included in the
canned cycle so only the rotation speed command needs to be commanded beforehand.
(2) If there is a basic axis, additional axis or R data in the block during the canned cycle mode, the
hole drilling operation will be executed. If there is not data, the hole will not be drilled.
Note that in the X axis data, if the data is a dwell (G04) time command, the hole will not be
drilled.
(3) Command the hole machining data (Q, P, I, J, K) in a block where hole drilling is executed.
(Block containing a basic axis, additional axis or R data.)
(4) The canned cycle can be canceled by the G00 to G03 or G33 command besides the G80
command. If these are designated in the same block as the canned cycle, the following will
occur.
(Where, 00 to 03 and 33 are m, and the canned cycle code is n)
Gm Gn X___Y___Z___R___Q___P___L___F___;
Execute Ignore Execute Ignore Record
Gm Gn X___Y___Z___R___Q___P___L___F___;
Ignore Execute Ignore Record
Note that for the G02 and G03 commands, R will be handled as the arc radius.
(5) If an M function is commanded in the same block as the canned cycle command, the M code
and MF will be output during the initial positioning. The next operation will be moved to with
FIN (finish signal).
If there is a No. of times designated, the above control will be executed only on the first time.
(6) If another control axis (ex., rotary axis, additional axis) is commanded in the same block as the
canned cycle control axis, the canned cycle will be executed after the other control axis is
moved first.
(7) If the No. of repetitions L is not designated, L1 will be set. If L0 is designated in the same block
as the canned cycle G code command, the hole machining data will be recorded, but the hole
machining will not be executed.
(Example)
G73X___Y___Z___R___Q___P___F___L0___;
Execute Record only code having an address
(8) When the canned cycle is executed, only the modal command commanded in the canned
cycle program will be valid in the canned cycle subprogram. The modal of the program that
called out the canned cycle will not be affected.
(9) Other subprograms cannot be called from the canned cycle subprogram.
(10) Decimal points in the movement command will be ignored during the canned cycle
subprogram.
(11) If the No. of repetitions L is 2 or more during the incremental value mode, the positioning will
also be incremented each time.
(Example)
G91G81X10. Z
−
50.R
−
20.F100.L3 ;
X
Z
10.
10.
10.