As far as I understand the tasks in CoDeSys are interrupt based? If so, how to ensure atomic operations on variables and arrays? I have quiet a few variables and arrays I want to share between tasks and I need to be completely certain that these are finished writing before switching task.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As far as I understand the tasks in CoDeSys are interrupt based? If so, how to ensure atomic operations on variables and arrays? I have quiet a few variables and arrays I want to share between tasks and I need to be completely certain that these are finished writing before switching task.