Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched.
Close
Hi Everyone,
I am using SoMachine for a project but would like to migrate to stock CoDeSys as it is much more malliable and open (webvisu).
I am wondering if anyone knows if there is a CoDeSys library function available to change the cycle interval of a (cyclic) task whilst at runtime?
SoMachine has a library with functions 'GetCurrentTaskCycle' and 'SetCurrentTaskCycle' that can change the cycle interval on the task it is called in whislt the PLC is running.
Regards,
Louis.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Everyone,
I am using SoMachine for a project but would like to migrate to stock CoDeSys as it is much more malliable and open (webvisu).
I am wondering if anyone knows if there is a CoDeSys library function available to change the cycle interval of a (cyclic) task whilst at runtime?
SoMachine has a library with functions 'GetCurrentTaskCycle' and 'SetCurrentTaskCycle' that can change the cycle interval on the task it is called in whislt the PLC is running.
Regards,
Louis.
Is it what you need?
Yes! It looks like exactly what I am after - Thankyou very much