Compiler Error C0145
Message: Interfaces can only be implemented by function blocks
Possible error cause: An attempt is made to implement an interface outside of a function block.
Error correction: Implement interfaces only in function blocks.
Example 402. Example of the error:
PROGRAM PLC_PRG VAR END_VAR POU(); FUNCTION POU IMPLEMENTS ITF VAR END_VAR
Message:
C0145: Interfaces can only be implemented by function blocks