474
(5) Program example
In the following example program, when M141 turns ON, clock data (08:30:00) is written to all stations of network
No.1.
(a) System configuration example
(b) Devices used in the program example
• Special relay (SM), link special relay (SB), and link special register (SW)
• For details of link special relay (SB): Page 568, Appendix 1
• For details of link special register (SW): Page 584, Appendix 2
• Devices used by the user
Device Description Device Description
SM400 Always ON SB00A0 Baton pass status of each station
SB0047 Baton pass status (own station) SW0034 Send/receive instruction (5) processing result
Device Description Device Description
M140 Clock data setting command M146 Completion status indication device
M141 Start contact
D330 to
D334
Clock data
M145 Completion device D608 Error code storage device
CPU module
RTMWR
RTMWR
instruction
request
target
(Target station)
RTMWR
instruction
request
target
(Target station)
RTMWR
instruction
request
target
(Target station)
RTMWR
instruction
request
source
(Own station)
CC-Link IE
Controller
Network module
Channel 5
CPU module CC-Link IE
Controller
Network module
CPU module CC-Link IE
Controller
Network module
CPU module CC-Link IE
Controller
Network module
Network No.1
Station No.1 Station No.2
Station No.4 Station No.3
Clock data
writing
(8:30:00)
Clock data
writing
(8:30:00)
Clock data
writing
(8:30:00)