
11.MISCELLANEOUS FUNCTIONS NC FUNCTIONS B-63322EN/03
- 128 -
11.2 MULTIPLE M COMMANDS IN A SINGLE BLOCK
In general, only one M code can be specified in a block. However, up
to five M codes can be specified at once in a block by setting bit 7
(M3B) of parameter No. 3404 to 1. Up to five M codes specified in a
block are simultaneously output to the machine. This means that
compared with the conventional method of a single M command in a
single block, a shorter cycle time can be realized in machining.
Examples
One M command
in a single block
Multiple M commands
in a single block
M40;
M50;
M60;
G28G91X0Y0Z0;
:
M40M50M60;
G28G91X0Y0Z0;
:
:
:
NOTE
1 The 1st M code can be up to ten digits.
(The allowable number of digits is specified using
parameter No.2030.) The 2
nd
to 5
th
M codes can be of
up to four digits
2 A strobe signal is provided for each of the first to five M
codes (MF, MF2, MF3, MF4, MF5).
When all the operations for the first to five M codes
are completed, completion signal FIN is output.