Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Object oriented programming in Codesys V2?

astrand
2013-01-29
2013-01-29
  • astrand - 2013-01-29

    I know that object oriented programming is a new feature of Codesys V3. However, I wonder if it is possible to have limited OOP support even in v2. For example, I would like to create two different implementations of a function block, but keep the interface the same. Callers should be able to call according to this interface, without having to know which implementation is in use. The selection between the two different implementations should be done by runtime (at startup or similar). What's the best way of solving this?

     
  • shooter - 2013-01-29

    yes i do a lot of oop in V2.3 have alook into placeholders.

     

Log in to post a comment.