B-62694ENl03
OPERATION
1 .FOR Series 16/l 8-B/C, Series 16ill8i-A
14 .
CALLING A SUBPROGRAM WITH Ml98
When the subprogram is called by Ml98 code in main
program stored in the memory of CNC, the CNC reads the
subprogram from the HDD.
Format of Ml98 code in the main program
(l)In case of Series 15 tape format
M198P****I@@@@;
****
: the integer of four digits that expresses
the O-number
@@@@
: repeat time (from 1 to 9999). When it is
omitted, it is supposed to be 1.
(2)In case of other tape formats
M198P@@@@****;
****
: the integer of four digits that expresses
the O-number
(You must set the integer of four digits)
: repeat time (from 1 to 9999)
The other item related to Ml98 code is based on “subprogram
call function” in external input/output devices.
Refer to the CNC’s manual in detail.
[Example]
In case of Series 15 tape format
Main program
(the memory of CNC)
Sub program
(HDD of Data Server)
%;
00001(MAIN PROGRAM);
M198P1234;
/
\
M30;
%
/
\
%;
01234(SUB PROGRAM);
M99;
%
-89-