Skip to main content

Compiler Error C0091

Message: Recursion in base function block list: <function name>

Possible error cause: A base function block is extended by itself.

Error correction: Recursion in base function block lists is not possible.

Example 374. Example of the error:
PROGRAM PLC_PRG
VAR
     inst : FB;
END_VAR


FUNCTION_BLOCK FB EXTENDS FB
VAR
END_VAR

Message:

C0091: Recursion in base function block list: FB -> FB