Siemens SIMATIC NET CP 1542-5 Equipment Manual page 32

Table of Contents

Advertisement

Diagnostics and maintenance
5.1 Diagnostics
Supported diagnostics functions
The CP 1542-5 supports the following blocks of DP diagnostics:
• Standard diagnostics (6 bytes)
• Identifier-related diagnostics (2 to 17 bytes), depending on the number of configured
transfer areas
• Module status (5 to 35 bytes), depending on the number of configured transfer areas
• If it exists: Diagnostics interrupt (8 bytes)
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 5- 1
4...62
32
Byte
0
1
2
3
4...5
Overview of device-specific diagnostics of the CP 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
Equipment Manual, 01/2023, C79000-G8976-C326-05
Variant
Status type
Variant
Status specifier
SIMATIC CP 1542-5

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-1500

Table of Contents