I have extended it, I have 2 derived types. But I want the to have the Reference point to either of the derived types. Since it is only a Reference it seems to be it should work. 

I can do this with interfaces but thst is a lot of boiler plate code to wrap everything is properties.

On Sun, Aug 14, 2022, 3:12 PM h-hermsen <no-reply@codesys.com> wrote:

please read up on ABSTRACT in the help and you will understand what you are doing is incorrect... as ABSTRACT means you must EXTEND the ABSTRACT FB before you may use it.


Why do I get C0434: Function block AbstractFunctionBlock is ABSTRACT and cannot be instantiated for a Reference?


Sent from forge.codesys.com because you indicated interest in https://forge.codesys.com/forge/talk/Engineering/

To unsubscribe from further messages, please visit https://forge.codesys.com/auth/subscriptions/