898
17 DIVIDED DATA READ/WRITE FROM/TO BFM INSTRUCTION
17.2 Divided BFM Write
Processing details
• This instruction writes (n1) points of buffer memory starting from (s1) inside the intelligent function module number (U/H) to
(s2) in the CPU module. When (n1) exceeds 64 points, it divides and writes 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 RBFM 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 write processing is
suspended, but the data that is already written is stored in (m2) onwards.
• 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.
• Do not update (change) the contents of (n1) points starting from (s2) while this instruction is executed. If the contents are
updated, the intended data may not be written to the buffer memory areas.
• This instruction cannot be used in FX5 intelligent function modules.
• This instruction cannot be used while a interrupt routine program is being executed.
Operation error
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.
Error code
(SD0/SD8067)
Description
2441H
Communication procedure with module is not completed correctly when this instruction is executed.
2801H
Module with the module number specified by (U/H) does not exist, or the specified module is not supported.
2823H
The number of transfer points specified by (n1) and the buffer memory number specified by (s1) is beyond the buffer memory range.
2820H
The number of transfer points specified by (n1) and the device number specified by (s2) is beyond the specified device range.
3580H
An instruction that cannot be used in an interrupt program is used.
M
SM8029
WBFM
(U/H)
(s1)
(n1)
(n2)
SM8328
M
BFM#(s1)
BFM#((s1)+(n1)-1)
(s2)+(n1)-1
SM8329
M
(s2)
(s2)
Instruction execution complete flag
Instruction non-execution flag
Module number (U/H)
CPU module
Write
Instruction execution abnormal end 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: ......