Le 23.05.2012 10:05, Jeshua Lacock a écrit :
> On May 23, 2012, at 2:01 AM, Claude Froidevaux wrote:
>
>> 1)  make a hal check, that disable drive if more than 5-10 consecutive
>> sample period with maximum drive output without any encoder change
>>
>> 2) if you use a hal encoder (brushless motor), use it as second encoder,
>> and cut motor power if more than about 20° of error between both
>>
>> theses are not perfect solution, but are quite simple.
> Hi Claude,
>
> Sounds great, thanks!
>
> Is there anyway you can show me a hal sample or point me in the right 
> direction?  I don't have much hal experience at all.
unfortunately, I never put this function on linuxcnc, but I use it 
several times on micro controller solution.

One thing to get pointed, you must allow 0 or 1 increment of change (in 
case 1 signal is lost, encoder will give 0 1 0 1 0 1 0 1 position, this 
must trip the protection as well)



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to