8
PROGRAMMING
8.1 Program Example of Single Network System
8.1.4 Program example of transient transmission
8
- 12
1
O
V
ER
VI
E
W
2
SYST
EM
CO
NF
IG
URA
T
IO
N
3
SPECI
F
IC
A
T
IO
N
S
4
F
UNCT
IONS
5
PREP
ARA
T
IO
N AND
SET
UP
6
P
A
RAM
E
T
E
R
SET
TI
NG
7
PRO
C
ESSI
NG
T
IM
E
8
PRO
G
R
AM
M
ING
(2) Devices used in program example
(a) Special relay (SM), link special relay (SB), and link special register (SW)
(b) Devices used by the user
(3) Link dedicated instruction settings
The following shows settings of control data for the READ and WRITE instructions.
(a) READ instruction
Table 8.5 Special relay (SM), link special relay (SB), and link special register (SW)
Device
Description
Device
Description
SM402
Turned ON for only one scan after RUN
SW00A0.1
Baton pass status of station No.2
SB0047
Baton pass status of own station
—
Table 8.6 Devices used by the user
Device
Description
Device
Description
M1000
Completion device (READ instruction)
M1021
Completion status indication device (WRITE
instruction)
M1001
Completion status indication device (READ
instruction)
M1030
Execution command (WRITE instruction)
M1010
Execution command (READ instruction)
D1000 to
D1010
Control data (READ instruction)
M1020
Completion device (WRITE instruction)
D1020 to
D1030
Control data (WRITE instruction)
Table 8.7 READ instruction settings
Device
Item
Setting value
(S1)+0
D1000
Error completion type
0001
H
(Clock data at the time of error
completion is not set)
(S1)+1
D1001
Completion status
—
(Set by system, no setting required)
(S1)+2
D1002
Channel used by own station
1
(S1)+3
D1003
Target station's CPU type
0000
H
(Target station CPU)
(S1)+4
D1004
Target station network No.
1
(S1)+5
D1005
Target station No.
2
(S1)+6
D1006
(Unused)
0
(S1)+7
D1007
Number of resends
5 times
(S1)+8
D1008
Arrival monitoring time
0 (10 seconds)
(S1)+9
D1009
Read data length
50 words
(S1)+10
D1010
(Unused)
0
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: ......