10/2/2015 5:00 PM | |||
Joined: 9/23/2005 Last visit: 12/6/2023 Posts: 4282 Rating:
|
“Simple Samples” are small projects that demonstrate simple features. The target is give a quick overview about the theme and be used as start point for related discussions. Follow there are a short description and the configuration main steps.
Description:
Many applications demands that an alarm would be signalized by means horn or a warning lamp activated by a controller.
In this sample project, an alarm (“Alarm 0 active”) could be monitored by a single variable (HMI_Tag_4 - e.g. PLC tag, but in this example a internal tag) so that the controller could act a horn or warning lamp.
Requirements: WinCC Professional V13 SP1.
Minimal project with alarm handling (see “WinCC Professional V13 SP1 – Simple Sample: Discrete Alarm https://support.industry.siemens.com/tf/br/en/posts/135058/).
From WinCC Professional help, topic “Configuring Alarm Alerts” “ Requirements
Configuring alarms for the alarm annunciator
Configuring alarm annunciator in the screen
If an alarm is displayed with the alarm annunciator in Runtime, the user acknowledges the alarm as follows depending on its configuration:
The user can recognize the status of the alarm annunciator from the background color of the circle. “
Example of VB script with QuitHorn method:
Sub OnClick(ByVal item)
Dim aaa Set aaa = ScreenItems("Alarm view_1") aaa.QuitHorn
End Sub
References: Manual WinCC Professional V13.0 https://support.industry.siemens.com/cs/br/pt/view/92323076/en
Online helps system WinCC Professional V13.0 SP1 https://support.industry.siemens.com/cs/br/pt/view/109096785/en
FAQ Which VBS information and VBS programming tools are there in WinCC (TIA Portal)? https://support.industry.siemens.com/cs/br/pt/view/59885894/en
Tips and tricks for creating scripts in WinCC (TIA Portal) https://support.industry.siemens.com/cs/br/pt/view/57132412/en
Project: Project attached to a zip archive (data.zip).
Attachmentdata.zip (389 Downloads) |
||
Denilson Pegaia |
|||
This contribution was helpful to
1 thankful Users |
Follow us on