698
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
31 Data Transfer 3 – FNC275 to FNC279
31.1 FNC278 – RBFM / Divided BFM Read
Program example
In the example shown below, data is read/written from/to the buffer memories (BFM) in the unit No. 2 as follows:
• When X000 is set to ON, data stored in D100 to D179 (80 points) are written to the buffer memories (BFM)
#1001 to 1080 in the special function block/unit whose unit number is No. 2 by 16 points in each operation
cycle.
• When X001 is set to ON, the buffer memories (BFM) #2001 to 2080 (80 points) in the special function
block/unit whose unit number is No. 2 are written to D200 to D279 by 16 points in each operation cycle.
X000
SET
M0
The BFM write start flag is set
to ON.
FNC279
WBFM
K2
K1001
D100
K80
K16
BFM write
start
M0
BFM write
start
M8029
Instruction execution complete
RST
M0
M8329
Instruction execution
abnormally complete
RST
M0
X001
SET
M5
BFM read
start
FNC278
RBFM
K2
K2001
D200
K80
K16
M5
BFM read
start
M8029
Instruction execution complete
RST
M5
M8329
Instruction execution
abnormally complete
RST
M5
END
D100 to D179 (80 points) are written to
the buffer memories #1001 to 1080 in
the unit No. 2 (in 5 operation cycles).
The BFM write start flag is set to OFF.
Execution of the WBFM instruction is
waited.
The BFM write start flag is set to OFF.
The BFM read start flag is set to ON.
The buffer memories #2001 to 2080 (80
points) in the unit No. 2 are read to
D200 to D279 (in 5 operation cycles).
The BFM read start flag is set to OFF.
The BFM read start flag is set to OFF.
M8328
Y000
Instruction non-execution
Execution of the RBFM instruction is
waited.
M8328
Y001
Instruction non-execution
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......