Attribute ‘reflection’ΒΆ

The pragma is used to identify POUs in which some variables require special treatment and are tagged with a specific attribute for this purpose. Currently, this applies to the attributes 'instance-path' and 'is-connected' for function block variables. The compiler searches only blocks marked with 'reflection' for variables with these attributes and therefore needs less time.

Syntax:

{attribute 'reflection'}

For examples, see the description of the attributes 'instance-path' and ‘is-connected’.

See also