How can I acknowledge alarms in WinCC flexible via the PLC?
Proceed as follows to acknowledge error messages via the controller.
In WinCC flexible there is no "Alarm Ack. PLC" pointer as in ProTool.
|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.
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.
|Definition of the individual error message and acknowledge bits:|
Refer also to Entry ID 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?. 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:
|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.
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|
|HMI software||WinCC flexible 2005 SP1 HF6|
|HMI devices||MP370 Touch|
|Controllers||S7 CPU 315-2DP|
The attached download contains a STEP 7 project with the functions described above.
Attachment 1: PLC_ACK ( 2894 KB )