3
07.96
Description
3-19
Siemens AG 1996 All Rights Reserved 6ZB5 430–0BH02–1AA0
SINUMERIK 805SM / 840C (BS)
The byte “Manufacturer ID” describes the type of slave station.
L KY n, 2
Load diagnostics for Code 2 (n = station number)
T PW 252
and transfer the diagnostics words
L PW 252
Read and evaluate the diagnostics word
Code = 2
Manufacturer ID
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
The manufacturer ID for IM 328–N, DP slave is 8024
hex
Bit:
Fig. 3-11
Structure of the diagnostics word after request with Code = 2
Note
The IM 328–N module (standard slave mode) and the slave interface of the
IM 329–N module have the same manufacturer ID.
With the device–oriented diagnostics (station diagnostics) you can ascertain
whether the PLC is in RUN or STOP state.
L KY n, 3
Load diagnostics for Code 3 (n = station number)
T PW 252
and transfer the diagnostics words
L KH 0200
Read and evaluate the diagnostics word
L PW 252
Read the diagnostics word
!=F
If the diagnostics word is not equal to the comparison word
BEB
then
SPB FBx
evaluate fault in FBx
Code = 3
Header
7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Station diagnostics
Code for
device–
oriented
diagnostics
Length of the device–
oriented diagnostics
incl. “Header”
(length = 2 bytes)
Always “0”
Bit:
Bit = 1:
PLC STOP in the slave station
Fig. 3-12
Structure of the diagnostics word after request with Code = 3
Requesting
manufacturer ID
Code = 2
Requesting and
reading device–
oriented
diagnostics
Code = 3
3.2 Description of the DP standard slaves