FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
31.2
FNC279 – WBFM / Divided BFM Write
Outline
This instruction writes data to continuous buffer memories (BFM) in a special function block/unit over several operation
cycles by the time division method. This instruction is convenient for writing send data, etc. to buffer memories in a
special function block/unit for communication by the time division method.
TO (FNC 79) instruction is also available for writing data to the buffer memory (BFM).
1. Instruction format
FNC 279
WBFM
2. Set data
Operand Type
m1
m2
S
n1
n2
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
m1
m2
S
n1
n2
: Except special data register (D)
Explanation of function and operation
1. 16-bit operation (WBFM)
"n1" word units from
block No. "m1". While transfering, "n1" is divided by "n2" so n1/n2 words (rounded up when there is a remainder) are
transferred per scan time.
Command
input
M8029
M8328
M8329
• When the instruction is finished normally, the instruction execution complete flag M8029 turns ON. When the
instruction is finished abnormally, the instruction execution abnormally complete flag M8329 turns ON.
• When the RBFM (FNC278) or WBFM (FNC279) instruction is executed in another step for the same unit number,
the instruction non-execution flag M8328 is set to ON, and execution of such an instruction is paused.
When execution of the first target instruction is complete, the paused instruction resumes.
704
Mnemonic
16-bit Instruction
11 steps WBFM
Unit number [0 to 7]
Head buffer memory (BFM) number [0 to 32766]
Head device number storing data to be written to buffer memory (BFM)
Number of all buffer memories (BFM) to be written [1 to 32767]
Number of points transferred in one operation cycle [1 to 32767]
Digit Specification
S
in the PLC are written to buffer memory (BFM) location # "m2" in special function unit/
→ For the unit No., buffer memory (BFM) No., cautions, and program example,
FNC278
m1
m2
WBFM
M
M
M
→ For TO (FNC 79) instruction, refer to Section 15.10.
Operation Condition
32-bit Instruction
Continuous
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
S
n1
n2
Instruction execution
complete
Instruction
non-execution
Instruction execution
abnormally complete
31 Data Transfer 3 – FNC276 to FNC279
31.2 FNC279 – WBFM / Divided BFM Write
Mnemonic
Operation Condition
−
16-bit binary data
Others
Con-
Real
Index
stant
Number
V
Z Modify K
H
E
refer to Subsection 31.1.1.
PLC
Unit No. "m1"
*1
Write
BFM#(m2)
S
+n1-1
BFM#(m2+n1-1)
S
*1 "n2" points are written in each
operation cycle. Writing is executed
in "n1/n2" transfers. ("n1/n2" is
rounded up if it is not an integer.)
Data Type
Charac-
Pointer
ter String
" "
P