(0)| 11/1/2023 11:39 AM | |
|
Posts: 65 Rating:
|
Hi Murof, thanks a lot for your input.
I made an attempt using ShowSystemAlarm based on this post: Sys alarm, where entry ID 102378895 was referenced. I skipped the part where the script was ran from a button, and I added this to my script: However I do not get any of the texts associated with "1" or "2" in the alarm list. So I guess either my script is not running at all, or the code I added ShowSystemAlarm is faulty. For kicks I added the part where they run the script from a button, and then the script runs and writes to the excel sheet. So, my problem all along is that the script is not running. A quick google search led me to this post where you and Prof. Frink helped solve how to activate a script from PLC. I followed that and now everything is good. Thanks!
I have another script (a functional script) where I write the time and date from runtime to the PLC, and there I use "HmiRuntime.SmartTags" for reading and writing tags. How come I should use "SmartTags" instead? |
Follow us on