357
CHAPTER 9 DEDICATED INSTRUCTIONS
9
9.5 JP/GP.WRITE (Data Write to Programmable Controllers on Other Stations)
*1 The setting side is as shown below.
User: Before execution of the link dedicated instruction, data must be set by the user.
System: The CPU module stores the execution result of the link dedicated instruction.
*2 When specifying channel 9 or 10, check the serial No. and software version for applicability. ( Page 606, Appendix
3)
*3 When specifying 961 words or more, check the serial No. and software version for applicability. ( Page 606,
Appendix 3)
*4 Data is not stored when Completion status ((S1)+1) is "Channel busy (Dedicated instruction) (error code: E26C
H
)".
The number of resends ((S1)+7) must be set every time an instruction is executed.
When the WRITE instruction is executed with specification of 961 words or more, data are fragmented in units of 961 words,
and are written to the target station.
To perform the next processing after confirming the write completion on the target station, use the SWRITE instruction.
(S1)+11
Clock set flag
The valid or invalid status of the data in the area starting from
(S1)+12 is stored. Data is stored only when 1 is set in the bit 7 of
Execution/Error completion type ((S1)+0). Note that the stored value
will not be cleared even after the dedicated instruction is completed.
0: Invalid
1: Valid
—System
(S1)+12
to
(S1)+15
Clock data on
error completion
Clock data on error completion are stored in BCD format. Data is
stored only when 1 is set in the bit 7 of Execution/Error completion
type ((S1)+0). Note that the stored value will not be cleared even
after the dedicated instruction is completed.
When the target station is QnACPU, "00
H
" is stored in the Year field
(first two digits of the year).
—System
(S1)+16
Error-detected
network No.
*4
Network No. of the station, where an error was detected, is stored.
Data is stored only when 1 is set in the bit 7 of Execution/Error
completion type ((S1)+0). Note that the stored value will not be
cleared even after the dedicated instruction is completed.
1 to 239: Network No.
—System
(S1)+17
Error-detected
station No.
*4
Station No. of the station, where an error was detected, is stored.
Data is stored only when 1 is set in the bit 7 of Execution/Error
completion type ((S1)+0). Note that the stored value will not be
cleared even after the dedicated instruction is completed.
1 to 120: Station No.
—System
Device Item Setting data Setting range
Setting
side
*1
(S1)+12
(S1)+13
(S1)+14
(S1)+15
Month (01
H to 12H)
Hour (00
H to 23H)
Second (00
H to 59H)
Day (01
H to 31H)
Minute (00
H to 59H)
00
H (Sun.) to 06H (Sat.)
Day of week (00
H to 06H)
Year (00
H
to 99
H
) First 2 digits
Year (00
H
to 99
H
) Last 2 digits
b15 b8 b7to b0to