Description of Quantum-specific System Words %SW180 to %SW764
Original instructions
Detailed Description
Description of system words %SW180 to %SW764:
Word
Symbol
%SW180 to %SW339
IOHEALTHij
i=1...32, j=1...5
Function
Health bits of the PLC modules (Including Hot Standby CPUs)
Initial State
0
Words %SW180 and %SW181 are associated with the Standalone or Primary PLC local racks: main rack for %SW180 and extension rack for %SW181.
Words %SW182 and %SW183 are associated with the Standby PLC: main rack for %SW182 and extension rack for %SW183.
NOTE: SW182 and %SW183 are not used in a Standalone PLC.
NOTE: Safety Hot Standby systems don’t have extension racks so they do not use SW181 and %SW183 system words.
%SW184 is reserved.
Words %SW185 to %SW339 are associated with drops 2 to 32. Each drop has 5 words assigned to the main and up to four configured extension racks:
  • %SW185: module health bits of the S908 drop 2, rack 1 (main).
  • %SW186: module health bits of the S908 drop 2, rack 2 (extension).
  • %SW187 module health bits of the S908 drop 2, rack 3 (extension).
  • %SW188 module health bits of the S908 drop 2, rack 4 (extension).
  • %SW189 module health bits of the S908 drop 2, rack 5 (extension).
  • ...
  • %SW335: module health bits of the S908 drop 32, rack 1.
  • %SW336: module health bits of the S908 drop 32, rack 2.
  • %SW337 module health bits of the S908 drop 32, rack 3.
  • %SW338 module health bits of the S908 drop 32, rack 4.
  • %SW339 module health bits of the S908 drop 32, rack 5.
NOTE: The Quantum drops support only two racks and system words for rack 3, 4, and 5 are not used. The 800 Series I/O drops support up to five racks.
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 drop 2, main rack, slot 11 is inoperative.
NOTE: Modules 140 XBE 100 00 require a special management.
NOTE: Extension racks are not used in Safety PLCs, only the PLCs main rack system words (%SW180, %SW185, %SW190...%SW335) are available in Safety PLCs.
%SW340
MB+DIOSLOT
Function
Slot number of the processor with Modbus+ link
Initial State
Slot number of the processor with the built-in Modbus+ link for connection to the first DIO network. The slot number is coded from 0 to 15.
NOTE: This word is not available on Quantum safety PLCs.
%SW341 to %SW404
MB+IOHEALTHi
i=1...64
Function
Operating status of the distributed station modules of the first DIO network
Initial State
The words %SW341 to %SW404 are associated with the distributed stations (DIO): 64 words associated with the 64 DIO stations of the first network:
  • %SW341: operating status of the station 1 modules.
  • %SW342: operating status of the station 2 modules.
  • ...
  • %SW404: operating status of the station 64 modules.
Bits 0 to 15 of each of these words are associated with the modules located in positions 16 to 1 of these stations.
The bit is set to 0 if the module is faulty, and set to 1 if the module is operating correctly.
Example: %SW362.5 =0
The module located in station 22 slot 11 of the first DIO network is faulty.
NOTE: For modules 140 CRA 2•• ••• the value of this bit is not significant, and is always set to 0.
NOTE: These words are not available on safety PLCs and Quantum Ethernet I/O DIO network.
%SW405
NOM1DIOSLOT
Function
Slot number of the first interface module of the DIO network
Initial State
Slot number of module 140 NOM 2•• •• for connection to the second DIO network.
The slot number is coded from 0 to 15.
NOTE: This word is not available on Quantum safety PLCs.
%SW406 to %SW469
NOM1DIOHEALTHi
i=1...64
Function
Operating status of the distributed station modules of the second DIO network
Initial State
The words %SW406 to %SW469 are associated with the distributed stations (DIO): 64 words associated with the 64 DIO stations of the second network:
  • %SW406: operating status of the station 1 modules.
  • %SW407: operating status of the station 2 modules.
  • ...
  • %SW469: operating status of the station 64 modules.
Bits 0 to 15 of each of these words are associated with the modules located in positions 16 to 1 of these stations.
The bit is set to 0 if the module is faulty, and set to 1 if the module is operating correctly.
Example: %SW412.5 = 0
The module located in station 7 slot 11 of the second DIO network is faulty.
NOTE: For modules 14  CRA 2•• ••• the value of this bit is not significant, and is always set to 0.
NOTE: These words are not available on safety PLCs and Quantum Ethernet I/O DIO network.
%SW470
NOM2DIOSLOT
Function
Slot number of the second interface module of the DIO network
Initial State
Slot number of module 140 NOM 2•• •• for connection to the third DIO network.
The slot number is coded from 0 to 15.
NOTE: This word is not available on Quantum safety PLCs.
%SW471 to %SW534
NOM2DIOHEALTHi
i=1...64
Function
Operating status of the distributed station modules of the third DIO network
Initial State
The words %SW471 to %SW534 are associated with the distributed stations (DIO): 64 words associated with the 64 DIO stations of the third network:
  • %SW471: operating status of the station 1 modules.
  • %SW472: operating status of the station 2 modules.
  • ...
  • %SW534: operating status of the station 64 modules.
Bits 0 to 15 of each of these words are associated with the modules located in positions 16 to 1 of these stations.
The bit is set to 0 if the module is faulty, and set to 1 if the module is operating correctly.
Example: %SW520.5 = 0
The module located in station 86 slot 11 of the third DIO network is faulty.
NOTE: For modules 140 CRA 2•• ••• the value of this bit is not significant, and is always set to 0.
NOTE: These words are not available on safety PLCs and Quantum Ethernet I/O DIO network.
%SW535
RIOERRSTAT
Function
RIO error on start-up
Initial State
This word stores the start-up error code. This word is always set to 0 when the system is running; in the event of error, 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 stations in the I/O assignment
04: I/O assignment checksum
10: Length of the station descriptor
11: I/O station number
12: Station autonomy time
13: ASCII port number
14: Number of station modules
15: Station 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
The words %SW536 to %SW538 are the communication error words on cable A.
  • %SW536:
    • most significant byte: counts framing errors
    • least significant byte: counts overruns of the DMA receiver.
  • %SW537:
    • most significant byte: counts receiver errors
    • least significant byte: counts incorrect station receptions.
  • %SW538:
    • %SW538.15 = 1, short frame
    • %SW538.14 = 1, no end-of-frame
    • %SW538.3 = 1, CRC error
    • %SW538.2 = 1, alignment error
    • %SW538.1 = 1, 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
The words %SW539 to %SW541 are the communication error words on cable B.
  • %SW539:
    • most significant byte: counts framing errors.
    • least significant byte: counts overruns of the DMA receiver.
  • %SW540:
    • most significant byte: counts receiver errors.
    • least significant byte: counts incorrect station receptions.
  • %SW541:
    • %SW541.15 = 1, short frame
    • %SW541.14 = 1, no end-of-frame
    • %SW541.3 = 1, CRC error
    • %SW541.2 = 1, alignment error
    • %SW541.1 = 1, overrun error
    • %SW541.13 to %SW541.4 and %SW541.0 are unused
%SW542
GLOBERRCNT0
%SW543
GLOBERRCNT1
%SW544
GLOBERRCNT2
Function
Global communication status
Initial State
The words %SW542 to %SW544 are the 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 the cable A is disconnected from the Standby PLC, standby status remains active. So the Primary PLC takes into account standby PLC, but instead of showing %SW542.14 = 0, the Primary %SW542.14 toggles between 0 and 1.
  • %SW543: is the global error totalizer counter for cable A:
    • most significant byte: counts the errors detected.
    • least significant byte: counts "non-responses".
  • %SW544: is the global error totalizer 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 station
Initial State
For the PLCs where station 1 is reserved for local input/outputs, the status words %SW545 to %SW547 are used in the following way:
  • %SW545: status of the local station:
    • %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 has appeared defective; the counter loops back at 255.
  • %SW546: this is used as a counter for 16-bit input/output bus errors.
  • %SW547: this is used as a counter for 16-bit input/output bus repetitions.
%SW548 to %SW640
MODUNHEALTHi IOERRCNTi IORETRYi
i=2...32
Function
Status of decentralized stations
Initial State
The words %SW548 to %SW640 are used to describe the status of the decentralized stations. 3 status words are used for each station:
  • %SW548: displays the global communication status for station 2:
    • %SW548.15 = 1, communication operating correctly.
    • %SW548.14 = 1, communication on cable A operating correctly.
    • %SW548.13 = 1, communication on cable B operating correctly.
    • %SW548.11 to %SW548.8 = lost communications counter.
    • %SW548.7 to %SW548.0 = retry totalizer counter.
  • %SW549: is the global error totalizer counter for cable A station 2:
    • most significant byte: counts the errors detected.
    • least significant byte: counts "non-responses".
  • %SW550: is the global error totalizer counter for cable B station 2:
    • most significant byte: counts the errors detected.
    • least significant byte: counts "non-responses".
The words:
  • %SW551 to %SW553 are assigned to station 3.
  • %SW554 to %SW556 are assigned to station 4.
  • ...
  • %SW638 to %SW640 are assigned to station 32.
%SW641 to %SW702
ERIO_MOD_HEALTH
Function
Ethernet RIO Module Health bit status
Initial State
0
The words %SW641 to %SW702 are the Quantum Ethernet I/O module health bits:
%SW641: health bits of the modules on rack 1, drop 1.
%SW641:
  • rack 0 in BMX CRA 312 •0 drop 1.
  • rack 1 in 140 CRA 312 00 drop 1.
%SW642:
  • rack 1 in BMX CRA 312 •0 drop 1.
  • rack 2 in 140 CRA 312 00 drop 1.
NOTE:
for BMX CRA 312 •0
  • Rack 0 is the main rack.
  • Rack 1 is the extension rack.
...
%SW701:
  • rack 0 in BMX CRA 312 •0 drop 31.
  • rack 1 in 140 CRA 312 00 drop 31.
%SW702:
  • rack 1 in BMX CRA 312 •0 drop 31.
  • rack 2 in 140 CRA 312 00 drop 31.
Bits 0 to 15 of each of these words are associated with the modules located in positions:
  • 16 to 1 of the 140 CRA 312 00 Drop module.
  • 15 to 0 of the BMX CRA 312 •0 Drop module.
The bit is set to 0 if the module has a detected error.
It is set to 1 if the module is operating correctly.
NOTE: For BMX CRA 312 •0 drops the Power supply health bit is not significant.
NOTE: %SW703 to %SW764 are reserved by the system.