We are moving! We are currently migrating our community to the new Bosch Connected Industry Online Portal. The community will be available latest in the new year again, until then it will be in read-only mode. Click here for more information.
2 weeks ago - last edited 2 weeks ago
My addon extends OpconAddonExec that means I implemented some commands I can execute from my code or chains. I would like to add HMI button which can execute command in manual mode in the same way like standard objects do.
But I do not know how to handle this. Should I create addon extension for manual mode?
2 weeks ago - last edited 2 weeks ago
Hello Jiri,
for addons there is no separation like between units and extensions.
You would have to work with your HMI directly on the addon and for your manual release ,
you could ( for example ) use a reference in the ParCfg.
I hope that answers your question ?
2 weeks ago
Hello Thorsten, I need to know where and how to map manual function key from HMI.
And where to place code which sets in manual mode ParCmd and executes addon command. For standard objects this is placed in Man+CommandName.
2 weeks ago - last edited 2 weeks ago
You can also create manually a command SqC, and start the addon command from there. The SqC than can be mapped to the HMI button, and does the same. Not the best and most resourceful solution, but I've seen this in many projects.
2 weeks ago
The ManualFunctionKey can only be linked to manual functions. Add-ons don't have an Extension, so they cannot have manual functions. If you want to bring manual functions through the object definition, your object has to be a unit, not an add-on.
Of course, it is possible to create a manual function in the project that calls a command of an add-on. You cannot link the command to the manual function in CpStudio, but the call would have to be implemented manually in the PLC code.