PROFIBUS USER MANUAL Leine & Linde AB
Part Id: 740590-01
30
Document Id: 740590 Ver. 01
Publication date: 2010-06-01
DDLM_Slave_Diag
Octet
7
Bits
7
6
5 – 0
Data 0
0
xxh
Set to 00
Length incl. header
Extended
diagnosis
Table 21 Diagnostic header
5.6.2 Alarms
Alarm is generated by the device when failure occurs which effects the position value.
Octet 8 in the diagnostic function (DDLM_Slave_Diag) indicates the status of the
alarms. Additional alarms for device class 2 are added in the diagnostic octet 17.
If an alarm is given, the Ext_Diag bit and the Stat_Diag bit in the diagnostic function
are set to high and remain high until the alarm is cleared and the encoder can provide
a correct position value. Alarms are cleared when the functionality is within the
specification and the position value is correct.
Note:
Not every encoder supports every alarm. For encoders of class 2 the diagnostic
information "supported alarms" (see Chapter 5.6.8) makes it possible to find
out which individual alarm bits are supported.
DDLM_Slave_Diag
Octet
8
Bits
7 – 0
Alarms
Bits Definition
= 0
= 1
0 Position
error
No
Yes
1 Voltage
supply
error
No
Yes
2
Current is too high
No
Yes
3 Commissioning
diagnostics OK Error
4 Memory
error
No
Yes
5
Currently
not
assigned
6
7
Table 22 Alarms
5.6.3 Operating Status
Octet 9 in the diagnostic function provides information about encoder-specific
parameters. A class 2 encoder sets the functionality bit for class 2 commands in order
to show the DP master that all class 2 commands are supported. The DP master must
activate the class 2 functionality bit in the parameter message (DDLM_Set_Prm) to
enable the use of class 2 functions.
The status bit of the scaling function is set when the scaling function is activated and
the resolution of the encoder is calculated by means of the scaling parameters.