Join our "Ask Me About" community webinar on May 20th at 9 AM CET and 5 PM CET to explore cybersecurity and monitoring for Data Center and edge IT. Learn about market trends, cutting-edge technologies, and best practices from industry experts. Register and secure your Critical IT infrastructure
Add the ability to Enumerate variables
Modicon Ideas & new features
Have ideas on how to improve Modicon? Please share and get votes from Community to influence development efforts.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
We often use integer type variables to represent a number of states. It would be a powerful feature if you could declare names for the different integer values. Similar to the Enum feature in C. As an example you may have an integer variable for the Day of the Week with values from 1 to 7 and throughout the program we check if the value is a particular value for a particular day. If we could assign names to integral constants, then use those names this would make a program easy to read and maintain.
Sounds a bit similar to how the "edit bit rank" feature of a DDT works on INT bits while this suggestion would apply the defined names/states to the INT as a whole instead of single bits...