[etherlab-users] PD Watchdog error on EL7211

Philippe Leuba pleuba at swissonline.ch
Wed Jan 11 21:01:46 CET 2017


Hi,

Thanks for your answer, I will check

Philippe Leuba

> On 10 Jan 2017, at 22:12, Graeme Foot <Graeme.Foot at touchcut.com> 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 <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
>  
> 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
> etherlab-users at etherlab.org
> http://lists.etherlab.org/mailman/listinfo/etherlab-users
> <etherlabmaster-1.5.2-2526-patched.patch>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.etherlab.org/pipermail/etherlab-users/attachments/20170111/31324465/attachment-0004.htm>


More information about the Etherlab-users mailing list