3
07.96
Description
3-20
6ZB5 430–0BH02–1AA0
Siemens AG 1996 All Rights Reserved
SINUMERIK 805SM / 840C (BS)
Request diagnostics OVERVIEW:
Transfer value 127 for call of the diagnostics “Overview” in the “Diagnostics
address” byte (here I/O byte 252). The number of the station group
n = 0, 1, 2, ...7) is specified in the “Diagnostics a 1” byte
(here I/O byte 253). The diagnostics OVERVIEW comprises station (n
16)
to station (n
16 + 15) for each station group.
The master writes the diagnostics message in the I/O word 252.
Read diagnostics OVERVIEW
If no station has sent
diagnostics message,
then end of block,
otherwise evaluate error
in FB x.
Diagnostics word from diagnostics OVERVIEW
Diagnostics address
Diagnostics a 1
Bit 7
6
5
4
3
2
1
0
Bit 7
6
5
4
3
2
1
0
Station
Station
n
16
+7
n
16
+6
n
16
+5
n
16
+4
n
16
+3
n
16
+2
n
16
+1
n
16
n
16
+15
n
16
+14
n
16
+13
n
16
+12
n
16
+11
n
16
+10
n
16
+9
n
16
+8
has sent a diagnostics message
has sent a diagnostics message
You can use the following programming steps to check station 5 with
diagnostics OVERVIEW:
Call diagnostics OVERVIEW with station group 0
(stations 0 to 15) and
transfer into a
flagword.
If station 5 has sent a diagnostics message,
then evaluate error in FB x.
Example
.
.
.
L KY 127,n
T PW 252
L KH 0000
L PW 252
!=F
BEB
SPB FBx
.
.
.
.
.
.
L KY 127,0
T PW 252
L PW 252
T MW 252
U M 252.5
SPB FBx
.
.
.
3.2 Description of the DP standard slaves