[etherlab-users] Beckhoff AX200

Florian Pose fp at igh-essen.com
Mon Oct 27 09:50:03 CET 2008


Hi Jens,

On Fri, Oct 24, 2008 at 01:04:09PM +0200, Jens Kotlarski wrote:
> [11465.275027] EtherCAT ERROR: Failed to set SAFEOP state, slave 1 refused
> state change (PREOP + ERROR). 
> [11465.277023] EtherCAT ERROR: AL status message 0x0017: "Invalid sync
> manager configuration". 
> 
> We already tried a couple of things to fix it ==> without success... The
> questions we have are:
> - Is it a general problem concerning the master (unable to handle such sync
> managers)?

No, the master just writes the control byte to the slave.

> - Is it a problem of our settings and slave configurations? Any fixing
> ideas?

Maybe the slave does not accept the Pdo configuration. Could you please
supply the following files:

- the vendor-supplied slave description XML file,
- a master-generated slave description XML file ('ethercat xml
  -p<your-slave>'),
- if possible, the generated C-code (<your-model>-etl-rtw/<your-model>.c),
- the output of 'ethercat config -v -p<your-slave>
- the output of 'ethercat pdos -p<your-slave>'
- and the output of 'ethercat slaves -v -p<your-slave>'

Then we can analyze the problem. Concerning the sync manager error in
Simulink, this is probably a bug in the ec_slave2 s-function, that we'll
have to fix.

> - Does somebody know the meaning of the ControlByte?

Yes, 0x22 means that the master shall read from the sync manager memory
and the user event shall be active. 

-- 
Best regards,
Florian Pose

http://etherlab.org



More information about the Etherlab-users mailing list