Skip to main content

Attribute: reflection

The pragma decorates a POU for a compiler search for function block variables which are decorated with the 'instance-path' attribute or the 'is_connected' attribute. POUs with these kinds of variables require special treatment.

The compiler searches only blocks decorated with 'reflection' for variables with these attributes and therefore needs less time.

Syntax:

{attribute 'reflection'}

For more information, see: instance-path and is_connected