If you are using an alarm display, you can save a tag in the alarm display properties under Display > "Control tag for display area" which displays the alarm events from the time saved in this tag.
The following data types are permissible:
- External "Date", "Date and Time" or "Time of Day"-type tags
- Internal "DateTime"-type tags
A tag can only be entered in the alarm display for "Control tag for display area" if the "Alarm events" or "Alarm archive" setting is enabled.
Insert an alarm display into a picture.
Go to the properties for the alarm display and first of all select "Alarm display" or "Alarm archive" under "General".
Insert a tag in the alarm display properties under "Display > Control tag for display area". An internal "DateTime"-type tag has been used in this example.
Insert an I/O field into the picture with the alarm display.
Go to the properties for this I/O field under General > Process > Tag and insert the tag which you used previously in the alarm display under "Control tag for display area".
In this example the tag "Time_1".
Furthermore, define the data type of the field content under "Display > Appearance".
You can select "Date"; "Date/Time" or "Time" as the data type.
If you define "Time" as the data type for the I/O field, you need to define a second I/O field with the data type "Date", as shown in this example.
If there is only one I/O field with the data type setting "Time", the system cannot find anything at a later point in time because the system cannot assign a date to the time
(the alarms can be accrued over several days or a week).
If only the time is entered in an I/O field, however, a script can be called up when the picture is activated with the alarm display enabling you to load the current date and time into the I/O field; consequently, the time only needs to be entered once.
This sample project contains the functions described above. 32 alarms can be simulated via one input/output field.
The project has been created for an MP370 Touch operator panel with WinCC flexible 2005. You can change the project to suit your requirements.
Attachment: AlarmView_MP370_Touch.zip ( 2285 KB )