M-code
signal
............
BFM#5
Generally, other machine operations (e.g.
tool
change, drill) are operated together with the position-
ing operation.
Thus, an M-code is set within the PGU to inform the PC which auxiliary machine
to
operate. 64 max.
kinds can be transmitted.
If
the instruction WAIT MXX
or
SET MXX (XX
=
0
to
77, octal) is driven inside the PGU.
BFM#5
b7
to
bO are operated as shown below:
5
3
4
c
Example: M53
1 1
0
1
0
1
I
.\
OCT
Since
M
codes use octal
notation
of
0
to 77, data
0
to
77 which exclude numbers
8
0
BCD
and
9
out
of
0
to
255,
when
1
1
0
0
1
0
1
BIN conversion
expressed in decimals, in
BFM#5
BIN
1
0
1
0
1
1
0
0
BFM#5 is valid.
The sequence program shown
on
the following page enables the operations shown below.
M217 (M-code
ON)
7f
\\
/
M codeXX
M205 (M-code OFF)
M3XX
/----------
e
The M code
ON
signal given
by the WAIT (WAIT
MO)
in-
struction of the PGU is auto-
matically reset by a start
command.
M300
to
M377 are operated
when any one
of
them is
switched. (Those with num-
bers
8
or
9
do not operate.)
f
AFTER MODE
and
WITH
MODE
Positioning
operation
--\
AFTER MODE
WAIT
M
1
WAIT
M
2
Use WAIT
M
instructions between successive
M-code
output
L
positioning instructions.
IJ
WITH MODE
Positioning
Use a SET M instruction when the succeeding
operation
positioning instruction is executed during
an
M-
WAIT
M
3
YET
M4
code output.
l
M-code
output
A WAIT
M
instruction is an instruction
to
wait for a start command (in the loop or continue mode,
it
is
also started by an
M
code OFF command), and a SET M instruction is an instantaneous
instruction.
Both can be used alone or in combination.
-20-