219
CHAPTER 6 PARAMETER SETTING
6
6.5 Refresh Parameters
6.5.2 Change of transfer target CPU-side device
(d) Program example
In this program example, the following processing is performed when the send request turns ON.
1. Stores D0 data in the file register, and transfers them to LW0 of the CC-Link IE Controller Network
module through link refresh.
2. Transfers data in LWD100 and LW19230 of the CC-Link IE Controller Network module to the file
register through link refresh, and stores them in D1 and D2 of the CPU module.
Refresh parameters are set as in Page 218, Section 6.5.2 (2) (c).
•
Program example of when an access instruction to a file register is specified by ZR
If an access instruction to the file register is specified with a ZR,
• Block switching in units of 32K points is not required.
• The sequence program execution speed is slow.
• The sequence program capacity is large.
MOV ZR53504 D1
ZR0
ZR32767
ZR32768
ZR53504
ZR65535
ZR65536
ZR98303
ZR98304
ZR102960
ZR131071
LW0
LWD100
LW19230
LW1FFFF
CC-Link IE Controller
Network module
CPU module
(Block 0)
(Block 1)
(Block 2)
(Block 3)
MOV D2ZR102960
MOV ZR0D0
Send
request