Technical data
Note
The scanning of a particular semaphore (= read procedure) and
the disabling or enabling of the semaphore (=write procedure) are
one unit. No other CPU can access the semaphore during these
procedures!
When using semaphores, remember the following points:
•• A semaphore is a global variable, i.e. the semaphore with number
16 exists only
once in the entire system, even if your controller is
using three CPUs.
•• All CPUs that require coordinated access to a common memory area
must use the SED and SEE operations.
•• All participating CPUs must execute the same start-up type.
During a COLD RESTART, all the semaphores are cleared.
During a manual or automatic warm restart, the semaphores are
retained.
•• Start-up in multiprocessor operation must be synchronized. For
this reason,
no test operation is allowed.
Semaphore Operations
CPU 928B Programming Guide
3 - 74 C79000-B8576-C898-01