411
CHAPTER 11 PROGRAMMING
11
11.4 Using Link Special Relay (SB) and Link Special Register (SW)
(2) Checking data link status
Data link status is checked using the CC-Link IE Field Network diagnostics as well as link special relays (SBs)
and link special registers (SWs). ( Page 206, CHAPTER 9)
(a) Checking the data link status (other stations)
1. Link scan time can be checked using SW005A and SW005B and SW0060 to SW0062.
2. If an error occurs in data link, one of the following link special relays (SBs) turns on.
• Baton pass status (each station) (SB00A0)
• Baton pass status (master station) (SB00A1)
• Baton pass status (station No.0) (SB00AF)
• Data link status (each station) (SB00B0)
• Data link status (master station) (SB00B1)
• Data link status (station No.0) (SB00BF)
3. When Baton pass status (each station) (SB00A0) turns on, the station number where an error has
occurred is stored in Baton pass status (each station) (SW00A0 to SW00A7).
When Data link status (each station) (SB00B0) turns on, the station number where an error has
occurred is stored in Data link status (each station) (SW00B0 to SW00B7).
Details on the causes of error can be checked using link special relays (SBs) and link special registers (SWs)
corresponding to the station number where the error has occurred. ( Page 412, Section 11.4 (2) (b))
If the master station is powered on before slave stations, data link may be reconfigured. During the reconfiguration
(maximum three seconds), an error is detected using SB00B0. (Note that an error is detected for a maximum of 13 seconds
in a master/local module with the serial number (first five digits) of "14041" or earlier.)
Starting up the master station last can prevent data link from being reconfigured.
Number Description Number Description
SW005A Maximum baton pass station
SW005B Maximum cyclic transmission station
SW0060 Maximum link scan time
SW0061 Minimum link scan time
SW0062 Current link scan time
SB00A0 Baton pass status (each station)
SW00A0
to
SW00A7
Baton pass status (each station)
SB00A1 Baton pass status (master station)
SB00AF Baton pass status (station No.0)
SB00B0 Data link status (each station)
SW00B0
to
SW00B7
Data link status (each station)
SB00B1 Data link status (master station)
SB00BF Data link status (station No.0)