On Saturday 07 November 2020 14:20:53 Peter C. Wallace wrote:
> On Sat, 7 Nov 2020, andy pugh wrote:
> >> Date: Sat, 7 Nov 2020 18:30:11 +0000
> >> From: andy pugh <[email protected]>
> >> Reply-To: "Enhanced Machine Controller (EMC)"
> >> <[email protected]>
> >> To: "Enhanced Machine Controller (EMC)"
> >> <[email protected]> Subject: Re: [Emc-users] encoder
> >> vs headache and bad threads.
> >>
> >> On Sat, 7 Nov 2020 at 18:03, Gene Heskett <[email protected]>
> >> wrote:
> >>
> >> With the servo repeat rate of 1khz, and the high speed I am
> >> spinning this encoder, up to 15k or so is there any chance I could
> >> get an advanced warning of this condition
> >
> >Set hm2.....encoder.N.quadrature-error-enable and watch the
> >quadrature-error pin?
> >
> >--
> >atp
> >"A motorcycle is a bicycle with a pandemonium attachment and is
> >designed for the especial use of mechanical geniuses, daredevils and
> >lunatics."
> >ÿÿ George Fitch, Atlanta Constitution Newspaper, 1912
>
> The encoder error bit may catch it, also if you could measure the
> peak/peak velocity noise and trip an error of ver a certain threshold
>
> A better way might be to re-work the index logic in the driver so
> index detection is always enabled, and the latched count at index is
> used as a sanity check of encoder operation.
>
I think I've been doing that in my hal file(s) for at least a decade.
Based on if its got an index, why not use it? And if it doesn't have a
home switch, add one of those too.
Where would I see that error if there is a miss match?
Thanks Peter.
>
>
> Peter Wallace
> Mesa Electronics
>
> (\__/)
> (='.'=) This is Bunny. Copy and paste bunny into your
> (")_(") signature to help him gain world domination.
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users