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

Task Events

advantex
2008-03-23
2008-04-24
  • advantex - 2008-03-23

    It would seem that in simulation mode, the only user created task that actually runs is the highest priority task. No other task seems to be called unless they are 'CoDeSys' tasks like Visualisations etc.

    I do have a work-around for this but it involves adding further code to the program.

    I would have thought that if CoDeSys provide a simulation mode in the program it would at least function correctly or have I overlooked something here?

    Is this just with Wago devices?

    Does anyone using other devices have this problem?

     
  • RolandWagner

    RolandWagner - 2008-03-25

    In fact all tasks will be called in simulation mode. But due to the simulation the task behaviour concerning the interval time causes the highest priority task always "to win".

    Try to "detune" the lower priority tasks by some ms, then it should work.

     
  • advantex - 2008-03-25

    Thanks Roland, I will try this.

     
  • advantex - 2008-04-24

    Well that didn't work.

     

Log in to post a comment.