Real Time Automation, Inc.
54
1-800-249-1612
Status Strings
-
These are the values for
All Slaves
or the Specific Slave Selected.
Last Read Error Code:
-Last Read Request Error that the gateway received
Last Write Error Code:
-Last Write Request Error that the gateway received
Error Code Breakdown
:
Format of Error: STS='Err Code',EXT_STS='Err Code' (N:'Slave Destination ID' A:'DF1 Request Address in
Offset Notation' L:'Number of points to Read')
1)
STS='Err Code',EXT_STS='Err Code' (N:'Slave Destination ID' A:'DF1 Request Address in Offset
Notation' L:'Number of points to Read/Write')
a.
NOTE: The Slave Destination ID will inform you of the device that had the error. The DF1
Request Address and Length will inform you the specific scan line that had the error
2)
Error Codes:
a.
Most common STS error ix 0x010:
“
Illegal command or format
”
Potential issues:
i)
Selected Communication Command is not supported by the Slave device
ii)
File Type and File Number does not exist in the Slave device
iii)
File Offset does not exist in the Slave device File Type and File Number
iv)
Attempting to read more data elements than exist in the Slave device
3)
N (Slave Destination ID):
-
Slave Destination ID of the Slave that the error was received from
4)
A (DF1 Request Address):
-
Starting Address of the DF1 Request in Offset Notation that the error was received from
5)
L (Length):
-
Number of Points of the request that the error was received from
Example:
This Error Code indicates STS 0x10, EXT_STS=0x00,
“Illegal command or format”
. Other details are:
N:55, from Slave device with Destination ID of 55
A:ST155:44444; File Type of ST, File Number of 155, File Offset of 44444
L:1, the scan line with a single point was rejected
The Error Code indicates
not valid
, so check to see if there is a File Type of ST with File Number 155 set
up. Also make sure that the File Offset of 44444 is valid in ST155 for a length of 1.