Skip to main content

SA0111: Pointer variables

Detects variables of type POINTER TO

Justification: The IEC 61131-3 standard does not permit pointers.

Importance: Low

Example 96. Example
VAR
    piTemp : POINTER TO INT;
    pbyTemp : POINTER TO BYTE;
END_VAR

Output in the Messages view:

  • sa_icon_message.png SA0111: Data type POINTER not allowed