Structure Of The Module Diagnosis - Siemens Simatic 6ES7 157-0AD81-0 A0 Series Manual

Dp/pa link and y link bus couplings
Table of Contents

Advertisement

Structure of the module diagnosis

The module diagnosis comprises 31 bytes.
Each slave slot occupies one bit. The slaves are arranged in ascending order by
their PROFIBUS addresses.
A bit is set if:
S the corresponding slave for the respective slot delivers a module diagnosis, or
S the corresponding configured slave is not engaged in data exchange with the
DP master.
Byte 6
Byte 7
Byte 8
.
.
Byte 34
Byte 35
Byte 36
Figure 10-3
DP/PA Link and Y Link Bus Couplings
A5E00193841-01 1
7
6 5 4 3 2 1 0
0 1 0 1 1 1 1 1
Length of the diagnostic blockincluding byte 6
(= 31 bytes)
Code for module diagnosis
7
6
5
4
8
7
6
5
16
15
14
13
12
.
.
224
223 222 221 220 219 218 217
232
231 230 229 228 227 226 225
236 235 234 233
The set bit indicates that a slave either reported a diagnosis for the
respective slot or failed.
Structure of the module diagnosis
Diagnostics Using the User Program
Bit no.
3
2
1
0
Bit no.
4
3
2
1
Slots 1 to 8
11
10
9
Slots 9 to 16
.
.
.
.
Slots 217 to 224
Slots 225 to 232
Slots 233 to 236
10-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents