9
DEDICATED INSTRUCTIONS
9.5 JP/GP.WRITE
9
- 41
9
DE
DICA
T
E
D
INS
T
RUCT
IONS
10
T
R
OUB
L
E
S
HO
OT
IN
G
APPENDI
CES
INDEX
(b) Devices used in the program example
1) Special relay (SM), Link special relay (SB), and link special register (SW)
* 1 Used when the own station is on a redundant system.
Remark
For details of link special relay (SB) and link special register (SW), refer to the
following.
• Appendix 1 Link Special Relay (SB) List
• Appendix 2 Link Special Register (SW) List
2) Devices used by the user
* 2 Used when the own station is on a redundant system.
(c) WRITE instruction settings
Control data settings for the WRITE instruction are shown below.
Table 9.18 Special relay (SM), Link special relay (SB), and link special register (SW)
Device
Description
Device
Description
SM1518
One scan ON after system switching
*1
SW00A0.2
Baton pass status of station No.3
SB0047
Baton pass status (own station)
—
Table 9.19 Devices used by the user
Device
Description
Device
Description
M110
Control data setting command
M115
Completion device
M111
Write data setting command
M116
Completion status indication device
M112
Start contact
D220 to
D237
Control data
M113
WRITE executing flag
*2
D602
Error code storage device
M114
Post-switching WRITE re-request flag
*2
D750 to
D753
Write data storage device (station No.2)
Table 9.20 WRITE instruction settings
Device
Item
Set value
(S1)+0
D220
Execution/Error completion
type
0081
H
(With arrival confirmation, clock
data at the time of error completion is
set.)
(S1)+1
D221
Completion status
—
(Set by the system, no setting required)
(S1)+2
D222
Channel used by own station
2
(S1)+3
D223
Target station's CPU type
0000
H
(Target station CPU)
(S1)+4
D224
Target station network No.
1
(S1)+5
D225
Target station No.
3
(S1)+6
D226
(Unused)
0
(S1)+7
D227
Number of resends
5 times
(S1)+8
D228
Arrival monitoring time
0 (10 seconds)
(S1)+9
D229
Write data length
4 words
(S1)+10
D230
(Unused)
0
(S1)+11
D231
Clock set flag
—
(Set by the system, no setting required)
(S1)+12
to
(S1)+15
D232 to D235
Clock data on error completion
(S1)+16
D236
Error-detected network No.
(S1)+17
D237
Error-detected station No.
Summary of Contents for QJ71GP21-SX
Page 1: ......
Page 2: ......
Page 644: ...App 94 Appendix 6 External Dimensions Appendix 6 2 QJ71GP21S SX APPENDICES Memo ...
Page 649: ......
Page 650: ......