Diagnostics
81
9.3 DP Master Slave Status Table
The area in the M1 file from 4000 to 4007 contains the status of the slaves,
one bit per slave. For example, if the slave at station address 1 is good, bit 1
of register 4000 is set.
In addition, if the status of all slaves is good, bit 0 of register 4013 is set. If
this bit is 0, one or more slaves have bad status.
This table can be used in conjunction with the global fault enable, bit 0 of
register 4010 in the M0 file, and the ignore slave fault table, 4000-4007 in the
M0 file, to fault the SLC if slaves are in error.
If the global fault enable bit is 0, the scanner will not fault the SLC when
there are slave errors. This is the default.
If the global fault enable bit is 1, the scanner will fault the SLC when there
are slave errors. However you can use the ignore slave fault table to tell the
scanner to ignore the status of some slaves.
The ignore slave fault table is organized exactly like the slave status table
above. Set the bit that corresponds to a slave if you want the scanner to ignore
the status of that slave. If the bit for a slave is set, the slave status is shown in
the slave status table but it is not included in the all slaves good flag, bit 0 of
register 4013.
Wait an appropriate time before you turn on the global fault enable bit. It
takes some time for DP slaves to start up. The amount of time depends on the
baud rate and the startup time for the slaves on the network.
bit1514131211109876543210
40001514131211109876543210
4001 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
4002 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32
4003 63 62 61 60 59 58 57 56 55 54 53 52 51 50 49 48
4004 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64
4005 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80
4006 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96
4007 126 125 124 123 122 121 120 119 118 117 116 115 114 113 112