
13. Program Support Functions
13.1 Fixed Cycles
280
Example of program
(Example 1)
G82 Zz
1
Rr
1
Pp
1
Ff
1
L0 ;
Record only the hold machining data
(Do not execute)
Xx
1
Yy
1
;
Execute hole drilling operation with G82 mode
The No. of canned cycle repetitions is designated with L. If L1 is designated or L not designated,
the canned cycle will be executed once. The setting range is 1 to 9999.
If L0 is commanded, only the hole machining data will be recorded.
G8
Δ
(7
Δ
) Xx
1
Yy
1
Zz
1
Rr
1
Pp
1
1
Ff
1
Ll
1
;
The ideology of the data differs between the absolute value mode (G90) and incremental value
mode (G91) as shown below.
Z axis
absolute
value
zero point
R point
R
Z
R point
R
Z
Absolute value mode (G90)
Incremental value mode (G91)
Designate a command value with a symbol for X, Y and Z. R indicates the coordinate value from
the zero point in the absolute value mode, so a symbol must always be added. However, in the
incremental value the symbol will be ignored and will be viewed as the same symbol as for Z. Note
that the symbols will be viewed in reverse for G87.
The hole machining data is held as shown below in the canned cycle. The hole machining data is
canceled when the G80 command or G commands (G00, G01, G02, G03, G2.1, G3.1, G33) in the
01 group are reached.
(Example 2)
N001 G81 Xx
1
Yy
1
Zz
1
Rr
1
Ff
1
;
N002 G81 ;
Only selection of canned cycle sequence
N003 Xx
2
Yy
2
;
Change of positioning point, and execution of canned cycle
N004 M22 ;
Execution of only M22
N005 G04 Xx
3
;
Execution of only dwell
N006 G92 Xx
4
Yy
4
;
Execution of only coordinate system setting
N007 G28 (G30) Z0 ;
Execution of only reference position (zero point) return
N008 ;
No work
N009 G99 Zz
2
Rr
2
Ff
2
L0 ;
Execution of only hole machining data recording
N010 Xx
5
Yy
5
Ll
5
;
Change of positioning point, and execution of R point return canned
cycle for I
5
times
N011 G98 Xx
6
Yy
6
Zz
6
Rr
6
;
Change of positioning point, and execution of canned cycle
N012 Ww
1
;
Execute W axis according to 01 group modal before N001, and then
execute canned cycle