×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 14346351, Entry date: 01/29/2003
(0)
Rate

Function of the ProTool area pointers Acknowledgment_PLC and Acknowledgment_OP

  • Entry
  • Associated product(s)

QUESTION:
What is the difference between the ProTool area pointers Acknowledgment_PLC and Acknowledgment_OP?

ANSWER:  
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.

  • Acknowledgment_OP
    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.
  • Acknowledgment_PLC
    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.
    Note:
    The "Acknowledgment_PLC"  acknowledgment area must be directly adjacent to the associated alarm area, i.e. in the DB directly behind the alarm area.

Notes:
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. 

Aack.exe

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. 

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.
Rate entry
Requests and feedback
What do you want to do?
Note: The feedback always relates to the current entry / product. Your message will be forwarded to our technical editors working in the Online Support. In a few days, you will receive a response if your feedback requires one. If we have no further questions, you will not hear from us.