(How to acknowledge alarms in the standard alarm message display (window or line) on a PC based RT system is one of the things I have never found out of.The thing is that there is an ACK button on the OP panels. This ACK button acknowledges the alarm messages.)
Edit: For a simple ACK button, read the next post.
On the PC based RT system there is no preconfigured ACK button.
There is a function message_display_acknowledge_message.
This function will acknowledge the currently displayed alarm in a regular message view.
When configuring a button with this function, you have to specify which "object" it is linked to. Specify the message view.
I have not configured a line or window alarm display (System..Screen/Keys..Messages..Alarm/Event mess = OFF/OFF).
Here is a compact how-to list:
1. Configure your own alarm view (which you can paste into all your screens):
Insert..Message view.
Specify Messages, Queued messages=OFF, Messages to be ACK=ON,
Specify Message Classes, Alarm message=ON, Event message=OFF, HMI system message=OFF, Diagnosis event=OFF.
Under the Columns tab, select only Message Text, all others deselected (the operator can go to the alarm list view if he wants details). Also select Sort=Most recent message first (my preference).
Under the Name tab, change the Name from "OBJECT_XXX" to "AlarmBanner" or something similar.
Under the Display Tab, deselect everything (you only want a simple alarm view).
To view only one alarm at a time (otherwise it gets confusing), either under the Display tab select Size mode, Size to fit = ON and Visible message = 1, or experiment with the font size and number of lines displayed per message.
2a. In the alarm message view, under the Display tab select the ACK button=ON.
or..
2b. Configure a normal button with the function Message_Display_Acknowledge_Message. For the parameter Screen Object Name specify the "AlarmBanner" name that you defined above.
3. If you want to be fancy about it, you can add a visibility animation to the alarm banner. I use a global "There is an unacknowledged alarm" tag to unhide the alarm banner. If you do not do this, there will be a grey box with nothing inside it when there are no alarms.
Hope this helps.