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

Скачать
Страница из 382
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 programmable CAM switch
to an FX PLC.
The head address I/O numbers for both Sand D
1
are determined by 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 directly 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 page 9-4.
5.10.7
RMMN (FNC 96)
Operation:
The RMMN instruction is used to read speed
(r.p.m.) or current angular position from the F
2
-
32RM to an FX PLC. There it is stored at the
device specified by operand D
2
. The decision for
which data is read, i.e. speed or position is made
by the F
2
-32RM through its hardware switch #4.
The head address I/O numbers for both S and D
1
are deter-mined by 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 page 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
Note:
uses 8
consecu-
tive
devices
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
Note:
uses 8
consecu-
tive
devices
Note:
uses 8
consecu-
tive
devices
KnY, YnM, YnS
T, C, D, V, Z 
RMMN,
RMMNP:
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 M600
[ D2 ]
RMRD
[ D1 ]
X40
[ S ]
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 D100
[ D2 ]
RMMN
[ D1 ]
X40
[ S ]
Switch
#4
D
2
Operand
ON
OFF
350
830
Example
value
angle
(degrees)
speed
(r.p.m)
Data
type