2/9/2021 5:02 PM | |
Joined: 9/23/2005 Last visit: 11/12/2024 Posts: 4352 Rating: (1452)
|
Hi, “Simple Samples” are small projects that demonstrate simple features. The target is giving 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. Alarm messages are an important tool for operation diagnose of process and system events. The object has a wide range of functionalities and covers most uses. Sometimes, however a specific alarm or all of them should be acknowledged from an external source (like an external button or a PLC variable). This simple sample brings script examples to do it. To acknowledge a specific alarm over extern button or PLC command you should use the script:
TIP: if you type just "Alarm name", TIA will automatically change it to " trigger tag : Alarm name "
TIP: in the open example, the for loop scans all active alarms. If you intend to acknowledge the first or the last alarm you can change the loop/index i for 0, or Ack.Alarm.lenght, respectively. Project archived and zipped AttachmentackAlarm.zip (1605 Downloads) |
Last edited by: Denilson Pegaia at: 02/09/2021 17:03:25Denilson Pegaia |
|
This contribution was helpful to5 thankful Users |
4/20/2021 12:10 PM | |
Joined: 9/23/2005 Last visit: 11/12/2024 Posts: 4352 Rating: (1452)
|
Hi, please check if: 1 - Your TIA Portal is update (actual version is V16 up 4) 2 - Your HMI image is update (actual version is V16.0.0.5) 3 - Try to take a look at the Trace to get some clue (see FAQ How do you use the Trace Viewer with the Unified Comfort Panel? at https://support.industry.siemens.com/cs/br/en/view/109777593). |
Denilson Pegaia |
|
4/20/2021 7:33 PM | |
Joined: 10/11/2018 Last visit: 12/5/2023 Posts: 2 Rating: (0) |
Thanks for the response. 1) TIA Portal is up-to-date with Update 4 2) The HMI image is 16.0.0.5 3) We did get a fatal error recorded with the Trace. TXT of the trace attached. AttachmentTrace - 12in AckAll script crash.txt (930 Downloads) |
2/10/2023 7:31 AM | |
Joined: 4/28/2015 Last visit: 11/10/2024 Posts: 61 Rating: (2) |
in this example the AckFirst and AckLast only runs wenn the script debugger not runs. |
Follow us on