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

Conditional call of function(block)s

ljlhouben
2023-04-24
2023-04-24
  • ljlhouben - 2023-04-24

    Hi All

    I would like to have a function that is able to create 'features' on compile time. So e.g. I would like to have a parameter that says 'OnDelay = TRUE', then a call should be made to a function(block) that has a on-delay timer. In case that this parameter 'OnDelay = FALSE', this function(block) should be ignored completely. Would something like this be possible?

     

Log in to post a comment.