Compiler Error C0199
Message: Interface '<interface name>' must be instantiated to be accessed
Possible error cause: An attempt is made to access an interface method without the interface being instantiated.
Error correction: Instantiate the interface.
Example of the error:
PROGRAM MAIN
VAR
END_VAR
ITF.METH();
INTERFACE ITF
METHOD METH
VAR_INPUT
END_VARMessage:
C0199: Interface 'ITF' must be instantiated to be accessed
Error correction:
Beispiel:
itest: ITF;