On Monday, April 16, 2012 06:15:29 AM Andrew did opine:

> 15 ذ؛ذ²ر–ر‚ذ½رڈ 2012 ر€. 19:49 andy pugh <bodge...@gmail.com> 
ذ½ذ°ذ؟ذ¸رپذ°ذ²:
> > You need to Halscope the encoder pins (dmesg should tell you which
> > gpio pins correspond to the encoder phases) and see if there is a good
> > quadrature signal getting into LinuxCNC.
> 
> Here's the halscope
> http://img35.imageshack.us/img35/3557/screenshot1kq.png(pins 12 and 13
> supposed to be A and B)

Looks like it is but those slow rise & fall times (looks to be slew rate 
limited), coupled with the non-50% duty cycle, could be problematic.

Who made that encoder?

For a scope shot of the opto based one I built, see on my page in the sig, 
at Genes-os9-stf/eagle/quadrature-waveform.JPG where you can see the nearly 
50% duty cycle, and near 90 degree quadrature of the 2 signals.  This seems 
to track well all the way to 2500 rpm, that spindles top speed.

> I do not understand what's going on. When I change counter-mode to 1 it
> counts only in one direction, and 4 times less distance.

Expected I believe but check the HAL manual, its much more accurate than my 
aging memory.

> I.e. probably
> channel  A is OK, but it does not see B.
> I checked the encoder connection to 7i39 many times. And just checked
> this encoder perfectly works with 7i48.
> Could it be pinout error in 7i39 manual or firmware? Anyone has working
> config for 7i43+7i39?
> 
> Too bad I have not received yet my ordered o-scope to check the signal
> on encoder output pins...
> 
> Andrew

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene>
Earn cash in your spare time -- blackmail your friends.

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to