OPERATION4. AUTOMATIC OPERATION
B–64124EN/01
510
When the following block in a program in CNC memory is executed, a
subprogram file in memory card is called.
1. Normal format
M198 Pffff ∆∆∆∆ ;
File number for a file in
the memory card
Number of repetition
Memory card call instruction
2. FS15 tape format
M198 Pffff L∆∆∆∆ ;
File number for a file in the
memory card
Memory card call instruction
File number of repetition
Both format 1 and 2 can be used. A different M code can be used for a
subprogram call depending on the setting of parameter No. 6030. In this
case, M198 is executed as a normal M code. The file number is specified
at address P. If the SBP (bit 2) of parameter No. 3404 is set to 1, a program
number can be specified. When a file number is specified at address P,
Fxxxx is indicated instead of Oxxxx.
NOTE
Please set the parameter of No. 0020 to 4 in the setting
screen in advance.
4.10.2.2
Subprogram Call (M198)
Format
Explanation