Skip to main content

Pragma: no-analysis

You can use this pragma to disable all static analysis checks of a POU. As a result, the POU is no longer included in the static code analysis.

Application: You can apply this pragma to code which originates from other sources and should not be modified.

Insertion point: In the declaration part of the function block which is should be excluded from the analysis checks. Insert it before the first line of code.

Syntax:

Deaktivate POU:

{analysis no-analysis}
PROGRAM POU

Example

{analysis no-analysis}
FUNCTION GeneratedFunction