9/23/2021 11:43 AM | |
Joined: 6/22/2017 Last visit: 9/5/2025 Posts: 423 Rating:
|
Hi, first of all, i don't think it is possible to find the error, based on the code you provided, but i might be able to give some hints. You should defenetly look at how to debug scripts (for Panels this works with simulation only). Check this out: https://support.industry.siemens.com/cs/ww/en/view/109758536 Chapter 5.16.3 in the Docu. Then it should also be possible to find a solution and trigger it without pressing an "ok" button. Since symbolic IO-Fields have a process value where you can assign a tag you can trigger events based on value changes of that tag. You could do the first symbolic IO without any scripting and then dynamize the ressource list property of the second and use the tag of the first SIO to trigger it. Hope you're able to find a solution! |
Follow us on