10/1/2015 9:33 PM | |
Joined: 9/23/2005 Last visit: 12/5/2023 Posts: 4281 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 needs that a group of alarms would be acknowledge with a simple action. In this sample sample project, to acknowledge alarm 2 will also to acknowledge alarm 3 (and vice-verse) – alarm 1 is not acknowledged by alarm 2 / alarm 3 acknowledgment.
Requirements: WinCC Professional V13 SP1.
Project with a minimum configuration (stop - See references “WinCC Professional V13 SP1 – Simple Sample: Discrete Alarm” https://support.industry.siemens.com/tf/br/en/posts/135058/).
Principle:
The group acknowledge follow the operation sequence: 1 – An operator acknowledged a related alarm. 2 – The alarm acknowledgment trigger a script. 3 – The script set (and reset) internal tag. 4 – The internal tag acknowledge the alarm group.
Configuration main steps:
#include "GlobalDefinitions.h" void CFunction_1(char* tagname) { SetTagByte(tagname, 1); SetTagByte(tagname, 0); }
Thanks: Thanks to the Siemens United States Technical Support (in special Mr. David Crockett) for the Help with this TIP.
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
How do you acknowledge alarm messages in WinCC Runtime Professional V11 onwards? https://support.industry.siemens.com/cs/br/pt/view/55622122/en
Project: Due a size/ format restrictions, the project are first compacted with 7z format (project.z7) and after that attached to a zip archive (data.zip).
AttachmentProject.zip (244 Downloads) |
Denilson Pegaia |
|
This contribution was helpful to
1 thankful Users |
Follow us on