Changing the Cycle Interval of a Task at Runtime (PLC Running)

2018-07-03
2018-07-17
  • LouisPijpers - 2018-07-03

    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.

    IMG: SoMachine Function.jpg

     
  • ValeMazzoOMD - 2018-07-12

    Is it what you need?

    IMG: Img.png

     
  • LouisPijpers - 2018-07-17

    Yes! It looks like exactly what I am after - Thankyou very much

     

Log in to post a comment.