
12.PROGRAM CONFIGURATION NC FUNCTIONS B-63782EN/01
- 140 -
12.5 EXTERNAL DEVICE SUBPROGRAM CALL (M198)
During memory operation, subprograms registered in an external
device (such as Handy File, data server, and so forth) connected to the
CNC can be called and executed.
Format
M198 P_ L_ ;
P : program-number (or file-number)
L : number of repeats
Address L is used to specify the number of times the
subprogram is repeated.
Whether address P specifies the file number or program number is
selected by a parameter SFL(No.2404#5).
It is impossible to make an external device subprogram call for a
subprogram that has already been called using an external device
subprogram call. It is possible to call a subprogram registered in
internal memory from a subprogram called using an external device
subprogram call, but impossible to call an external device subprogram
from the called subprogram in internal memory.
An external device subprogram call is counted as one nesting level of
subprogram calling.