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.
12-13-2022 02:12 AM
Hello
one issue I have during testing peripheral object. I put the new peripheral into the std and exported to TwinCAT via control plus studio, after that excuted the 'build' process, some errors are then ocurred. I am not sure from which the issue is happend. (please see the picture attached), if any other clues should be provided? like ood file? need your help. thank you
Solved! Go to Solution.
12-13-2022 01:42 PM - edited 12-13-2022 02:50 PM
With regard to the screenshot, I notice several problems at once :
It looks like you want to develop your own modules for the Festo CPX37, right ?
( Just to say, from us there are already objects for the CPX37 available - but so far, only simple I/O modules )
The main error I notice is that you try to address the modules as EtherCat slaves - but only the CPX37 node is an EtherCat slave.
The modules (slots) are EtherCat modules and have no own EtherCat settings or status...
According to this, the compiler errors in lines 6 and 10 should no longer be relevant, because the modules do not have StdEcPar...
But for your information, the constant name is wrong... I think the FinalState should be "OCEC_DEVICE_STATE_OP" ( EtherCat in OPERATIONAL)
but here also the hint, that this parameter is normally set within the peripheral FB and not via the parameters in the OnApplyParameter section....
I hope that this information will help you to solve the problems?
12-15-2022 03:44 AM
thank you~