We are still working on migrating to the new Bosch Connected Industry Online Portal. Stay tuned! Click here for the latest updates.
04-29-2024 02:16 PM - edited 04-29-2024 02:20 PM
Hello, thanks for you reply.
i can't change the mode from mannual mode to other modes;
when i reset cold from twincat side, i can change from mannual mode to other mode once, but can't to change back, or to other mode.
the value of Station.Unit.ModeRequest is corrent when i click any of modes, but Station.Unit.ModeSet can't change to the mode i request.
i also met a problem, that is my release conditions is ok, but all the buttons of the projects are not allowed to clik,no other mannual fucntion is running.
like the pictures below, i read plc code to oes, and export again, there is no effect.
Solved! Go to Solution.
04-29-2024 06:13 PM - edited 04-30-2024 09:13 AM
If the Mode-Change is "hanging" then I am sure, somewhere in your model-tree a cancel is still executing and does not come to an end...
And this could also be the reason, why you could not execute the manual function.
If the running Cancel is not the reason for your problem with the manual function - please check that your release condition is really true - only bool condition can be parsed and displayed in the HMI - not that the HMI shows something wrong, because of a not boolean condition in the OnManRelease method. And please check the error messages - not that the corresponding Unit/Extension is in error state... (in your screenshot there are 2 errors pending)
04-30-2024 05:50 AM
I also encounter the "hanging" mode change quite frequently recently. CANCEL is definitely the most likely candidate for the problem every time. You can check the StateOverview to see which unit is not READY.
Also, I think INIT may cause the problem, too. A unit may easily get stuck in this OpconExecState if you use SqX_Init and somehow the chain doesn't finish proberly. But this case needs confirmation from the Nexeed developers or somebody who knows for sure.
05-06-2024 09:37 AM
We encountered this issue several times on different kind of machines with various OES/Twincat versions. After a lot of searching and testing and tickets to the helpdesk, we couldn't find the rootcause in the PLC code, so it must be some kind of bug in the OES sourcecode, or something .NET related maybe. Every state hangs in NOT READY, and you cannot do anything in the HMI after one mode change.
Usually this happens, when someone with a differently configured laptop downloads the code, and later someone else tries to download again on it.
You can solve the issue 2 ways:
1. Change your Windows sorting setting to "technical". This is more like a prevention, and not 100% proven to solve this issue, but it can help in the future.
2. Get a totally different machine's project or empty project and do an "activate config". After the download is finished, a lot of errors will pop up (since nothing matches). Just ignore the errors and do another "activate config" with your original project. Also deploy HMI config and standards. Don't know why, but this is the only way that solved the problem.
Funny thing is, that even if you try to do "activate config" straight with the original project, it will not work. But if you active the config of a totally different project and then the original, it works.
By the way, there was already a topic about this, I started it a year ago:
05-06-2024 11:32 AM
thanks for all of your replies. the problems have solved, i share it to you.
that is one of my unit is not ready, but my station unit is ready, it stange. i delete the unit , and add it again. all the units are ready, the mode can be changed,successfully.