Skip to main content

Compiler Error C0087

Message: There is no implementation for method '<method name>' defined in interface '<interface name>'.

Possible error cause: One of the methods specified by the interface has not be provided by the implemented function block.

Error correction: Implement all methods that are specified by the interface.

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

INTERFACE XY
METHOD METH1
VAR_INPUT
END_VAR

FUNCTION_BLOCK FB IMPLEMENTS XY
VAR
END_VAR
METHOD METH2
VAR_INPUT
END_VAR

Message:

C0087: There is no implementation for method 'METH1' defined in interface 'XY'