Diagnostics
89
If the value is SLV_ERR_TX_LEN_MISM, the master has requested data
from the slave with a length different from the length configured for the
slave. If there is a transmit length mismatch, the card won’t communicate as a
slave
If the value is SLV_ERR_WD_FACT_INV, one of the two slave watchdog
factors is zero, which is not allowed.
If the value is SLV_ERR_TIME_OUT, the slave’s watchdog timed out. The
slave goes offline and must be reinitialized by the master.
If the value is SLV_ERR_WARN_WD_DIS, the master has disabled the
slave watchdog.
9.9 Diagnostic Counters
The scanner maintains a variety of diagnostic counters to indicate:
• general statistics on messages sent and received, etc.
• the state of the master
• network statistics
The counters are located in the M1 file from 4100 to 4200.
To reset these counters to 0, set the low byte of register 4100 to a non-zero
value. The scanner then clears the counters to 0 and clears register 4100 back
to 0 to indicate that it has cleared the counters.
The counters are also cleared when you put the SLC in program mode.
In the following, counters with a name beginning with “diag” roll over to zero
when they reach their maximum value. Counters with a name beginning with
“err” hold their maximum value. ‘L’ indicates low byte; ‘H’ indicates high
byte.
Name Location Description
pfbInitCtrs 4100L If non-zero, scanner clears counters
errLanOffline 4100H LAN went offline because of errors
diagConf 4101 Total confirmations
diagInd 4102 Total indications
errNotOk 4103 Total not OK confirmations and
indications
diagTokHldTime 4104-4105 Instantaneous token hold time