Skip to main content

Compiler Error C0138

Message: No matching 'FB_Init' method found for instantiation of POU.

Possible error cause: No FB_Init method exists that accepts the passed parameters.

Error correction: Check which arguments FB_Init has to receive and adjust the passed arguments.

Example 395. Example of the error:
PROGRAM PLC_PRG
VAR
    myPOU : POU(arg1 := 1, arg2 := 2);
END_VAR

Message:

C0138: No matching 'FB_Init' method found for instantiation of POU.