Interrupts, diagnostics messages, error and system alarms
6.3 DP slave diagnostics
CP 1542-5
26
Manual, 11/2014, C79000-G8976-C326-03
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
Standard diagnostics
Byte
Meaning
0
Station status 1
1
Station status 2
2
Station status 3
3
Master address
4...5
Vendor ID of the slave
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
Overview of device-specific diagnostics of the CP with DP-V1 slaves
Device-specific diagnostics
Byte
Meaning
0
Header
1
Variant
Interrupt type
Variant
Status type
2
Slot number
3
Variant
Interrupt specifier
Variant
Status specifier
4...62
Module-specific diagnostics data