Compiler Error C0094
Message: Interface of overridden method '<method name>' of interface '<function block name>' doesn't match declaration
Possible error cause: The signature of the method of the first interface does not match the signature of the method in the second interface, which is extended by the first.
Error correction: Align the signatures.
Example 380. Example of the error:
PROGRAM PLC_PRG
VAR
xyz : XY2;
END_VAR
FUNCTION_BLOCK XY
METHOD METH1
VAR_INPUT
END_VAR
FUNCTION_BLOCK XY2 EXTENDS XY
METHOD METH1
VAR_INPUT
iPar : BOOL;
END_VAR
Message:
C0094: Interface of the overridden method 'METH1' of base 'XY' doesn't match declaration