Variant type

geenst
2022-11-08
2022-11-09
  • geenst - 2022-11-08

    Hi,

    In Siemens I have used the Variant type to connect a variable which could be a word or a real.
    Depending on the type (typeOf(..)) I would then take different code paths.

    Is something similar possible in Codesys function blocks?

    Greetings,

    TG

     
  • geenst - 2022-11-09

    Thanks for the quick response. Will edit the code immediately ;)

     

Log in to post a comment.