227
CHAPTER 11 PROGRAMMING
11
11.3 Using Link Special Relay (SB) and Link Special Register (SW)
(b) Checking the line status (own station)
1. If there is a line error in own station, one of SB006A to SB006F is turned on.
2. Line status can be checked by SW0064, and SW0066 to SW006B.
(4) Detecting cable disconnections
Cable disconnection is detected by CC-Link IE Field Network diagnostics, but can also be detected through link
special relays (SB) and link special registers (SW). ( Page 124, CHAPTER 9)
1. If a cable is disconnected, baton pass error causes Baton pass status (own station) (SB0047) to
turn on.
2. 30
H
is stored in Cause of baton pass interruption (SW0048).
Details on the causes of error can be checked by link special relay (SB) and link special register (SW)
corresponding to the station number where the error has occurred.
Number Description Number Description
SB006A PORT1 linkup status (own station) SW0064 Connection status (own station)
SB006B PORT2 linkup status (own station) SW0066 Actual link scan time (lower 1 word)
SB006C PORT1 error frame reception status (own station) SW0067 Actual link scan time (upper 1 word)
SB006D PORT2 error frame reception status (own station) SW0068 PORT1 line error occurrence rate (max.)
SB006E PORT1 error frame detection (own station) SW0069 PORT1 line error occurrence rate (present)
SB006F PORT2 error frame detection (own station) SW006A PORT2 line error occurrence rate (max.)
SW006B PORT2 line error occurrence rate (present)
Number Description Number Description
SB0047 Baton pass status (own station) SW0048 Cause of baton pass interruption