Description of the function

The MASKEVT function performs global masking of events (1).

Events are stored in the PLC's memory, but any associated event processing tasks remain inactive, as long as the masking operation is valid, until the next UNMASKEVT 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.

(1) except for interruptions generated by FIPWAY telegrams.

FBD representation

Representation:

LD representation

Representation:

IL representation

Representation:

MASKEVT

ST representation

Representation:

MASKEVT();