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.
08-09-2022 11:47 AM
Good morning,
I'm having an issue when developping a new CmdHandler based object.
When I compile the library and run it on the PLC code, the chains of the new object are run automatically when starting the PLC code.
If I build the library without it being compiled, this issue doesn't happen.
Is this normal? I would imagine that Nexeed runs the chains to check if they are available, since the library is compiled, but I'm not sure if this is supposed to happen.
Thank you for your support.
Solved! Go to Solution.
08-09-2022 12:28 PM
What chains do you mean? Chains for single commands? These chains should run only when command is selected and executed.
What library do you compile?
Can you poste here screenshot of your object structure in OES and in TwinCAT?
08-09-2022 12:35 PM - edited 08-09-2022 12:35 PM
Make sure that you have set the SFC flags correctly. When creating new projects with Control plus Studio, this is already included in the Nexeed template.
When creating a SFC FB make sure to use these default settings (or alternatively set every SFC flag manually for every SFC FB):
If you create non-compiled libraries the default settings of the application will be used. For compiled libraries the settings in your library project will be used.
08-09-2022 12:41 PM
That was exactly my problem.
I forgot to set the SFC settings for the library project.
Thank you very much.