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