Mitsubishi Electronics FX2C Home Theater Server User Manual


 
FX Series Programmable Controlers Applied Instructions 5
5-114
5.10.6 RMRD (FNC 95)
Operation:
This instruction reads the current status of the
outputs of an F
2
-32RM pro
g
rammable CAM switch
to an FX PLC.
The head address I/O numbers for both Sand D
1
are determined b
y
the position of the FX
2
-24EI (connected to the F
2
-32RM) within the
expansion chain.
Output statuses of Y0-Y17 (16 bit operation) or Y0-Y37 (32 bit operation are read from the F
2
-
32RM. The read data is mapped directl
y
over the FX destination devices (head address D
2
).
The D
2
devices will retain their last status even when the RMRD instruction is turned OFF. For
more information please see pa
g
e 9-4.
5.10.7 RMMN (FNC 96)
Operation:
The RMMN instruction is used to read speed
(r.p.m.) or current an
g
ular position from the F
2
-
32RM to an FX PLC. There it is stored at the
device specified b
y
operand D
2
. The decision for
which data is read, i.e. speed or position is made
b
y
the F
2
-32RM throu
g
h its hardware switch #4.
The head address I/O numbers for both S and D
1
are deter-mined b
y
the position of the FX
2
-24EI
(connected to the F
2
-32RM) within the FX PLC’s
expansion chain.
For more information please see pa
g
e 9-4.
Mnemonic Function
Operands
Program steps
S
D
1
D
2
RMRD
FNC 95
(
F
2
-32RM
RM read)
Reads output
status of F series
CAM module -use
with an
FX
2
-24EI
X
Note:
uses 8
consecu-
tive
devices
Y
Note:
uses 8
consecu-
tive
devices
Y, M, S
Note: 16 bit operation
uses 16 devices,
32 bit mode uses 32
consecutive devices.
RMRD,RMRDP
: 7 steps
DRMRD,
DRMRDP
: 13 steps
Mnemonic Function
Operands
Program steps
S
D
1
D
2
RMMN
FNC 96
(
F
2
-32RM
RM
monitor)
Monitors data
states of F series
CAM module -use
with an
FX
2
-24EI
X
Note:
uses 8
consecu-
tive
devices
Y
Note:
uses 8
consecu-
tive
devices
KnY, YnM, YnS
T, C, D, V, Z
RMMN,
RMMNP:
7 steps
X0
Y30 M600
[ D2 ]
RMRD
[ D1 ]
X40
[ S ]
X0
Y30 D100
[ D2 ]
RMMN
[ D1 ]
X40
[ S ]
Switch
#4
D
2
O
p
erand
ON
OFF
350
830
Exam
p
le
value
an
g
le
(de
g
rees)
speed
(r.p.m)
Data
t
yp
e