
B–64113EN–1/01
8. AUXILIARY FUNCTION
493
So far, one block has been able to contain only one M code. However, this
function allows up to three M codes to be contained in one block.
Up to three 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.
(Example)
One M command
in a single block
Multiple M commands
in a single block
M40 ;
M50 ;
M60 ;
G28G91X0Y0Z0 ;
:
:
:
M40M50M60 ;
G28G91X0Y0Z0 ;
:
:
:
:
:
(1)Assume that “MaaMbbMcc;” was commanded by the program.
(2)The 1st M command (Maa) sends the code signals M00 to M31 in a
manner similar to the conventional one-block single command. The
strobe signal MF is set to “1” after a time TMF set by parameter No.
3010 (Standard setting: 16 msec).
The second M command (Mbb) sends the code signal M200-M215,
the third M command (Mcc) sends the code signal M300-M315, and
their respective strobe signals MF2 and MF3 are set to “1”.
Furthermore, the three code signals are sent simultaneously.
The strobe signals MF, MF2, and MF3 become “1” at the same time.
The code signal is a binary notation of the program command aa, bb
and cc.
(3)On the PMC side, the code signals corresponding to the respective
strobe signals are read when the strobe signals become “1”, and the
appropriate operations are performed.
(4)When the operation of all M commands ends on the PMC side, the end
signal (FIN) is set to “1”.
(5)When the completion signal stays “1” for a time (TFIN) set by
parameter No. 3011 (Standard: 16 msec), all strobe signals (MF, MF2
and MF3) are set to “0” at the same time and the reception of
completion signal is reported.
(6)On the PMC side, when MF, MF2 and MF3 are set to “0”, the
completion signal is set to “0”.
8.3
MULTIPLE M
COMMANDS IN A
SINGLE BLOCK
General
Basic procedure