Function of the ProTool area pointers Acknowledgment_PLC and Acknowledgment_OP
What is the difference between the ProTool area pointers Acknowledgment_PLC and Acknowledgment_OP?
For the acknowledgment of alarms ProTool offers the two area pointers Acknowledgment_PLC and Acknowledgment_OP. There is an alarm number for each alarm. This alarm number is assigned the bit x of the alarm area and the bit x of the acknowledgment area in each case.
If an alarm is acknowledged via the operator panel, then the corresponding acknowledgment bit is set in the "Acknowledgment_OP" area. The controller thus knows that the alarm has been acknowledged. The acknowledgment bit is reset the next time an alarm arrives.
A bit set in this area by the controller causes acknowledgment of the relevant alarm on the operator panel. Reset the acknowledgment bit before you reset the bit in the alarm area.
The "Acknowledgment_PLC" acknowledgment area must be directly adjacent to the associated alarm area, i.e. in the DB directly behind the alarm area.
The length of the "Acknowledgment area OP" and "Acknowledgment area PLC" should match the length of the area pointer "Alarms", so that there is also an acknowledgment bit for each alarm.
The following download contains a sample project in which the function of the area pointers Acknowledgment_PLC and Acknowledgment_OP are realized.
Description of the sample project
The sample project has been created with ProTool/Lite "STEP 7 integrated". It contains the STEP 7 configuration with a CPU 315 2DP, a STEP 7 program and two ProTool projects (OP170B and TP170Bcolor).
Description of the OP170B project
The OP170B project contains three area pointers: Alarms (DB1.DBW0), Acknowledgment_OP (DB1.DBW20) and Acknowledgment_PLC (DB1.DBW10). Press F1 and alarms are generated on the OP170B and on the TP170. Press F5 to reset the alarms.
Description of the TP170B project
The TP170B project contains three area pointers: Alarms (DB3.DBW0), Acknowledgment_OP (DB3.DBW20) and Acknowledgment_PLC (DB3.DBW10).
Description of the STEP 7 program
The STEP 7 program consists of a function (FC1), three data blocks (DB1, DB2, DB3) and the organization block (OB1) in which the function is called.
Description of the DBs
In DB1 is the alarm area of the OP170B, i.e. of the area pointers Acknowledgment_PLC and Acknowledgment_OP. DB3 contains the alarm area of the TB170Bcolor, i.e. the area pointers Alarms, Acknowledgment_PLC and Acknowledgment_OP. The tag in DB2 triggers resetting of the alarms.
Description of the FC1
The FC1 is divided into three program parts.
- Acknowledgment of the alarm on the TP and automatic acknowledgment of this alarm on the OP170B.
If the Acknowledge button on the Touch Panel has been pressed, this alarm is acknowledged automatically on the OP170B by the controller.
- Acknowledgment of the alarm on the OP170B and automatic acknowledgment of this alarm on the TP.
If the Acknowledge button on the OP170B has been pressed, this alarm is acknowledged automatically on the TP170B by the controller.
- Pressing a button on the OP170B resets the alarm.
The example has been created with STEP 7 V5.1 SP6 and ProTool Pro CS V6.0 SP1.
Copy the "Aack.exe" file into a separate directory. Unpack the STEP 7 project with the integrated ProTool projects and all the associated subdirectories. Then use the SIMATIC Manager to open and process the unpacked project.
- You have a technical question / problem: Ask the Technical Support
- You want to discuss in our forum and exchange experiences with other users
- You want to create CAx data for one or more products
- You would like to send us feedback on this Entry