PROFIBUS USER MANUAL Leine & Linde AB
Part Id: 740590-01
29
Document Id: 740590 Ver. 01
Publication date: 2010-06-01
5.6 Diagnostics
The diagnostic information contains diagnostic data which are defined in the
PROFIBUS-DP specification (octets 1 to 6) but also encoder-specific diagnostic data:
DDLM_Slave_Diag
Diagnostic function
Data type
Diagnostic.
octet number
Device
class
Station status 1
Bits
1
1
Station status 2
Bits
2
1
Station status 3
Bits
3
1
Diagnostic master address
Bits
4
1
PNO identification number
Bits
5 – 6
1
Extended diagnostic header
Octet string
7
1
Alarms Octet
string
8
1
Operating Status
Octet string
9
1
Encoder type
Octet string
10
1
Singleturn resolution (encoder)
Measuring unit (linear encoder)
32 without sign
11 – 14
1
Number of distinguishable revolutions 16 without sign
15, 16
1
Additional alarms
Octet string
17
2
Supported alarms
Octet string
18, 19
2
Warnings
Octet string
20, 21
2
Supported warnings
Octet string
22, 23
2
Profile version
Octet string
24, 25
2
Software version
Octet string
26, 27
2
Operating time
32 without sign
28 – 31
2
Offset value
32 with sign
32 – 35
2
Manufacturer offset value
32 with sign
36 – 39
2
Measuring units per revolution
32 without sign
40 – 43
2
Total measuring range in measuring
units
32 without sign
44 – 47
2
Serial number
ASCII string
48 – 57
2
Reserved for future definitions
58 - 61
2
Table 20 Diagnostics message, DPV0
Note:
The length of the diagnostic information of class 1 is limited to 16 bytes,
compatible with previous DP versions. For PROFIBUS-DP encoders of class 2,
the length of the encoder specific diagnostic data including the extended
diagnostic header is 57 bytes.
The DDLM_Slave_Diag memory range up to octet 99 is reserved for future diagnostic
data of class 2.
5.6.1 Diagnostic Header
The header byte specifies the length of the encoder diagnostics including the header
byte. The format of the transmission length is hexadecimal. For the PROFIBUS-DP
encoder of class 1 the length of the encoder-specific diagnostic data is 10 bytes
(0Ahex).