Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controlers Applied Instructions 5
5-116
5.10.9 MCDE (FNC 98)
Operation:
This instruction allows an FX PLC to read the
machine codes of an F
2
-30GM. There are 64
machine code points in the F
2
-30GM. These are
numbered in octal, i.e. 0 to 77 and are prefixed b
y
M.
Points to note:
a) The head address I/O number for both Sand D
1
is determined b
y
the position of the FX
2
-
24EI (connected to the F
2
-30GM) within the expansion chain.
b) When the F
2
-30GM operates a machine code (one of the M0 to M77 devices), an
associated destination device (D2) is activated. D2 devices directl
y
map to the machine
codes of the F
2
-30GM, i.e. when the F
2
-30GM activates M7, D
2+7
(in octal) at the FX PLC
also activates. If the data used in the sample instruction above is used and M77 at the F
2
-
30GM is ON - so will (D
2+77
an octal addition) M577 at the FX PLC be ON (while the MCDE
instruction is active).
c) To make the associate numberin
g
eas
y
between FX and F
2
-30GM it is recommended that
the lower two di
g
its of the head address used to specif
y
D
2
are zero, i.e.’ 00’ when S or M
devices are used in the FX PLC.
d) For more information please see pa
g
e 9-5.
Mnemonic Function
Operands
Program steps
S
D
1
D
2
MCDE
FNC 98
(
F
2
-30GM
Machine
code)
Reads a set
codes from the
F2-30GM - use
with an FX
2
-24EI
X
Note:
uses 8
consecutive
devices
Y
Note:
uses 8
consecutive
devices
Y, M, S
Note: uses 64
consecutive
(numbered in
octal) devices
MCDE,
MCDEP:
7 steps
X0
Y30 M500
[ D2 ]
MCDE
[ D1 ]
X40
[ S ]