Skip to main content

Compiler Warning C0561

Message: Call recursion: <POU> -> <POU>

Possible error cause: The program code contains a recursive call.

Error correction: Remove the recursive call if this is unwanted.

Example 496. Example of the warning
METHOD METH: BOOL
VAR_INPUT
END_VAR
Recursive();

PROGRAM Recursive
VAR
END_VAR
Recursive();

Calling Recursive in the Recursive program produces the following warning.

Message:

C0561: Call recursion: RECURSIVE -> RECURSIVE