17 DIVIDED DATA READ/WRITE FROM/TO BFM INSTRUCTION
17.1 Divided BFM Read
895
17
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.
■
Related devices
Precautions
• Do not stop the instruction while it is being executed. If driving is stopped, the buffer memory reading processing is
suspended, but the data that is already read is stored in (d) onwards. Stop the instruction after execution completes as in
the following program.
• When indexing is executed, the contents of index registers at the beginning of execution are used. Even if the contents of
index registers are changed after the instruction, such changes do not affect the process of the instruction.
• The contents of (n1) points starting from (d) update (change) every scan while this instruction is executed. Use the data
after the instruction is completed.
• Do not update (change) the contents of (n1) buffer memory areas starting from the buffer memory (s) while this instruction
is executed. If the contents are updated, the intended data may not be read.
• This instruction cannot be used in FX5 intelligent function modules.
• This instruction cannot be used while a interrupt routine program is being executed.
Device
Name
Description
SM8029
Instruction execution complete
Turns ON when an instruction is finished normally.
SM8328
Instruction non-execution
Turns ON when the RBFM instruction or WBFM instruction in another step is executed for
the same module number.
SM8329
Instruction execution abnormal end
Turns ON when an instruction is finished abnormally.
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
SET
SM8029
RST
RBFM
(U/H)
(s)
(n1)
(n2)
M
M
M
(d)
Instruction execution complete flag
Command
input
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......