Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

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.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • Modicon Ideas & new features
  • Add the ability to Enumerate variables
Options
  • Subscribe to RSS Feed
  • Mark as New
  • Mark as Read
  • Bookmark
  • Subscribe
  • Email to a Friend
  • Printer Friendly Page
  • Report Inappropriate Content
Invite a Co-worker
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 Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Labels
Top Labels
  • Alphabetical
  • 06. EcoStruxure Control Expert 40
  • 02. Modicon M580 ePAC 19
  • 05. Networking & Communication 11
  • 01. Modicon M340 PAC 7
  • 04. Modicon X80 IO 3
  • 03. Modicon PAC Safety 2
  • 12. Other 2
  • 08. Tools & Resources 1
  • 07. Modicon PAC Legacy 1
  • 09. Surveys 1
  • 10. Australia 1
Idea Statuses
  • Submitted 44
  • Needs more info 0
  • Under consideration 2
  • Accepted 3
  • Declined 0
  • To be deleted 0
  • Delivered 1
Related Products
Thumbnail of Modicon M580
Schneider Electric
Modicon M580
7
Thumbnail of EcoStruxure™ Control Expert
Schneider Electric
EcoStruxure™ Control Expert
6
Thumbnail of Modicon M340
Schneider Electric
Modicon M340
2
Load more
Completed Ideas
  • EcoStruxure Control Expert - DTM Update Tool

View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
5 Likes

Add the ability to Enumerate variables

Status: Submitted Submitted by Lieutenant GeoffChisholm on ‎2023-07-17 06:46 PM
2 Comments (2 New)

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.

Tags (1)
  • Find more ideas tagged with:
  • english
Labels (1)
See more ideas labeled with:
  • 06. EcoStruxure Control Expert
Comment

Link copied. Please paste this link to share this article on your social media post.

  • Back to Idea Exchange
  • Previous
  • Next
2 Comments
dnordenberg1
Lieutenant dnordenberg1
Lieutenant
‎2023-10-11 06:52 AM
  • Mark as Read
  • Mark as New
  • Bookmark
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2023-10-11 06:52 AM

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...

Bosswaffle
Lt. Commander Bosswaffle
Lt. Commander
‎2024-06-30 09:12 AM
  • Mark as Read
  • Mark as New
  • Bookmark
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content
‎2024-06-30 09:12 AM

I'd love to use a CASE statment in ST with strings instead of D/INTS, or at least be abel to name the case steps.

Comment
Preview Exit Preview

never-displayed

Hint:
@ links to members, content
 
  • Back to Idea Exchange
  • Previous
  • Next
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of