Diagnostics
Original instructions
Introduction
You can get diagnostic information about the 140CRA31908 adapter module from these sources:
NOTE: In a redundant configuration, IO led is flickering on both 140CRA31908 modules when all S908 drops are off.
Control Expert Diagnostics Viewer
Control Expert includes a diagnostics viewer, which logs the following S908 events :
To open the diagnostic viewer, in the Control Expert main menu select (Tools → Diagnostic Viewer).
Rack Viewer Web Page
The 140CRA31908 module web pages include a rack viewer. Access the rack viewer from the Diagnostics tab (Menu → System → Rack Viewer). In the rack viewer, you can view the following diagnostic data:
S908 Diagnostics Information (%SW)
Word
Description
IOHEALTH
32 remote drops, 5 racks per drop, 16 modules per rack, 1 health bit per module
RIOERRSTAT
RIO error detected on start-up (1 word)
CAERRCNT
communication status on cable A (3 words)
CBERRCNT
communication status on cable B (3 words)
GLOBERRCNT
global communication status (3 words)
Drops, error counters
Three status words used per remote drop (32 * 3 = 96 words)
System Words %SW185 to %SW764
The RIO master provides a large amount of data to diagnose the S908 network, which is copied into the system words.
The 140CRA31908 module (not the 140CRP93•00 module) updates the M580 CPU with S908 network diagnostic and health information. The 140CRP93•00 module communicates with the Quantum S908 remote drops but does not provide diagnostic data to the M580 CPU.
The words %SW185 to %SW339 are associated with Quantum S908 remote drops 2 to 32. Each remote drop has up to five words, and each word is assigned to a configured rack.
NOTE: You can install a maximum of two Quantum S908 remote racks. The 800 Series can support up to five racks.
This table describes the applicable system words:
Word
Description
Relevance
%SW185
module health bits
Quantum S908 remote drop 2, rack 1
%SW186
module health bits
Quantum S908 remote drop 2, rack 2
%SW335
module health bits
Quantum S908 remote drop 32, rack 1
%SW336
module health bits
Quantum S908 remote drop 32, rack 2
%SW535
CRP start error detection
S908 communication diagnostic
%SW536
least significant byte
dma overrun count (detected error counter)
CABLE A COM STATUS
most significant byte
frame size (detected error counter)
%SW537
least significant byte
remote drop receive (detected error counter)
CABLE A COM STATUS
most significant byte
frame not OK (detected error counter)
%SW538
least significant byte
bit 0: short frame
CABLE A COM STATUS
bit 1: detected CRC error
bit 2: overrun
bit 3: not affected
bit 4: abort
bits 5 ... 7: residual character length
most significant byte
always 0
%SW539
least significant byte
dma overrun count (detected error counter)
CABLE B COM STATUS
most significant byte
frame size (detected error counter)
%SW540
least significant byte
remote drop receive (detected error counter)
CABLE B COM STATUS
most significant byte
frame not OK (detected error counter)
%SW541
least significant byte
bit 0: short frame
CABLE B COM STATUS
bit 1: detected CRC error
bit 2: overrun
bit 3: not affected
bit 4: abort
bits 5 ... 7: residual character length
most significant byte
always 0
%SW542
least significant byte
cumulative retry counter
GLOBAL COM STATUS
most significant byte (remote drop health bits)
bit 15: remote drop comm healthy bit
bit 14: cable A healthy bit
bit 13: cable B healthy bit
bit 12
bit 11 ... 8: lost communication counter
%SW543
least significant byte
no response counter (cable A)
GLOBAL COM STATUS
most significant byte
frame (detected error counter), cable A
%SW544
least significant byte
no response counter, cable B
GLOBAL COM STATUS
most significant byte
frame (detected error counter), cable AB
%SW548
least significant byte
cumulative retry counter
DROP 2 COM STATUS
most significant byte (remote drop health bits)
bit 15: remote drop comm healthy bit
bit 14: cable A healthy bit
bit 13: cable B healthy bit
bit 12
bit 11 ... 8: lost communication counter
%SW549
least significant byte
no response counter (cable A)
DROP 2 COM STATUS
most significant byte
frame (detected error counter), cable A
%SW550
least significant byte
no response counter, cable B
DROP 2 COM STATUS
most significant byte
frame (detected error counter), cable B
%SW638
DROP 32 COM STATUS
%SW639
%SW640
NOTE: System words %SW180 ... %SW184 are reserved for the Quantum local rack.
This table describes the Quantum-specific system words %SW185 to %SW547:
Word
Symbol
%SW185 to %SW339
IOHEALTHij
i=1...32, j=1...5
Function
health bits of the PLC modules (Including redundant CPUs)
Initial State
0
Words %SW185 to %SW339 are associated with remote drops 2 to 32. Each remote drop has five available words, but only the first two are used:
  • %SW185: module health bits of the Quantum S908 remote drop 2 (main rack)
  • %SW186: module health bits of the Quantum S908 remote drop 2 (extension rack)
  • %SW187: reserved
  • %SW188: reserved
  • %SW189: reserved
  • ...
  • %SW335: module health bits of Quantum S908 remote drop 32 (main rack)
  • %SW336: module health bits of Quantum S908 remote drop 32 (extension rack)
  • %SW337: reserved
  • %SW338: reserved
  • %SW339: reserved
Bits 0 to 15 of each of these words are associated with the modules located in positions 16 to 1 of these racks.
The bit equals 0 if the module is inoperative and equals 1 if the module is operating correctly.
Example: %SW185.5 = 0: the module located in remote drop 2, main rack, slot 11 is inoperative.
NOTE: Modules 140XBE10000 require a special management.
NOTE: Extension racks are not used in Safety PLCs. Only the PLC’s main rack system words %SW185, %SW190...%SW335) are available in Safety PLCs.
%SW535
RIOERRSTAT
Function
RIO error detected on start-up
Initial State
–
This word stores the code for the detected start-up error. This word is always set to 0 when the system is running; in the event of an error detection, the PLC does not start up, but generates a stop status code.
01: I/O assignment length
02: Remote I/O link number
03: Number of remote drops in the I/O assignment
04: I/O assignment checksum
10: Length of the remote drop descriptor
11: Remote drop number
12: Remote drop autonomy time
13: ASCII port number
14: Number of remote drop modules
15: Remote drop already configured
16: Port already configured
17: More than 1024 output points
18: More than 1024 input points
20: Module slot address
21: Module rack address
22: Number of output bytes
23: Number of input bytes
25: First reference number
26: Second reference number
28: Internal bits outside the 16 bit range
30: Unpaired odd output module
31: Unpaired odd input module
32: Unpaired odd module reference
33: Reference 1x after register 3x
34: Reference of dummy module already used
35: Module 3x is not a dummy module
36: Module 4x is not a dummy module
%SW536
CAERRCNT1
%SW537
CAERRCNT2
%SW538
CAERRCNT3
Function
Communication status on cable A
Initial State
–
These words are the detected communication error words on cable A:
  • %SW536:
    • most significant byte: counts framing (detected errors)
    • least significant byte: counts overruns of the DMA receiver
  • %SW537:
    • most significant byte: counts receiver (detected errors)
    • least significant byte: counts incorrect remote drop receptions
  • %SW538:
    • %SW538.15 = 1, short frame
    • %SW538.14 = 1, no end-of-frame
    • %SW538.3 = 1, detected CRC error
    • %SW538.2 = 1, detected alignment error
    • %SW538.1 = 1, detected overrun error
    • %SW538.13 to %SW538.4 and %SW538.0 are unused
%SW539
CBERRCNT1
%SW540
CBERRCNT2
%SW541
CBERRCNT3
Function
Communication status on cable B
Initial State
–
These words are the detected communication error words on cable B:
  • %SW539:
    • most significant byte: counts framing (detected errors)
    • least significant byte: counts overruns of the DMA receiver
  • %SW540:
    • most significant byte: counts receiver (detected errors)
    • least significant byte: counts incorrect remote drop receptions
  • %SW541:
    • %SW541.15 = 1, short frame
    • %SW541.14 = 1, no end-of-frame
    • %SW541.3 = 1, detected CRC error
    • %SW541.2 = 1, detected alignment error
    • %SW541.1 = 1, detected overrun error
    • %SW541.13 to %SW541.4 and %SW541.0 are unused
%SW542
GLOBERRCNT0
%SW543
GLOBERRCNT1
%SW544
GLOBERRCNT2
Function
Global communication status
Initial State
–
These words are the detected global communication error words:
  • %SW542: displays the global communication status:
    • %SW542.15 = 1, communication operating correctly
    • %SW542.14 = 1, communication on cable A operating correctly
    • %SW542.13 = 1, communication on cable B operating correctly
    • %SW542.11 to %SW542.8 = lost communications counter
    • %SW542.7 to %SW542.0 = retry totalizer counter
    NOTE: If cable A is disconnected from the standby PLC, standby status remains active. The primary PLC takes into account the standby PLC, but instead of showing %SW542.14 = 0, the primary %SW542.14 toggles between 0 and 1.
  • %SW543: is the total detected global error counter for cable A:
    • most significant byte: counts the errors detected
    • least significant byte: counts "non-responses"
  • %SW544: is the total detected global error counter for cable B:
    • most significant byte: counts the errors detected
    • least significant byte: counts "non-responses"
%SW545
MODUNHEALTH1
%SW546
IOERRCNT1
%SW547
IORETRY1
Function
Status of the local rack
Initial State
–
For the PLCs where drop 1 is reserved for local input/outputs, these status words are used in the following way:
  • %SW545: status of the local rack:
    • %SW545.15 = 1, all modules are operating correctly
    • %SW545.14 to %SW545.8 = unused, always set to 0
    • %SW545.7 to %SW545.0 = number of times the module appears to be inoperable; the counter loops back at 255
  • %SW546: counts detected 16-bit input/output bus errors
  • %SW547: counts detected 16-bit input/output bus repetitions
Web
You can get additional diagnostics information through web pages: