Skip to main content

Attribute: 'memory_check'

The attribute limits the memory check, which you trigger by means of the Check Memory for Active Application command. With the value ignore, it excludes a single variable from the check or all variables of a POU signature.

Insertion position:

  • In the line above the declaration of a single variable

  • In the line above the declaration part of a POU

Syntax:

{attribute 'memory_check' := 'ignore'}

Example 2. Example

Neither one of the variables from the FB_01 function block is considered in the memory check.

{attribute 'memory_check' := 'ignore'}
FUNCTION_BLOCK FB_01
VAR
  strVar : STRING;
  iBOOL : BOOL;
END_VAR