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

Data consistency between tasks

chab
2013-11-26
2013-12-27
  • chab - 2013-11-26

    All,

    What is the 'default' method to synchronize tasks, to get data consistency?

    Regards,
    Edwin.

     
  • Jay - 2013-11-28

    Semaphores? When one task starts to manipulate data, it sets semaphore to block others accessing it, and when it is done it leaves it and releases the semaphore / data for others.

    Check SysSem or SysSemProcess libraries.

    BR.,
    Jay

     
  • chab - 2013-12-27

    Thank you.

     

Log in to post a comment.