show the entry list
WinCC flexible ES -- Creating HMI configurations -- Configuring alarms and messages
How do you insert error messages of a frequency converter (SINAMICS and MICROMASTER) in a WinCC flexible or WinCC (TIA Portal) project?
How can you visualize the current status of the CPU on a WinCC flexible operator panel?
Message indicator continues to be displayed despite counter at zero
How do you start a sound file via a script in the WinCC flexible PC Runtime?
How do you establish a direct connection between HMI Panels and frequency converters (SINAMICS and Micromaster)?
How can you determine the bit number in WinCC for the "Trigger address", the "Acknowledgement PLC" bit and the "Acknowledgement HMI" bit for creating bit messages?
Which configuration steps have to be taken in SIMOTION SCOUT and WinCC flexible to enable Alarm_S messages and technological alarms to be displayed in WinCC flexible Runtime?
How do you display ALARM_S or ALARM_D messages with process values (so-called associated values) on a WinCC flexible operator panel?
How do you display messages in WinCC flexible?
How can you evaluate the ACK button on a touch operator panel in WinCC flexible?
How can you have system error messages from a SIMATIC S7-300 / 400 displayed in WinCC flexible?
How do you change and display SIMATIC WinCC flexible system events during configuration?
How can you change the ProTool default alarm window setting in WinCC flexible?
How can I acknowledge alarms in WinCC flexible via the PLC?
Why aren't messages output on the event recorder?
Why isn't the "Message display" shown in the foreground, but is covered by picture objects?
Why are no messages from the S7 diagnostics buffer display in WinCC flexible?
How can you get the diagnostics buffer to be displayed in WinCC flexible?
Which settings need to be made in order to display alarm events after a specified point in time?
How can you create messages with externally preset texts as mass data and process them with Excel in WinCC flexible?
How can you have system error messages from a SIMATIC S7-300 / 400 displayed in WinCC flexible?
Part number:

Instructions:
In order to have system error messages from an S7 CPU displayed in WinCC flexible,
you must define a number of settings in the STEP 7 project.
You must generate the connection program for the CPU in the hardware configuration. You must create a corresponding alarm display in the operator panel configuration in WinCC flexible ES.
Below is a description of how to have system error messages from an S7-4xx CPU displayed in WinCC flexible.
 
No. Procedure
1 Create S7 and HMI stationsIn the SIMATIC Manager generate a SIMATIC S7 object and a SIMATIC HMI object.


Fig. 01

2 Add languages
Open the menu dialog in "Tools > Language for display equipment".


Fig. 02

Add all the languages which are used in WinCC flexible. In order to select or change the default language, mark the relevant language from the selection list under "Installed Languages in Project:" and click the "Set as Default" button.


Fig. 03

Notes:

  • If you wish to display the CPU system messages in all the selected languages in WinCC flexible, each of the languages must be set once as the default language and then re-generate the system messages or repeat steps 3 to 7.
  • N.B. The languages which are generated for the CPU system messages must also be installed in STEP 7. You can find the installed languages in the STEP 7 Manager under "Options > Customize > Language".
3 Select CPU
Select the CPU (in the example CPU 416-2DP) and open the hardware configuration.


Fig. 04

 4 Open the "Report System Error..." dialog
Select "Tools > Report System Error ...".


Fig. 05

5 "Report System Error..." dialog
The "Report System Error - SFM\SIMATIC 400\CPU 416-2 DP" window opens.


Fig. 06

6 Activate the entries
In the "OB Configuration" and "CPU Stopped" tabs enable the options which you wish to appear in the alarm display later on; in the example OB81 to 86 and OB1, as well as all the CPU STOP options.


Fig. 07


Fig. 08

7 Transfer blocks to the CPU
In the message field which appears you are informed about the project sections generated. Transfer the blocks listed in the "Report System Error" window into the CPU.
"Assign unique alarm numbers project-wide" has been selected in the example for the alarm-number assignment.


Fig. 09

8 Open WinCC flexible project
Open the WinCC flexible project and then the "Connections" window via "Project > SIMATIC HMI Station(1)(MP 370 12" TOUCH > Communication > Connections".  .


Fig. 10

9 Add connection
Insert a new connection via "Insert > New object - Connections".


Fig. 11

10

Select station
In the new connection open the list window in the "Stations" column and select the relevant station - in the example project this is "\SFM\Simatic 400".


Fig. 12

11

Configure alarm settings
In the project tree open the alarm settings via Messages > Settings > Alarm settings.
In the "Alarm procedures" menu you still have to activate the corresponding alarm procedure ALARM_S / SIMATIC SFM.


Fig. 13

12 Activate Message Class
Switch to the screen configuration via "Project > SIMATIC HMI Station(1)MP 370 12" TOUCH) > Screens > Screen_1" and insert an alarm display.
Go to the Alarm View, select "General" and then "S7 Alarm" under "Alarm classes.


Fig. 14

13 Check CPU messages
In the STEP 7 Manager check whether the system-error messages have been correctly imported into WinCC flexible. To do this, mark the relevant station or CPU and then open the CPU alarm window in the "PLC > CPU messages..." menu.


Fig. 15

Note:
Make sure that the controller is correctly connected to the programming device; otherwise the CPU messages will not be able to be displayed.

14 Activate the check boxes
Switch to the "Alarm" tab and enable the "W" (diagnostic events) checkbox and the "A" (process and system errors) checkbox as well in the black menubar.

In this example an ET200B module has been configured in the PROFIBUS subnet module, although it has not been connected to the PROFIBUS subnet.


Fig. 16

Note:
The CPU system-error messages always appear in the language which is set as the default.

Note:
If you make changes to the hardware configuration, you have to regenerate the system messages and transfer the corresponding diagnostic blocks (FB49 and DB49 in the example) once again.

15 Start WinCC flexible
If you are using an operator panel, transfer the project to the panel. Alternatively you can also use WinCC flexible Runtime on the PC.
Now all the available CPU system messages are displayed on the operator panel and in WinCC flexible Runtime.


Fig. 17

Note:

  1. The class and number of system error messages depend on the CPU used and the settings selected.
  2. The messages can also be displayed in the "Alarm Window". More information is available in Entry ID: 21909970.

Sample project:
The downloadable example includes the project described above. The connection between the CPU and the PC (CP5611) is via the MPI interface.
A multipanel MP 370 12" Touch was selected as the HMI device.

Sfm_e.zip ( 3717 KB )

Runnability and test environment:
The following table lists the components that have been used to create this entry and verify the functions described.
 
Component Product and version
PC operating system Microsoft Windows XP SP2
Standard Tools -
Engineering Tools SIMATIC STEP 7 V5.3 SP3
HMI Software WinCC flexible 2005 SP1
HMI devices MP370 12" Touch
Controllers S7-CPU 417-4

 Entry ID:22319131   Date:2007-10-19 
I regard this article....as helpfulas not helpful                                 
mySupport
My Documentation Manager 
Newsletter 
CAx-Download-Manager 
Support Request
To this entry
Print
Create PDF 
Send to a friend
QuickLinks
Compatibility tool 
Help
Online Help
Guided Tour