Attribute ‘initialize_on_call’ΒΆ

This pragma can be applied to input variables. It causes the input variables of a function block to be initialized on each call of the function block. If an input expects a pointer and this pointer has been removed in the course of an online change, this input will be set to zero.

Syntax:

{attribute 'initialize_on_call'}

Insertion position: line above the line with the declaration of the corresponding input variables.