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

Скачать
Страница из 838
14 Applied Instructions (External FX I/O Device)
14.9 FROM / Read From A Special Function Block
381
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
11
Appl
ied
 In
stru
cti
ons 
(D
ata O
per
at
io
n)
12
Ap
plied
 Instru
ctio
ns 
(High S
peed 
Process
ing)
13
App
lied Instr
ucti
ons 
(Handy
 
Instruction)
14
Ap
pl
ied In
struct
ions 
(External FX I/O
 
D
evice)
15
Appl
ied
 Instru
cti
ons
 
(External
 Dev
ice 
(op
tional
 dev
ice)
)
16
App
lie
d Instr
uction
(E
xter
nal
 Devi
ce)
17
Ap
pl
ied Inst
ruct
io
ns 
(Dat
a T
ransf
er 2)
18
Appl
ied
 In
stru
cti
ons 
(Float
ing P
oin
t)
19
App
lie
d Instr
uction
(D
at
a Oper
at
ion 2)
20
App
lied Inst
ructi
ons 
(Pos
itioning 
Control)
14.9
FROM / Read From A Special Function Block
Outline
This instruction reads out the content of buffer memory (BFM) of special extension unit/block to the PLC.
If a large quantity of buffer memory (BFM) data is read out in batch by using this instruction, a watchdog timer
error may occur. When there is no bad influence for the control if the data is divided and read out, you can use
RBFM instruction.
1. Format and operation, execution form
2. Set data
*1.
In the case of FX
1N
, FX
1NC
, FX
U
, FX
2C
, FX
2N
, FX
2NC
 series, the data type of DFROM, DFROMP of
32-bit operation is ANY16.
FX
3U(C)
FX
3G(C)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(S)
Instruction 
name
Operation
Execution 
form
Expression in each language
Structured ladder/FBD
ST
FROM
16 bits
Continuous
FROM(EN, n1, n2, n3, d);
FROMP
16 bits
Pulse
FROMP(EN, n1, n2, n3, d);
DFROM
32 bits
Continuous
DFROM(EN, n1, n2, n3, d);
DFROMP
32 bits
Pulse
DFROMP(EN, n1, n2, n3, d);
Variable
Description
Data type
16-bit 
operation
32-bit 
operation
Input
variable
EN
Execution condition
Bit
Unit No. of special extension unit/block
ANY16
ANY32
*1
Transfer origin buffer memory (BFM) number
ANY16
ANY32
*1
Number of transfer points
ANY16
ANY32
*1
Variable
ENO
Execution state
Bit
Transfer destination device
16-bit operation: n
3
 points occupied
32-bit operation: 2 
× n
3
 points occupied
ANY16
ANY32
FROM
EN
n1
n2
ENO
d
n3
FROMP
EN
n1
n2
ENO
d
n3
DFROM
EN
n1
n2
ENO
d
n3
DFROMP
EN
n1
n2
ENO
d
n3