OPERATION
B–63604EN/01
4. AUTOMATIC OPERATION
457
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
When the custom macro option is provided, 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 I/O channel (the parameter of No. 20) to 4 in
the setting screen in advance.
4.10.2.2
Subprogram call (M198)
Format
Explanation