Description of Quantum-specific System Words %SW128 to %SW177
Original instructions
Detailed Description
Description of system words %SW128 to %SW177; these words are active on Quantum 140 CPU 6•• ••• PLCs:
Word
Symbol
%SW128
NB_P502_CNX
Function
Number of connections open
Initial State
0
The Most Significant Byte of this word indicates the number of TCP connections open on the Ethernet link TCP/IP port 502.
%SW129
NB_DENIED_CNX
Function
Number of connections refused
Initial State
0
This word indicates the number of TCP connections refused on the Ethernet link TCP/IP port 502.
%SW130
NB_P502_REF
Function
Number of messages refused
Initial State
0
This word indicates the number of TCP messages refused on the Ethernet link TCP/IP port 502.
%SW132 and %SW133
NB_SENT_MSG
Function
Number of messages sent
Initial State
0
This double word %SD132 indicates the number of messages sent on the Ethernet link TCP/IP port 502.
%SW134 and %SW135
NB_RCV_MSG
Function
Number of messages received
Initial State
0
This double word %SD134 indicates the number of messages received on the Ethernet link TCP/IP port 502.
%SW136
NB_IOS_CNX
Function
Number of devices scanned
Initial State
0
This word indicates the number of devices scanned on the Ethernet link TCP/IP port 502.
%SW137
NB_IOS_MSG
Function
Number of IO Scanning messages received
Initial State
0
This word indicates the number of messages received per second from the IO Scanning service on the Ethernet link TCP/IP port 502.
%SW138
GLBD_ERROR
Function
Global Data coherence error
Initial State
0
Global Data coherence error
%SW139
BW_GLBD_IOS
Function
Global Data and IO Scanning service load
Initial State
0
The Least Significant Byte of this word measures the percentage of load relating to IO Scanning.
The Most Significant Byte of this word measures the percentage of load relating to Global Data.
%SW140
BW_OTHER_MSG
Function
Load for messaging service and other services
Initial State
0
The Least Significant Byte of this word measures the percentage of load relating to messaging.
The Most Significant Byte of this word measures the percentage of load relating to other services.
%SW141 and %SW142
IP_ADDR
Function
IP Address
Initial State
0
This double word %SD141 receives the IP address of the Ethernet link.
%SW143 and %SW144
IP_NETMASK
Function
IP subnetwork mask
Initial State
0
This double word %SD143 receives the subnetwork mask of the Ethernet link.
%SW145 and %SW146
IP_GATEWAY
Function
Default Ethernet gateway address
Initial State
0
This double word %SD145 receives the address of the default Ethernet gateway.
%SW147 to %SW149
MAC_ADDR1 to 3
Function
MAC Addresses
Initial State
0
The words %SW147, %SW148, %SW149 code the addresses MAC 1, MAC 2 and MAC 3 respectively.
%SW150
Function
Coprocessor version
Initial State
0
This word codes the coprocessor version for 140 CPU 671 60, 140 CPU 672 61, 140 CPU 672 60 and 140 CPU 678 61 PLCs.
The version is displayed in hexadecimal format.
%SW151
BOARD_STS
Function
Status of Ethernet link
Initial State
0
This word codes the status of the Ethernet link:
  • Bit 0 = 0 if the Ethernet link is stopped
  • Bit 1 = 0
  • Bit 2: 0 = half duplex mode, 1 = full duplex
  • Bit 3 = 0
  • Bits 4 to 11: = 7 for Quantum, = 6 for Hot Standby Quantum
  • Bit 12: 0 = 10 Mbits link, 1 = 100 Mbits link
  • Bit 13: 0 = 10/100Base-TX link (twisted pair)
  • Bit 14: 0
  • Bit 15: 0 = Ethernet link inactive, 1 = Ethernet link active
%SW152 to %SW153
ERIO_DROP_ERROR
Function
Detected EIO Drop error status
Initial State
The bits of words %SW152 to %SW153 are associated with the detected Ethernet RIO Drop status.
The bit is set to 0, if at least one I/O module in the drop has a detected error.
It is set to 1, if all modules in the drop are operating correctly.
%SW152.0: Drop No. 1.
%SW152.1: Drop No. 2.
...........
%SW153.14: Drop No. 31.
%SW160 to %SW167
REFRESH_IO
Function
Device operating status determined by IO scanning
Initial State
The bits of words %SW160 to %SW167 are associated with devices that have been IO scanned.
The bit is set to 0, if the device has a detected error.
It is set to 1, if the device is operating correctly.
%SW160.0: device No. 1.
%SW160.1: device No. 2.
...........
%SW167.15: device No. 128.
Note: These system words are only available for Quantum coprocessors, and are unavailable for NOE modules.
%SW168 to %SW171
VALID_GD
Function
Operating status of Global Data
Initial State
The bits of words %SW168 to %SW171 are associated with Global Data.
The bit is set to 0, if the device has a detected error or it is the Published data.
It is set to 1, if the subscribed Global Data is well subscribed.
%SW168.0: SUB ID No. 1.
%SW168.1: SUB ID No. 2.
...........
%SW171.15: SUB ID No. 64.
%SW172 and %SW173
ERIO_CONNECT_STATUS
Function
Standalone and Hot Standby Primary Detected Ethernet IO Communications Drop error status
Initial State
The bits of words %SW172 and %SW173 are associated with the Ethernet RIO Drop connection status.
The bit is set to 0 if the connection between the PLC and the Drop is not operating correctly.
It is set to 1 if the connection is operating correctly.
%SW172.0: Drop No. 1.
%SW172.1: Drop No. 2.
...........
%SW173.14: Drop No. 31.
NOTE: In a Hot Standby system, these are for the Primary CPU.
%SW176 and %SW177
SDBY_ERIO_CONNECT_STATUS
Function
Hot Standby Detected Ethernet IO Communications Drop error status
Initial State
The bits of words %SW176 and %SW177 are associated with Ethernet RIO Drop connection status.
The bit is set to 0 if the connection is not operating correctly.
It is set to 1 if the connection is operating correctly.
%SW176.0: Drop No. 1.
%SW176.1: Drop No. 2.
...........
%SW177.14: Drop No. 31.
NOTE: In a Hot Standby system, these are for the Standby CPU. They are not significant in a Standalone PLC.