
5 DP Diagnostics from the User Program of a SIMATIC S7−300
A−122
S7-CPs for PROFIBUS Configuring and Commissioning
Release 09/2011
C79000−G8976−C181−05
Response
Note the following response during execution and on the interface to your user
program:
The status “Evaluation of DP diagnostic list useful” in DPSTATUS is reset by
reading the diagnostic list.
The station−related bits in the diagnostic list stored on the CP are reset after
reading out the relevant single diagnostics information.
Note
If the single diagnostics information is read before the diagnostic list is evaluated,
neither the bits in DPSTATUS nor the bits in the diagnostic list will be reset!
5.4.3 Reading out DP Single Diagnostics
Application Program
The DP_DIAG function is used to read out the DP single diagnostic data. The
necessary parameters are explained in the description of the block. DP_DIAG is
described in /6/.
Saving the Diagnostic Data
The DP diagnostic data can be read into a data block or a bit memory area on the
CPU. The address must be specified in the DP−DIAG block call.
Comments to this Manuals