Attribute 'TcCallAfterOutputUpdate'

The pragma defines whether a program is to be executed after an output update. This attribute replaces the TwinCAT 2 functionality of the option IO at Task begin.

Syntax: {attribute 'TcCallAfterOutputUpdate' }

Insertion location: This attribute must be added to all program POUs, which are to be called after the output update.

Example:

{attribute 'TcCallAfterOutputUpdate'}
PROGRAM MAIN
VAR
END_VAR