Interrupts, diagnostics messages, error and system alarms
6.3 DP slave diagnostics
User program (DP master)
To read out the diagnostics data of the DP slave (DP single diagnostics), use the
"DPNRM_DG" instruction on the DP master.
Diagnostics interrupts of DP-V1 slaves are evaluated in the user program of the master
using the "RALRM" instruction.
You will find the required parameter assignment for the instructions in the STEP 7 online
help.
Below, there is an overview of the structure of the diagnostics data.
Overview of standard diagnostics
Overview of device-specific diagnostics
The device-specific diagnostics data depends on the protocol variant operating on the DP
slave:
● DP-V1 slave
Table 6- 2
4...62
26
Byte
0
1
2
3
4...5
Overview of device-specific diagnostics of the CM with DP-V1 slaves
Byte
0
1
Interrupt type
2
3
Interrupt specifier
Standard diagnostics
Meaning
Station status 1
Station status 2
Station status 3
Master address
Vendor ID of the slave
Device-specific diagnostics
Meaning
Header
Variant
Slot number
Variant
Module-specific diagnostics data
Variant
Status type
Variant
Status specifier
Manual, 11/2014, C79000-G8976-C290-02
CM 1542-5