Hi, Thanks for your answer, I will check
Philippe Leuba > On 10 Jan 2017, at 22:12, Graeme Foot <[email protected]> wrote: > > Hi, > > > 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.) > > > > Regards, > > Graeme. > > > > > From: etherlab-users <[email protected]> on behalf of > Philippe Leuba <[email protected]> > Sent: Wednesday, 11 January 2017 05:16 > To: [email protected] > Subject: [etherlab-users] PD Watchdog error on EL7211 > > Hello, > > 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 > [email protected] > http://lists.etherlab.org/mailman/listinfo/etherlab-users > <etherlabmaster-1.5.2-2526-patched.patch>
_______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
