371
CHAPTER 9 DEDICATED INSTRUCTIONS
9
9.6 JP/GP.SWRITE (Data Write to Programmable Controllers on Other Stations)
• When failed
(4) Error
When a link dedicated instruction failed, the error details can be confirmed by either of the following methods.
(a) With the programming tool
The error details can be checked in the CC IE Control diagnostics. ( Page 526, Section 10.3)
(b) Checking devices
Completion status indication device ((D2)+1) is turned ON, and an error code is stored in Completion status
((S1)+1) of control data.
Check the error and take corrective actions according to the error code. ( Page 511, Section 10.2)
(5) Program example
The program example of the SWRITE instruction is different from that of the WRITE instruction in that the write
notification device (D3) is specified at the end of arguments.
Refer to the following for details on the WRITE instruction program example.
Page 361, Section 9.5 (5)
As in the program example of the WRITE program, when M112 turns ON, data in D750 to D753 of station No.2
(own station) are written to D300 to D303 of station No.3 (target station).
Additionally, if the write notification device (D3) is turned ON on the target station, data in D300 to D303 are stored
in D500 to D503.
1 scan
Error code
3000
SWRITE
Sequence scan
Start contact
Own station CPU
CC-Link IE Controller
Network module
Completion device
(Device specified in (D2))
Completion status indication
device (Device of (D2)+1)
Write data storage device
(Device specified in (S2))
Completion status
(Device of (S1)+1)
END0 END0
Channel 1
END0 END0 END0
Target station error