
684
14 DIVIDED DATA READ/WRITE FROM/TO BFM INSTRUCTION
14.1 Divided BFM Read
14
DIVIDED DATA READ/WRITE FROM/TO BFM
INSTRUCTION
14.1
Divided BFM Read
RBFM
This instruction reads data from continuous buffer memory areas in an FX3 series intelligent function module
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
Processing details
• This instruction reads (n1) points of buffer memory starting from (s) inside the intelligent function module number (U/H) to
(d) in the CPU module. When (n1) exceeds 64 points, it divides and reads by several scans. (64 points are read in one
scan)
• When this instruction is finished normally, instruction execution complete flag (SM8029) turns on. When this instruction is
finished abnormally, instruction execution abnormal end flag (SM8329) turns on.
• When this instruction or the WBFM instruction is executed in the same scan, instruction non-execution flag (SM8328) is set
to on, and execution of such an instruction is paused. When execution of the other target instruction is complete, the
paused instruction resumes.
Ladder diagram
Structured text
ENO:=RBFM(EN,UnHn,s,n1,n2,d);
Operand
Description
Range
Data type
Data type (label)
(U/H)
Module number
K1 to 16
16-bit unsigned binary
ANY16_U
(s)
Head buffer memory number
0 to 32767
16-bit unsigned binary
ANY16_U
(d)
Head device number storing data to be read from buffer memory
16-bit signed binary
ANY16
(n1)
Number of all buffer memory areas to be read
1 to 32768
16-bit unsigned binary
ANY16_U
(n2)
Not used
16-bit unsigned binary
ANY16_U
Operand
Bit
Word
Double word
Indirect
specification
Constant
Others
X, Y, M, L,
SM, F, B, SB
U
\G
T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(U/H)
(s)
(d)
(n1)
(n2)
(U/H)
(s)
(n1)
(d)
(n2)
M
SM8029
RBFM
(U/H)
(s)
(n1)
(n2)
SM8328
M
BFM#(s)
BFM#((s)+(n1)-1)
(d)+(n1)-1
SM8329
M
(d)
(d)
Instruction execution complete flag
Instruction non-execution flag
Module number (U/H)
CPU module
Read
Instruction execution abnormal end flag
Command
input
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......