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!
Have ideas on how to improve Modicon? Please share and get votes from Community to influence development efforts.
Search in
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.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.