Technical data
Configuring Messages
16.9 Configuring the 'Reporting of System Errors'
Programming with STEP 7
Manual, 05/2010, A5E02789666-01 377
16.9 Configuring the 'Reporting of System Errors'
16.9.1 Overview of 'Report System Error'
With STEP 7, when system errors occur you can output messages with a description of the error
that has occurred and the location of the error to one or more display devices (for example, WinCC,
OP).
16.9.2 Configuring the 'Reporting of System Errors'
Introduction
When a system error occurs, hardware components and DP standard slaves (slaves whose
properties are determined by their GSD file) can trigger organization block calls.
Example: If there is a wire break, a module with diagnostic capability can trigger a diagnostic
interrupt (OB82).
The hardware components provide information for the system errors that occur. The start event
information, that is, the local data of the assigned OB (which contain the data record 0, among
other things), provide general information on the location (such as the logical address of the
module) and type (such as channel error or backup battery failure) of the error.
In addition, the error can be specified in greater detail by means of additional diagnostic information
(reading data record 1 with SFC51 or reading the diagnostic message of DP standard slaves with
SFC13). Examples of this would be channel 0 or 1 and wire break or measuring-range overrun.
With the Report System Error function, STEP 7 offers a convenient way to display diagnostic
information supplied by the component in message form.
STEP 7 generates the necessary blocks and message texts. All the user has to do is load the
generated blocks into the CPU and transfer the texts to connected HMI devices.
To display diagnostic events on an HMI device graphically, you can create a PROFIBUS DP DB
(default DB 125) or a PROFINET IO DB (default DB 126). The elements "Map_ErrorNo" and
"Map_HelpNo" are declared in the interface of each data block. During operation, these are
supplied with an error or help text ID. The 'Report System Error' application exports the possible
values and their significance to csv files in the selected folder during generation. To be able to
display the significance of an error or help text ID, the HMI must import these texts.
You can create a data block to support the CPU Web server (default DB127) to display the module
status in the Web server of the CPU.
You will find a complete overview of the supported diagnostic information for various slaves in the
section Supported Components and Functional Scope