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

Скачать
Страница из 838
31 Applied Instructions (Data Transfer 3)
31.1 RBFM / Divided BFM Read
729
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
31
Appl
ied
 In
stru
cti
ons 
(Da
ta
 T
rans
fer 
3)
32
Ap
plied
 Instru
ctio
ns 
(High S
peed 
Process
ing 2)
33
App
lied Instr
ucti
ons 
(Exte
nsion File 
Regis
ter C
ontrol
)
34
Ap
pl
ied In
struct
ions 
(FX
3U
-C
F-
AD
P)
35
Int
errupt
 Fun
cti
on 
and Puls
e Cat
ch 
Functi
on
A
Re
lation
sh
ip
be
tw
ee
n de
vic
es
 
an
d ad
dre
ss
es
B
Ap
plie
In
structio
n List
31.1
RBFM / Divided BFM Read
Outline
This instruction reads data from continuous buffer memories (BFM) in a special function block and unit over
several operation cycles by the time division method. This instruction is convenient for reading received data,
etc. stored in buffer memories in a special function block and unit for communication by the time division
method. FROM instruction is also available to read the buffer memory (BFM) data.
→ For FROM instruction, refer to Section 14.8.
1. Format and operation, execution form
2. Set data
3. Applicable devices
S: Refer to "Cautions".
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
RBFM
16 bits
Continuous
BFM(EN,m1,m2,n1,n2,d);
Variable
Description
Data type
Input
variable
EN
Execution condition
Bit
Unit number [0 to 7]
ANY16
Head buffer memory (BFM) number
ANY16
Number of all buffer memories (BFM) to be read [1 to 32767]
ANY16
Number of points transferred in one operation cycle [1 to 32767]
ANY16
Output
variable
ENO
Execution state
Bit
Head device storing data to be read from buffer memory (BFM)
ANY16
Operand 
type
Bit Devices
Word Devices
Others
System user
Digit specification
System 
user
Special 
unit
Index
Cons
tant
Real 
Number
Character 
String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modifier K H
E
"
"
P
z z
z z
z z
z z
z z
z z
z z
z z
S1
z
z
RBFM
EN
ENO
m1
m2
n1
n2
d