Structure Of The Status Message; Structure Of The Status Message, Continued - Siemens Simatic 6ES7 157-0AD81-0 A0 Series Manual

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

Advertisement

Diagnostics Using the User Program

Structure of the status message

The status message consists of 60 bytes.
Byte x
Byte x+1
Byte x+2
Byte x+3
Slaves that have reported diagnosis
Byte x+4
Byte x+5
.
.
Byte x+18
Byte x+19
Slaves that are engaged in data exchange with the IM 157
Byte x+20
Byte x+21
.
.
Byte x+34
Byte x+35
Continued overleaf
Figure 10-5
Start address x is 100 for both S7 standard operation and redundant operation; in
DP standard master operation, it is dependent on which diagnostic blocks are
present (see Table 10-2).
10-10
7 6 5 4 3 2 1 0
Bit no.
0 0 1 1 1 1 0 0
Length of the diagnostic blockincluding byte x
(= 60 bytes)
Code for station diagnosis
81
Status type: status message
H
Not applicable
Not applicable
7
6
5
4
3
7
6
5
4
3
15
14
13
12
11
.
.
119 118 117 116 115 114 113 112
125 124 123 122 121 120
If the bit is set, this indicates that the slave with the corresponding address
reported a diagnosis.
7
6
5
4
3
7
6
5
4
3
15
14
13
12
11
.
.
119 118 117 116 115 114 113 112
125 124 123 122 121 120
If the bit is set, this indicates that the slave with the corresponding address
is engaged in data exchange with the IM 157.
Structure of the status message
2
1
0
Bit no.
Addresses 3 to 7
10
9
8
Addresses 8 to 15
.
.
.
.
Addresses 112 to 119
Addresses 120 to 125
2
1
0
Bit no.
Addresses 3 to 7
10
9
8
Addresses 8 to 15
.
.
.
.
Addresses 112 to 119
Addresses 120 to 125
DP/PA Link and Y Link Bus Couplings
A5E00193841-01 1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents