Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 897

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

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)
Command
input
RBFM
SM8029
Instruction execution complete flag
SM8328
Instruction non-execution flag
SM8329
Instruction execution abnormal end flag
• 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
Device
Name
SM8029
Instruction execution complete
SM8328
Instruction non-execution
SM8329
Instruction execution abnormal end
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.
Command
input
M
RBFM
SM8029
Instruction execution complete flag
• 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.
(U/H)
(s)
(d)
(n1)
M
M
M
Description
Turns ON when an instruction is finished normally.
Turns ON when the RBFM instruction or WBFM instruction in another step is executed for
the same module number.
Turns ON when an instruction is finished abnormally.
SET
(U/H)
(s)
(d)
(n1)
RST
Module number (U/H)
(n2)
BFM#(s)
BFM#((s)+(n1)-1)
M
(n2)
M
17 DIVIDED DATA READ/WRITE FROM/TO BFM INSTRUCTION
CPU module
Read
(d)
(d)+(n1)-1
17.1 Divided BFM Read
17
895

Hide quick links:

Advertisement

loading