Specifications

App - 83
Appendix 9 Programming
Appendix 9.1 Programming precautions
Appendix 9.1.1 Interlock related signals
A list of the interlock signal devices used in the sequence programs is provided below.
Refer to Appendix 3, "Link Special Relay (SB) List" and Appendix 4, "Link Special
Register (SW) List" for other explanations, such as the operation status and setting
status of the host and other stations.
When multiple network modules are installed, the interlock signal devices are refreshed
to the devices on the CPU side at 512 points (0
H to 1FFH) intervals according to the
default settings as shown below.
POINT
The Q series uses the link special relays (SB) and the link special registers (SW) in
the entire intelligent function module.
Because of this, it is important to manage SB/SW properly so that duplicate SBs and
SWs are not used in a program.
Assignments of the link special relay (SB) and the link special register (SW) when multiple modules are installed
Mounting position
Device
1st module 2nd module 3rd module 4th module
SB 0H to 1FFH 200H to 3FFH 400H to 5FFH 600H to 7FFH
SW 0H to 1FFH 200H to 3FFH 400H to 5FFH 600H to 7FFH
List of Interlock Devices
Device status
Device Name Description
OFF(0) ON(1)
SB20 Module
status
Indicates status of the network module operation and communication to
CPU.
Normal Abnormal
SB47 Host baton
pass status
Indicates the host's baton pass status.
The cyclic transmission and transient transmission can be performed at normal.
Normal
(Data link enabled)
Abnormal
(The host is disconnected)
SB49 Host data
link status
Indicates the host's data link operation status (cyclic transmission status). Executing data linking
(Executing cyclic
transmission)
Data linking stopped
(Set after refreshing
completes)
SB70 Baton pass
status of
each station
Indicates the baton pass status of each station. (Including the host)
(Not applicable to the reserved stations and the station with the maximum
station number or higher)
Turns off when the SW70 to SW73 are all "0".
All stations normal Faulty station exists.
SB74 Data link
status of
each station
Indicates the data link status of each station (.the status of the cyclic
transmission.). (Including the host)
(Not applicable to reserved stations and the station with the maximum
station number and smaller numbers)
Turns off when the SW74 to SW77 are all "0".
All stations are executing
data linking
(All stations are executing
cyclic transmission.)
Stations that are not
executing data linking exist.
SW70
to 74
Baton pass
status of
each station
(for each
station No.)
Stores the baton pass status of each station. (Including the host)
16
32
48
64
15 14 13 5 4 3 2 1
31 30
47 46
63 62
29
45
61
21 20 19 18 17
37 36 35
34
33
53 52 51 50 49
to
to
to
to
b15 b14 b13 b12 b4 b3 b2 b1 b0
SW70
SW71
SW72
SW73
Numbers 1 to 64 in the above table
indicate the station numbers.
to
Baton pass normal station
(Including the stations with
the maximum station
number and smaller
numbers as well as the
reserved stations at online)
Baton pass abnormal
station
(Including the stations with
the maximum station
number and smaller
numbers as well as the
reserved stations at offline
test)
SW74
to 77
Data link
status of
each station
(for each
station No.)
Stores the data link status of each station (.the status of the cyclic
transmission.). (Including the host)
16
32
48
64
15 14 13 5 4 3 2 1
31 30
47 46
63 62
29
45
61
21 20 19 18 17
37 36 35
34
33
53 52 51 50 49
to
to
to
to
b15 b14 b13 b12 b4 b3 b2 b1 b0
SW74
SW75
SW76
SW77
Numbers 1 to 64 in the above table
indicate the station numbers.
to
Executing data linking
(Including the stations with
the maximum station
number and smaller
numbers as well as the
reserved stations)
Data linking not executed