Re: [etherlab-users] Invalid watchdog configuration

2016-10-19 Thread Gavin Lambert
On 20 October 2016 02:57, quoth Mathias Thiele: DcOn DC active #x0300 0 0 … ecrt_slave_config_dc(sc, 0x0300, 0, 0, 0, 0); This is not a correct translation of that configuration. “Factor=1” means that the DC cycle time is expected to match your SM cycle time, ie. the rate at

Re: [etherlab-users] Invalid watchdog configuration

2016-10-19 Thread Mathias Thiele
Thank you both for your answers. Indeed configuring the sync managers helped. Now - thank you for that info Gavin - I am also configuring the pdos itself to prevent errors. I got the slave to turn into Op-Mode, but it won't react to values I send to him. I got the slave to work with TwinCAT, so I s

Re: [etherlab-users] Invalid watchdog configuration

2016-10-18 Thread Gavin Lambert
On 18 October 2016 22:38, quoth Mathias Thiele: > I do not configure pdos beause the slave does not support that according to > the output given by "ethercat slaves": FWIW, this does not prevent you from configuring the PDOs (as far as the Etherlab code is concerned), it just means that the conf

Re: [etherlab-users] Invalid watchdog configuration

2016-10-18 Thread Florian Pose
Hello, On Tue, Oct 18, 2016 at 11:38:25AM +0200, Mathias Thiele wrote: > EtherCAT ERROR 0-2: AL status message 0x001F: "Invalid watchdog > configuration". maybe the slave complains about the sync manager watchdog setting (enable watchdog). Please see ecrt_config_sync_manager(). -- Best regards

[etherlab-users] Invalid watchdog configuration

2016-10-18 Thread Mathias Thiele
Hi there, I'm currently facing some problems configuring a slave via the etherlab-ethercat api. As soon as I activiate the master, I get this: ERROR 0-2: Failed to set SAFEOP state, slave refused state change (PREOP + ERROR). EtherCAT ERROR 0-2: AL status message 0x001F: "Invalid watchdog configu