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?
... View more