Справочник Пользователя для Mitsubishi Electronics FX

Скачать
Страница из 382
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 by
M.
Points to note:
a) The head address I/O number for both Sand D
is determined by 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 directly 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 numbering easy between FX and F
2
-30GM it is recommended that
the lower two digits of the head address used to specify D
are zero, i.e.’
00’ when S or M
devices are used in the FX PLC.
d) For more information please see page 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
Note:
uses 8
consecutive
devices
Note:
uses 8
consecutive
devices
Y, M, S 
Note: uses 64
consecutive
(numbered in
octal) devices
MCDE,
MCDEP:
7 steps
FX
0(S)
FX
0N
FX FX
(2C)
FX
2N(C)
FX
(2C)
FX
FX
2N(C)
FX
0N
FX
0(s)
PULSE-P
FX
(2C)
FX
FX
2N(C)
FX
0N
FX
0(s)
16 BIT OPERATION
FX
FX
0N
FX
0(s)
FX
(2C)
FX
2N(C)
32 BIT OPERATION
X0
Y30 M500
[ D2 ]
MCDE
[ D1 ]
X40
[ S ]