192
(4) Program example
Compared to the WRITE instruction program example, the SWRITE instruction program example has a different
section where the write notification device (D3) is specified at the end of the arguments.
Remark
For details on the WRITE instruction sample program, refer to the following.
Page 184, Section 10.6 (4)
Just like the WRITE instruction program example, this program example is for writing data of D750 to D753 of
station No. 2 (own station) into D300 to D303 of station No. 3 (target station) when M112 is turned on.
Furthermore, when the write notification device (D3) of the target station is turned on, the data of D300 to D303
are stored in D500 to D503.
(a) System configuration example
Same as the WRITE instruction program example.
(b) Devices used in the program example
• Link special relay (SB), link special register (SW)
Same as the WRITE instruction program example.
• Devices used by users
The devices used in the SWRITE instruction request source (station No. 2) are the same as those in
WRITE instruction program example.
Device used in the SWRITE instruction request destination (station No. 3)
(c) SWRITE instruction setting
Same as the WRITE instruction program example.
Device Description Device Description
M117 Write notification device
D500 to
D503
Devices that store the data of D300 to D303