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

Does all programs in a task calls exactly at the same time ?

Volvo742
2016-07-26
2016-08-05
  • Volvo742 - 2016-07-26

    Does all programs in a task calls exactly at the same time ?
    I have the ability to move a program up and down and that makes me wonder.

     
  • Anonymous - 2016-08-05

    Originally created by: scott_cunningham

    I was hoping a CoDeSys employee would jump in, but looks like they missed this one.

    My gut feeling is the calls will go in order of the POUs as listed. So if you have a Main Task with POUs 1,2 and 3, then the task will run POU1, then POU2, then POU3. I think this because CoDeSys can run on embedded controllers using an MCU that can't really run multi-threads or anything like a full blown CPU. If someone else has more info, please chime in!

     

Log in to post a comment.