Re: [Emc-users] losing encoder counts

2022-10-06 Thread gene heskett
On 10/6/22 15:06, John Figie wrote: A colleague once told me that the harder a bug is to find then the easier it is to fix. I think there is a lot of truth to that. John Figie That is a given John. When a bug is hard to find, you start paying attention to every byte, and become one with the

Re: [Emc-users] losing encoder counts

2022-10-06 Thread John Figie
A colleague once told me that the harder a bug is to find then the easier it is to fix. I think there is a lot of truth to that. John Figie On Thu, Oct 6, 2022 at 12:44 PM Thaddeus Waldner wrote: > > The solution to hard problems are always in the peripheral vision. > > > > On Oct 6, 2022, at

Re: [Emc-users] losing encoder counts

2022-10-06 Thread Thaddeus Waldner
The solution to hard problems are always in the peripheral vision. > On Oct 6, 2022, at 12:20 PM, gene heskett wrote: > > On 10/5/22 22:56, Jon Elson wrote: >> Wow, it gets deeper! >> >> It is NOT the encoder, or anything in the encoder-reading process. >> >> I marked the motor shaft, and

Re: [Emc-users] losing encoder counts

2022-10-06 Thread gene heskett
On 10/5/22 22:56, Jon Elson wrote: Wow, it gets deeper! It is NOT the encoder, or anything in the encoder-reading process. I marked the motor shaft, and the motor is returning to the exact same position every cycle. Well, I tried a different indicator and mount, and the problem was in the

Re: [Emc-users] losing encoder counts

2022-10-06 Thread dave engvall
This make a good case for dual independent encoders. motor shaft/ballscrew, ballscrew/glass scale, steps/glass scale, etc. Just for grins I tried the hand crank on my well used (Boeing then trade school, the auction) defunct tracer mill converter by a Russian engineer to cnc for the trade

Re: [Emc-users] losing encoder counts

2022-10-05 Thread Sam Sokolik
Lol.. I remember Chris R was working on rigid tapping at one of the fests in galesberg.. He was using the mazak which had been converted to linuxcnc.. (I think it had been worked on over a couple fests. ). Anyway - it didn't seem to be tracking the correct pitch.. (Tapping in plastic).

Re: [Emc-users] losing encoder counts

2022-10-05 Thread John Dammeyer
o: emc-users@lists.sourceforge.net > Subject: Re: [Emc-users] losing encoder counts > > Wow, it gets deeper! > > It is NOT the encoder, or anything in the encoder-reading > process. > > I marked the motor shaft, and the motor is returning to the > exact same position every cycle. &

Re: [Emc-users] losing encoder counts

2022-10-05 Thread Jon Elson
Wow, it gets deeper! It is NOT the encoder, or anything in the encoder-reading process. I marked the motor shaft, and the motor is returning to the exact same position every cycle. Well, I tried a different indicator and mount, and the problem was in the indicator mount!  I was using an

Re: [Emc-users] losing encoder counts

2022-10-03 Thread andy pugh
On Sun, 2 Oct 2022 at 23:51, Jon Elson wrote: > I am using my PPMC boards, and I've never > seen this on my older Bridgeport using the same hardware. Do you have quadrature error detection in your firmware? ie something that sets a flag if the speed is non zero but you see an out-of-sequence

Re: [Emc-users] losing encoder counts

2022-10-03 Thread gene heskett
On 10/3/22 07:48, Sam Sokolik wrote: Our 80's vintage matsuura started losing counts when the 5v supply started to lower.. don't remember how far down.. Maybe 4.7v? Wearing my C.E.T. hat, at 4.7 volts, all it can do is crash, and if there is a resistively terminated scsi drive involved, it

Re: [Emc-users] losing encoder counts

2022-10-03 Thread Sam Sokolik
Our 80's vintage matsuura started losing counts when the 5v supply started to lower.. don't remember how far down.. Maybe 4.7v? On Sun, Oct 2, 2022, 11:54 PM gene heskett wrote: > On 10/2/22 22:25, John Figie wrote: > > So if you missed an A or a B pulse from the encoder I think you should >

Re: [Emc-users] losing encoder counts

2022-10-02 Thread gene heskett
On 10/2/22 22:25, John Figie wrote: So if you missed an A or a B pulse from the encoder I think you should see the position count go in the opposite direction for one count. Another words, instead of a position sequence of 0,1,2,3,4,5,6,7 you might see instead 0,1,2,3,2,3, and in addition the

Re: [Emc-users] losing encoder counts

2022-10-02 Thread John Figie
So if you missed an A or a B pulse from the encoder I think you should see the position count go in the opposite direction for one count. Another words, instead of a position sequence of 0,1,2,3,4,5,6,7 you might see instead 0,1,2,3,2,3, and in addition the time spent in 3 followed by 2 would each

Re: [Emc-users] losing encoder counts

2022-10-02 Thread Jon Elson
On 10/2/22 19:34, John Dammeyer wrote: Oh boy does that bring back memories. I started with the US Digital Encoders on the DC Servos. According to the designer of the PIC upgrade board for the HP_UHU Servo drive the US Digital were crap and caused nothing but problems. I switched to CUI and

Re: [Emc-users] losing encoder counts

2022-10-02 Thread John Dammeyer
in China. So try different encoders. John > -Original Message- > From: Jon Elson [mailto:el...@pico-systems.com] > Sent: October-02-22 3:49 PM > To: emc-users@lists.sourceforge.net > Subject: [Emc-users] losing encoder counts > > I thought I was about done with my

[Emc-users] losing encoder counts

2022-10-02 Thread Jon Elson
I thought I was about done with my R2E3 retrofit project. But, doing some testing, I found it was losing a little bit of position when moving. Every axis shows this, but it is worst on the Y axis. I have a program that moves Y 3" back and then returns to the indicator. It seems like at 12IPM