Thestaar Posted December 13, 2020 Report Posted December 13, 2020 Hello. Im trying to make changes in one POU and when pressing the online change button it tells me to do a rebuild all, after doing that and pressing online change it tells me that I need to stop the cpu and do a download of the entire project, clear the memory and what not. Im using Gx works 2 and it is a q02cpu. I have only worked with Siemens before so I Dont have any experience with Mitsubishi plcs. Thx for help.
AndreasW Posted December 13, 2020 Report Posted December 13, 2020 Hi Thestaar, have a look at chapter "15.9 online change" and chapter "12.2 option setting list" in GXWorks2 Operating manual, https://eu3a.mitsubishielectric.com/fa/en/dl/9541/sh080779.pdf check the "execute online change by compile" option in section 'onliine change', and the"Turn PLC to STOP at time of PLC write after executing Rebuild All and do not execute remote RUN" option in the PLC Read/Write section
Thestaar Posted December 14, 2020 Author Report Posted December 14, 2020 (edited) Hi! Thank you for the help. But it does not matter what settings i make, it still tells me to put the cpu to stop to write to the plc. Here is a screenshot on the message I get. https://imgur.com/a/giNWp2N Edited December 14, 2020 by Thestaar
AndreasW Posted December 14, 2020 Report Posted December 14, 2020 Hi Thestaar, I think the message is clear, because after reassigning devices to the labels (what takes place after a rebuild all command is executed) it can't do an online change. I think if you already did a rebuild all, you have to put the cpu to stop to write to plc, if its done and both program & controller matches, you should be able to do a online change after a compile (not a rebuild all!) if option "execute online change by compile" is selected and option "turn plc to stop at time of PLC write after executing rebuild all and do not execute remote run" is cleared
Thestaar Posted December 14, 2020 Author Report Posted December 14, 2020 Okey thx Andreas. But even if I dont do a rebuild all it still gives me the same message. But okey I need to put the cpu in stop and dowload the program. I did a verify and got some mismatches, I just wonder if I need to be concerned. What I can see is that some devices have different device ids. Please se the screenshots below. https://imgur.com/a/zYAY41g https://imgur.com/a/P3Jbzh9
AndreasW Posted December 14, 2020 Report Posted December 14, 2020 Hi Thestaar, i think that your project isn't up to date (mismatch in program file) and that this is the cause, why you can't do an online change. Maybe you should try to read the program from plc (be sure to first make a backup of your project file) and then re-verify the project. (the deviation in the device data is usually not a problem, don't let it confuse you, the important thing is that the program file matches). If the program file matches you should be able to do an online change
Thestaar Posted December 14, 2020 Author Report Posted December 14, 2020 I did a read from plc to the project and it still gives me mismatches when verifying and still no online change but i guess its alright then.
Thestaar Posted December 17, 2020 Author Report Posted December 17, 2020 (edited) Thx for the help, I downloaded the project and everything is fine :) Edited December 17, 2020 by Thestaar
Jtebright Posted August 7, 2023 Report Posted August 7, 2023 I'm experiencing the same issue. The rebuild to the labels causes the devices to be off by 1 and creates a mismatch after doing a read. Wanting to avoid a download. Any one have a solution?
FRANK RUIZ Posted August 15, 2023 Report Posted August 15, 2023 suggestion. untick labels when programming, then just upload to plc labels on their own.
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