User Reference Guide
SST-PB3S-CLX-RLL
38
Slave Functionality
©2014 Molex Inc. Industrial Products Business Unit, Integrated Products Division
Document Edition: 1.0, Document #: 715-0109, Template Edition: 1.1, Template #: QMS-06-045
Use, duplication or disclosure of this document or any of the information contained herein is subject to the restrictions on page ii of this document.
Table 18: DP Slave Status and Error Register
Name
Location
AOP Tag Name
Meaning/Description
DP slave status bit 0 - 5
Local:Slot:S:Data[44].0 - 5
None
Reserved for future use
DP slave status
SLV_STS_RUN_MODE
bit
Local:Slot:S:Data[44].6
SlvStsRunMode
Set to True if the slave is being scanned by a
remote master in "RUN" mode.
DP slave status
SLV_STS_OK bit
Local:Slot:S:Data[44].7
SlvStatusOk
Set to True if the current slave status is OK. This
means parameterization was successful and the
slave watchdog has not timed out.
DP slave error byte
Local:Slot:S:Data[44].8-15
SlvError
The slave sets the error byte to report various
error conditions. If there are multiple errors, the
register contains the value of the last error
encountered.
Table 19: DP Slave Error Byte
(Local:Slot:S:Data[44].8-15, AOP tag Local:Slot.S.SlvError)
Value
Error
Meaning/Description
01h
SLV_ERR_ID_MISM
Slave ID does not match the slave ID configured in the master. If
there is a mismatch, the slave won't communicate with the master.
02h
SLV_ERR_READY_TIME_MISM Ready time for the card is different from the value configured in the
master. The card can communicate as a slave even if the times are
different, but you may experience network errors.
03h
SLV_ERR_UNSUP_REQ
Master has requested Sync or Freeze during parameterization,
which the card does not support.
04h
SLV_ERR_RX_LEN_MISM
Data received from the master has a length different from the length
configured on the card. If there is a receive length mismatch, the
card won't communicate as a slave.
05h
SLV_ERR_TX_LEN_MISM
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.
06h
SLV_ERR_WD_FACT_INV
One of the two slave watchdog factors is zero, which is not allowed.
07h
SLV_ERR_TIME_OUT
Slave's watchdog timed out. The slave goes offline and must be
reinitialized by the master.
08h
SLV_ERR_WARN_WD_DIS
Master has disabled the slave watchdog.
Note
All errors (except SLV_ERR_TIME_OUT) occur when the slave is
being parameterized by the master.