Sign in to follow this  
Followers 0
boov

Program Structure Opinions

6 posts in this topic

My company has a standard for structuring programs a certain way for the sake of consistancy. This structure was partially based on the functionality and features of our most common programming software, which isn't Mitsubishi. In the past, on Mitsubishi PLC projects, we have used GX Developer, and we just set our standard structure aside. This caused programs to get more messy and cluttered than we like, and harder to follow because it wasn't what we were used to seeing. Now that we are using GX Works2 I think we need to re-visit our standard structure and see how closely we can make GX Works2 look like it. Here is a pictoral view of what our structure looks like: If you have any opinions on how to make a GX Works2 project look similar to this, I would appreciate it. Edited by boov

Share this post


Link to post
Share on other sites
Should work fine. Use a structured project, and you can get away with any language you like. Create programs using the structured languages and you can combine them into tasks and then program groups.

Share this post


Link to post
Share on other sites
Yes and No. At the moment the biggest struggle is the scope of labels. It looks like they can either be local to one specific program or global to absolutely all programs. Is that a true statement?

Share this post


Link to post
Share on other sites
Absolutely. Global labels apply to the entire project, and local labels apply only to one POU.

Share this post


Link to post
Share on other sites
This may be more of a recommendation for improvement than anything else. What I was actually looking for was something between local and global, both for tags and for programs. I would love to have the ability to create a group of POUs and assign a table of labels for that group.

Share this post


Link to post
Share on other sites
The IEC standard defines local and global labels, not labels for a group of POUs.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0