Skip to main content

Compiler Error C0224

Message: Call Recursion: <recursion>

Possible error cause: A function calls itself.

Error correction: Make sure that functions are not recursive.

Example of the error:

Example 445. Example of the error:
PROGRAM PLC_PRG
VAR
END_VAR

POU();

FUNCTION POU
VAR
END_VAR

POU();

Message:

C0224: Call Recursion: POU -> POU