6 - 16 6 - 16
MELSEC-Q
6 PROGRAMMING
6.5 Using the Link Special Relays (SB)/ Link Special Registers (SW)
The data linking information is stored in the link special relays (SB)/registers (SW).
They can be used by the sequence programs, or used for investigating faulty areas
and the causes of errors by monitoring them.
The following table shows which SB and SW can be used to check which information.
For more details, see Appendixes 2 and 3.
(1) The following SB and SW provide the information about the host
Item SB SW
CPU status of the host
SB004A
H
SB004B
H
SW004B
H
Execution status of the dedicated link instruction —
SW0031
H
SW0033
H
SW0035
H
SW0037
H
SW0039
H
SW003B
H
SW003D
H
SW003F
H
Operation status of the network module SB0020
H
SW0020
H
Setting status of the network module
SB0040
H
SB0042
H
to 44
H
SB0058
H
SB0064
H
SB0068
H
to 69
H
SW0040
H
SW0042
H
to 46
H
SW0054
H
to 57
H
SW0059
H
to 5B
H
SW0064
H
to 68
H
Running status of the network module SB0047
H
to 49
H
SW0047
H
to 4A
H
(2) The following SB and SW provide the information about the entire
network
Item SB SW
Remote master station CPU operation status
(RUN/STOP)
SB0085
H
—
Operation status of each station (moderate or major
error)
1
SB0080
H
SW0080
H
to 83
H
Operation status of each station (minor error) 1 SB0088
H
SW0088
H
to 8B
H
Cyclic transmission status of each station SB0074
H
to 76
H
SW0074
H
to 77
H
Link scan, communication mode
SB0068
H
SB0069
H
SW0068
H
SW006B
H
to 6D
H
Setting information of the network
SB0054
H
to 56
H
SB0058
H
SB0064
H
SB0068
H
to 6B
H
SW0054
H
to 68
H
Running information of the network SB0070
H
SW0070
H
to 73
H
Line status
SB0090
H
to 92
H
SB0095
H
to 96
H
SB0099
H
to 9A
H
SW0090
H
to 9F
H
1 : The minor, moderate, and major error levels indicate the following errors.
1) Minor error : error under which operation is continued (I/O verification
error and so on)
2) Moderate error : error under which operation is stopped (parameter error,
WDT error and so on)
3) Major error : error under which operation is stopped (hardware error and
so on)