Diagnostics
87
The bits in station status byte 2 are:
high byte = 08h (error in diagnostic status byte #2 during diagnostic read)
The value in the low byte depends on the value returned by the slave in the
second station status byte when the master reads diagnostics while online.
Mask the value with 080h and any bits that are set should not be set. Mask the
value in the low byte with 04h and bit 2 should be set. The bits in station
status 2 are shown in the above table.
9.7 DP Slave Status Register
The scanner reports the status its operation as a DP slave by setting bits in the
slave status register, register 4017 in the M1 file.
The scanner sets bit 6, SLV_STS_RUN_MODE, if it’s being scanned by a
DP master in run mode.
The scanner sets bit 7, SLV_STS_OK, if the current slave status is OK. This
means parameterization was successful and the slave watchdog hasn’t timed
out.
Bit Meaning
7 Slave has been marked inactive by the master
6 reserved
5 The slave has received a Sync command
4 The slave has received a freeze command
3 The slave watchdog has been activated
2 The slave sets this bit to 1
1 Slave is requesting a diagnostic read.
0 Slave is requesting reparameterization