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 I acknowledge alarms in WinCC flexible via the PLC?
Part number:

Instructions:
Proceed as follows to acknowledge error messages via the controller.

Note:
In WinCC flexible there is no "Alarm Ack. PLC" pointer as in ProTool.
 
No. Procedure
1 STEP 7 configuration:
First define a data area in your STEP 7 configuration (in this example DB10.DBW0).
Half of this data area contains the bits for the error message and the other half bits for the acknowledge area.
For example, to create a data area for 32 error messages you create an array of the "WORD" type with a length of 4 words.

Calculation/composition:
Word 0 and Word 1  =>  32 message bits
 +
Word 2 and Wort 3  =>  32 PLC acknowledge bits
 =
Array length of 4 words. 


Fig. 01 

For example, to create a data area for 128 error messages you create an array of the "WORD" type with a length of 16 words.

2 Definition of the individual error message and acknowledge bits:
Refer also to Entry ID 24638486. There you will find a Microsoft Excel table which you can use to easily display the error message and acknowledge assignment.
3 Configuring WinCC flexible:
  • In WinCC flexible, under "Communication > Tags", you insert the tag that you previously defined for the error message area - in this example DB10.DBW0.
  • Open the bit messages via "Messages > Picture message".
    Right-click the header line and, if not yet selected, add the functions "Write acknowledge tag" and "Write acknowledge bit".


Fig. 02 

  • In the "Trigger Tag" field you enter the tag for the error message area - in this example DB10.DBW0.
  • Via the mass generation procedure (mark the "Trigger Tag" field, select the the bottom left corner and then move the mouse down) you fill in the subsequent fields until you have created all the 32 messages for this example.
  • Once you have configured the 32 messages you enter the same tag in the "Write acknowledge tag" field as you used in the "Trigger Tag" field. Fill in the subsequent fields also using the mass generation procedure.


Fig. 03 

Note:
Make sure that the "Bit numbers" and "Write acknowledge tag bit" are assigned correctly to the separate messages.
You can use the Excel list mentioned in Point 2 as a check.

4 Testing the error message and acknowledgment:
This example includes a tag list "Vat_Bit" in the STEP 7 project. You can use this tag list to simulate the error messages 1 to 8 and acknowledge the messages.
5 Tip on the mass generation procedure:
Using the mass generation procedure you can simply and efficiently assign values to large areas.
  • Mark the "Trigger Tag" field, for example. Go with the mouse pointer over the bottom left corner until the mouse pointer changes its appearance (becomes a "cross").


Fig. 04 

  • Press and hold the left mouse button and drag the "area" down until all the necessary fields are marked.


Fig. 05 

  • Release the left mouse button.
    The data of the first entry is entered in the fields marked.

Runnability and test environment:
The example can be used on all the CPU types of SIMATIC S7-300, S7-400 and WinAC.
The following table lists the components that have been used to create this entry and verify the functions described.
 
Components Product and version designation
PC operating system Microsoft Windows XP SP2
Standard tools STEP 7 V5.3 SP3
Engineering tools -
HMI software WinCC flexible 2005 SP1 HF6
HMI devices MP370 Touch
Controllers S7 CPU 315-2DP
Table 1: Creation environment of the download attached

The attached download contains a STEP 7 project with the functions described above.

Attachment 1: PLC_ACK ( 2894 KB )

 Entry ID:19439876   Date:2007-03-16 
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