



NOTICE

Implement concurrent bit access by two tasks only if the processor can execute bit access directly on the memory. All x86 and x64 systems have commands for bit access in memory. Systems such as ARM and PPC cannot access bits directly in the memory.
If two tasks execute bit access simultaneously, even though the processor cannot perform
bit access directly in the memory, then proceed as follows. Use a semaphore (SysSemEnter
) or a similar technique to prevent competing bit access. However, it is best to execute
the bit access within a task.
With index access, individual bits can be addressed in integer variables. Using a structure variable or a function block instance, individual bits can be addressed symbolically.
-
Index access to bits integer variables
-
Symbolic bit access in structure variables
-
Symbolic bit access in function block instances