189
CHAPTER 10 DEDICATED INSTRUCTIONS
10
10.7 JP/GP.SWRITE (Writing Data to the Programmable Controller on Another Station)
(2) Function
(a) SWRITE instruction overview
The instruction writes data by the specified number of words (control data ((S1) + 9)) from the own station start
device (S2) into the target station word devices (after (D1)).
Specify the target stations in control data ((S1)+4 and (S1)+5).
When the writing of the data specified by (S2) is completed, the following devices are turned on.
• Own station: Completion device (D2)
• Target station: Write notification device (D3)
(b) Target stations which can be specified
For details on target stations which can be specified, refer to the following.
Page 152, Section 10.1 (1)
(c) Checking the execution status of the SWRITE instruction
The execution status (completion or error) of the SWRITE instruction can be checked using the following
device specified for the setting data.
• Completion device (D2)
It is turned on in the END processing of the scan after completion of the SWRITE instruction, and is turned
off in the next END processing.
• Completion status indication device ((D2)+1)
It is turned on in the END processing of the scan after completion of the SWRITE instruction, and is turned
off in the next END processing only if the SWRITE instruction fails.
Channel 1
Channel 2
SWRITE
(S2) (D1)
[Target station]
Safety CPU module CPU module Network moduleMaster/local module
[Own station]