This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Delaying schedulers to prevent missed telegrams in LM5
#2
Create a virtual address, attach the scheduler to the virtual address and add a script to it with a delay and grp.write to the original address that the scheduler is now attached to..

Something like:

os.sleep(120)
grp.write('1/1/1', event.getvalue())

Set the execution mode of the script to “last instance”
Reply


Messages In This Thread
RE: Delaying schedulers to prevent missed telegrams in LM5 - by Erwin van der Zwart - 05.12.2024, 05:36

Forum Jump: