Description of the function

The UNMASKEVT function performs global unmasking of events.

The events that were stored during the masking period are processed. The event processing mechanism is operational until the next MASKEVT instruction.

NOTE: It is recommended to use this instruction only for short masking sequence, in the same task cycle. In other cases, %S38 should be used. Events are automatically unmasked by the system on change of mode (stop -> run, ...). It is not recommended to execute masking sequences when event timers are active, because they will be reset to 0.

The additional parameters EN and ENO can be configured.

FBD representation

Representation:

LD representation

Representation:

IL representation

Representation:

UNMASKEVT

ST representation

Representation:

UNMASKEVT();