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
How is it possible to add a variable of type ENUM to a recipe?
I tried and I get a compilation error : " 'var_123' is not a valid value for strict ENUM type 'Mode' "
I declared my ENUM type (called 'Mode') as DINT and a variable of type 'Mode'.
When I add it to the recipe it automatically gives it type DINT
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How is it possible to add a variable of type ENUM to a recipe?
I tried and I get a compilation error : " 'var_123' is not a valid value for strict ENUM type 'Mode' "
I declared my ENUM type (called 'Mode') as DINT and a variable of type 'Mode'.
When I add it to the recipe it automatically gives it type DINT