362
(b) Devices used in the program example
• Special relay (SM), Link special relay (SB), and link special register (SW)
*1 Used when the own station is on a redundant system.
• 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
*2 Used when the own station is on a redundant system.
(c) WRITE instruction settings
Control data settings for the WRITE instruction are shown below.
Device Description Device Description
SM1518
One scan ON after system switching
*1
SW00A0.2 Baton pass status of station No.3
SB0047 Baton pass status (own station) —
Device Description Device Description
M110 Control data setting command M115 Completion device
M111 Write data setting command M116 Completion status indication device
M112 Start contact
D220 to
D237
Control data
M113
WRITE executing flag
*2
D602 Error code storage device
M114
Post-switching WRITE re-request flag
*2
D750 to
D753
Write data storage device (station No.2)
Device Item Set value
(S1)+0 D220 Execution/Error completion type
0081
H
(With arrival confirmation, clock data at
the time of error completion is set.)
(S1)+1 D221 Completion status
—
(Set by the system, no setting required)
(S1)+2 D222 Channel used by own station 2
(S1)+3 D223 Target station's CPU type
0000
H
(Control CPU)
(S1)+4 D224 Target station network No. 1
(S1)+5 D225 Target station No. 3
(S1)+6 D226 (Unused) 0
(S1)+7 D227 Number of resends 5 times
(S1)+8 D228 Arrival monitoring time 0 (10 seconds)
(S1)+9 D229 Write data length 4 words
(S1)+10 D230 (Unused) 0
(S1)+11 D231 Clock set flag
—
(Set by the system, no setting required)
(S1)+12
to
(S1)+15
D232 to D235 Clock data on error completion
(S1)+16 D236 Error-detected network No.
(S1)+17 D237 Error-detected station No.