Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively.Register now to secure your spot!
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...