13. Program Support Functions
(2) Only those subprogram numbers ranging from 1 through 99999999 designated by the optional
specifications can be used.
(3) No distinction between main programs and subprograms is made since they are entered in the
sequence in which they were read. This means that main programs and subprograms should
not be given the same numbers. (If they are, error "E11" appears during entry.)
Registration example
;
O
................................
:
M99
%
O ∆∆∆∆
................................
:
M99
%
O * * * *
................................
:
M99
%
(4) Main programs can be entered in the memory or program by MDI operation but subprograms
must be entered in the memory.
(5) Besides the M98 command, subprogram nesting is subject to the following commands:
• G65
• G66
• G66.1
• G code call
• Miscellaneous function call (M, S, T, etc.)
• Macro interrupt
• MDI interrupt
• Automatic tool length measurement
• Multi-step skip function
(6) Subprogram nesting is not subject to the following commands which can be called even
beyond the 8th nesting level.
• Canned cycles
(7) When the subprogram is to be repeatedly used, it will be repeatedly executed for l
provided that "M98 Pp
;
;
Subprogram A
;
;
;
Subprogram B
;
;
;
Subprogram C
;
Macro call
Modal call
Modal call
Ll
;" is programmed.
1
1
174
13.3 Subprogram control
times
1