[etherlab-users] PD Watchdog error on EL7211

Graeme Foot Graeme.Foot at touchcut.com
Tue Jan 10 22:12:13 CET 2017


I originally had this problem with the amps I use so I created a patch to add a ecrt_master_deactivate_slaves() function.

When shutting down my application I call ecrt_master_deactivate_slaves() and continue realtime polling until (masterState.al_states == 0x02).  I can then exit realtime and call ecrt_master_deactivate().

I'm not sure if that part of my patch got picked up by etherlab or Gavin's patch set (see etherlab-dev forum).

I've attached the patch file I currently use.  You could extract out the bit you need.  (Note: I use and patch against etherlabmaster 1.5.2 2526.)



From: etherlab-users <etherlab-users-bounces at etherlab.org> on behalf of Philippe Leuba <pleuba at swissonline.ch>
Sent: Wednesday, 11 January 2017 05:16
To: etherlab-users at etherlab.org
Subject: [etherlab-users] PD Watchdog error on EL7211


When I quit my application by calling ec_master_deactivate, this causes an error of watchdog on the EL7211 slave.

If prior to quit my app I use the command line tool to do an 'ethercat states PREOP', I get rid of the problem, but this function is not available in ecrt.h.

Is it the right method ?

Philippe Leuba
etherlab-users mailing list
etherlab-users at etherlab.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20170110/caa84d88/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: etherlabmaster-1.5.2-2526-patched.patch
Type: application/octet-stream
Size: 190714 bytes
Desc: etherlabmaster-1.5.2-2526-patched.patch
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20170110/caa84d88/attachment-0004.obj>

More information about the Etherlab-users mailing list