365
CHAPTER 9 DEDICATED INSTRUCTIONS
9
9.6 JP/GP.SWRITE (Data Write to Programmable Controllers on Other Stations)
9.6 JP/GP.SWRITE (Data Write to Programmable Controllers
on Other Stations)
The SWRITE instruction writes data to devices of a programmable controller on another station. (In units of words)
With the SWRITE instruction, a device on another station turns ON when data writing is completed. (The other station
can recognize that data have been written with the SWRITE instruction.)
*1 T, C, D, W, ST, SD or SW can be used.
For SD/SW, data can be written within the setting range allowed for the user.
For details on SD/SW, refer to the following.
Manual for the CPU module and network module on the target station
• Instruction format
• Instruction format (Available when the own station has a Universal model QCPU)
*2 The SWRITE instruction can be programmed without argument (D3).
However, in such a case, the operation is identical to the WRITE instruction.
With the SWRITE instruction, different operations are available depending on whether (D3) is omitted or not.
*3 When the target station is a Basic model QCPU or safety CPU, the write notification device set as argument (D3) for the
target station is ignored. (Same operation as with the WRITE instruction)
*4 If the device setting in the PLC parameter is different between the own and target stations, use "(D1)" (with double
quotation marks) to specify.
Setting
data
Available devices
Internal device
(System, User)
File
register
R, ZR
Link direct device
J\
Intelligent
function
module device
U\G
Index
register Zn
Constant
Others
Bit Word Bit Word K,H $
(S1) — —
(S2) — —
(D1) —
*1
—
(D2) —
(D3) —
JP.SWRITE
Start contact
[Instruction format][Execution condition][Instruction symbol]
GP.SWRITE
Start contact
JP.SWRITE Jn (S1) (S2) (D1) (D2)
GP.SWRITE Un (S1) (S2) (D1) (D2)
(D3)
(D3)
*2 *3
*2 *3
*4
*4
JP.SWRITE
Start contact
GP.SWRITE
Start contact
JP.SWRITE Jn (S1) (S2) "(D1)" (D2)
GP.SWRITE Un (S1) (S2) "(D1)" (D2)
(D3)
(D3)
*2 *3
*2 *3
[Instruction format][Execution
condition]
[Instruction
symbol]