
PROGRAMMING
13. FUNCTIONS TO SIMPLIFY
PROGRAMMING
B–64114EN/01
140
NOTE
1 Since data values of X (U), Z (W) and R during canned cycle are
modal, if X (U), Z (W), or R is not newly commanded, the previously
specified data is effective. Thus, when the Z axis movement
amount does not vary as in the example below, a canned cycle can
be repeated only by specifying the movement commands for the
X–axis.
However, these data are cleared, if a one–shot G code expect for
G04 (dwell) or a G code in the group 01 except for G90, G92, G94
is commanded.
The cycle in the above figure is executed by the following program.
N030 G90 U–8.0 W–66.0 F0.4 ;
N031 U–16.0 ;
N032 U–24.0 ;
N033 U–32.0 ;
2 The following two applications can be performed.
(1) If an EOB or zero movement commands are specified for the
block following that specified with a canned cycle, the same
canned cycle is repeated.
(2) If the M, S, T function is commanded during the canned cycle
mode, both the canned cycle and M, S, or T function can be
performed simultaneously. If this is inconvenient, cancel the
canned cycle once as in the program examples below (specify
G00 or G01) and execute the M, S, or T command. After the
execution of M, S, or T terminates, command the canned cycle
again.
(Example)
N003 T0101 ;
:
:
N010 G90 X20.0 Z10.0 F0.2 ;
N011 G00 T0202 ;
N012 G90 X20.5 Z10.0 ;
Z axis
16
12
8
4
0
66
X axis
Workpiece
(Example)