WattUp Posted August 8, 2017 Report Posted August 8, 2017 (edited) We have a machine that was written many years ago as a GX project file, and if I understand correctly then, the PLC and HMI code are linked through a parent project navigator file. In the years since, this file has been broken apart somehow, and we are left with a non-simple Ladder file using TAGs and a HMI file. The issue with this set up is that any changes to the PLC code, can/does result in addresses moving and the HMI breaks. Does anyone know a way to convert this code back to a normal simple ladder? Edited August 8, 2017 by WattUp Spelling
Mitsm83 Posted August 9, 2017 Report Posted August 9, 2017 I feel your pain on this one. I have a similar issue and was pretty much told to rewrite it... I am looking into upgrading the Q CPUs to R CPUs then use Q to R racks when you convert the code over you can untangle the navigator project, or so I am told. You can keep all your I/O , pretty much just costs the R CPU and accessories price. I am sure there are others on here who know more but that is what I am looking at.
Gambit Posted August 9, 2017 Report Posted August 9, 2017 (edited) For the systemQ project : Don't use the navigator to open the project but use GX works and then save the project as a single file instead of workspace. Edited August 9, 2017 by Gambit
WattUp Posted August 9, 2017 Author Report Posted August 9, 2017 5 hours ago, Gambit said: For the systemQ project : Don't use the navigator to open the project but use GX works and then save the project as a single file instead of workspace. Well that was a nice start. Is there a way to convert the Local Label Tags back to normal comments? Maybe export /import option?
Gambit Posted August 9, 2017 Report Posted August 9, 2017 The local labels aren't device related. The comment list is. Or do you wish to copy the global labels to the comment file
WattUp Posted August 9, 2017 Author Report Posted August 9, 2017 This program is about 70% local labels and 29% global labels. 1% global device comment. I would like a way to get the Labels pulled out and tie it into the current device as compiled. Since the navigator link has been broken, any compile of the PLC code can/does change the device addresses and then the HMI is using the wrong addresses.
Gambit Posted August 9, 2017 Report Posted August 9, 2017 The HMI program should not have any local PLC vars inside. There is no reference in the local vars which indicates to which adres the we're compiled last
kaare_t Posted August 9, 2017 Report Posted August 9, 2017 I never tried the Navigator for GW2, but if I recall how it "should" work, you can make use of automatically assigned variables from the PLC into the HMI? In other words, you can select not to manually address a device, but you can select to "share" it with the Navigator/HMI? So when you recompile a large code block you also have to update the cross-reference and download to the HMI to update the address links? Or am I missing something? Does your current project work, you simply want to make changes/updates to it? If so, you can avoid rewriting all the code and do a Simple Ladder upload from the PLC as-is. That way you will get all the code with the current assigned addresses into GW2 (the ones that were assigned during previous download). The only drawback by doing this is that you will not get any comments at all (just the code). But putting in comments after uploading is an easy task when you already have the original source code with comments (it's a pure punching job). 1
WattUp Posted August 9, 2017 Author Report Posted August 9, 2017 (edited) Just now, kaare_t said: I never tried the Navigator for GW2, but if I recall how it "should" work, you can make use of automatically assigned variables from the PLC into the HMI? In other words, you can select not to manually address a device, but you can select to "share" it with the Navigator/HMI? So when you recompile a large code block you also have to update the cross-reference and download to the HMI to update the address links? Or am I missing something? Does your current project work, you simply want to make changes/updates to it? If so, you can avoid rewriting all the code and do a Simple Ladder upload from the PLC as-is. That way you will get all the code with the current assigned addresses into GW2 (the ones that were assigned during previous download). The only drawback by doing this is that you will not get any comments at all (just the code). But putting in comments after uploading is an easy task when you already have the original source code with comments (it's a pure punching job). You are correct in how the Navigator system is supposed to work. Every address change is linked through the project files and reflected at the HMI. Our current system does work, but our entire Maint. staff is afraid of it because they have been told for years to not modify this code. Now as the system is aging and we are seeking to modify the process, but in order to do that this issue needs resolved. What you are suggesting about reading the file and punching the comments in manually has crossed our mind, but this program is approximately 8 times larger than any other programs so that would be a large scale task. Edited August 9, 2017 by WattUp additional details
kaare_t Posted August 11, 2017 Report Posted August 11, 2017 I've been thinking about this case, and I really don't have any other suggestions. I guess it must be done the hard way (by recreating the complete code, or by uploading and commenting the existing code).
WattUp Posted August 11, 2017 Author Report Posted August 11, 2017 I appreciate your help. That was the same conclusion I had come to but had hoped someone might have a better idea.
kaare_t Posted August 11, 2017 Report Posted August 11, 2017 No problem, good luck with the task in hand
Akahige Posted September 5, 2017 Report Posted September 5, 2017 Mitsubishi came out with a tech bulletin on this (R72-141-SLSASG-007). It is available on their website but here is the copy I have downloaded: TB - iQ Works Navigator Exporting GXW2 Project Procedure.pdf 2
Mitsm83 Posted September 6, 2017 Report Posted September 6, 2017 12 hours ago, Akahige said: Mitsubishi came out with a tech bulletin on this (R72-141-SLSASG-007). It is available on their website but here is the copy I have downloaded: TB - iQ Works Navigator Exporting GXW2 Project Procedure.pdf Nice find!! 1
Akahige Posted September 6, 2017 Report Posted September 6, 2017 @bakkerfrits Go to the Mitsubishi website: https://us.mitsubishielectric.com/fa/en On the upper right hand you will see a Sign In and My Mitsubishi link. in order to go to the My Mitsubishi link sign in (create a user's account, free and no obligation required): Once in the My Mitsubishi link (only available after signing in) you can find these documents two ways. Under the the Knowledge base or placing the product number (the number provided in my previous post) in the search engine in the upper right corner: Hope this helps.
Akahige Posted September 6, 2017 Report Posted September 6, 2017 (edited) @bakkerfrits I used the search engine (after sign in) and this resulted: Unfortunately without signing in the search area is limited: Edited September 6, 2017 by Akahige
kaare_t Posted September 8, 2017 Report Posted September 8, 2017 On 5.9.2017 at 3:37 PM, Akahige said: Mitsubishi came out with a tech bulletin on this (R72-141-SLSASG-007). It is available on their website but here is the copy I have downloaded: TB - iQ Works Navigator Exporting GXW2 Project Procedure.pdf Great work! Thanks!
WattUp Posted September 15, 2017 Author Report Posted September 15, 2017 I've been stuck in Florida from Irma but finally tried this on my project. Unfortunately, i get this error message after step 1c. I am offline with the PLC for testing though, so I am not sure if the error is because of that or from the project already being broken from the Navigator program.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now