16. CUSTOM MACRO
By setting an M code number used to call a subprogram (macro program)
in a parameter, the macro program can be called in the same way as with
a subprogram call (M98).
Parameter 6071 = 03
By setting an M code number from 1 to 255 used to call a subprogram in
a parameters (No.6071 to No.6079), the corresponding custom macro
program (9001 to 9009) can be called in the same way as with M98.
Program number Parameter number
As with a simple call, a number of repetitions from 1 to 9999 can be
specified at address L.
Argument specification is not allowed.
An M code in a macro program that has been called is treated as an
ordinary M code.
In a macro called with a G code or in a program called with an M or T code,
no subprograms can be called using an M code. An M code in such a
macro or program is treated as an ordinary M code.
Using an M Code
numbers and program
D Argument specification
D M code