memory_check attribute
This attribute restricts the memory check that is triggered by the Check memory for active application command. With its ignore
value, it excludes a single variable or all variables of a block signature from the check.
Insert positions:
- In the line above the declaration of a single variable
- In the line above the declaration part of a block
Syntax:
{attribute 'memory_check' := 'ignore'}
Example:
Neither of the function block FB_01
variables are taken into account during the memory check.
{attribute 'memory_check' := 'ignore'}
FUNCTION_BLOCK FB_01
VAR
sVar : STRING;
bVar : BOOL;
END_VAR