Re: [Emc-users] Question for Peter C.W.

2020-02-13 Thread Gene Heskett
On Thursday 13 February 2020 12:00:41 Jon Elson wrote:

> On 02/12/2020 09:42 PM, Gene Heskett wrote:
> > quadrature is way off, but what concerns me in that these ATS-667's
> > are running on 5 volts, normally switch rail to rail.  But at the
> > hm2-encoder-0 a b or Index, I am seeing a decent square wave, but
> > its only 1 volt p-p.  For all three ATS-667's.
>
> HUH?  On digital signals, Halscope displays 1 and 0, these
> are not analog values, just
> logic, on and off.  How do you suppose the Mesa digital
> input logic gives you an analog
> reading?
>
It can so do analog, like the waveforms around a PID.  So how does it 
determine which is which?

And after reglueing one of the ATS-667's its dead. I had spares in a bag 
on top of the g0704 furniture but can't find them this morning. Going 
back out to get up on a ladder and take a better look, got Dee some 
lunch and the Orkin guy was here checking baits for additional 
distraction.

I need someone to cross check my math for quadrature spacings, the OD of 
the bull gear is exactly 6" and it has 60 teeth. But then it gets into 
trig because of the curvature and I don't get the correct answers. 

??

Looking at the duty cycles of the output, it appears the bent spindle 
error is causing a couple thou of runout of the bull gear. Figuratively 
speaking I paid 2G's for a $200 lathe. A heavy chuck was mounted when it 
fell over, smashed the compound and striped threads out of the crossfeed 
nut. Way before it followed me home where I found 80 thou of backlash in 
the crossfeed because some one in the distant past had repaired it with 
a helicoil kit.  The crossfeed screw was in good shape but a good hammer 
would have sheared what was left of the helicoil, it was a very good 
knife. All rebuilt with a smallish ball screw anchored by putting 100% 
bearings in the front crank axle. X backlash is around a thou now.

Thanks Jon.
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


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 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Question for Peter C.W.

2020-02-13 Thread Jon Elson

On 02/12/2020 09:42 PM, Gene Heskett wrote:


quadrature is way off, but what concerns me in that these ATS-667's are
running on 5 volts, normally switch rail to rail.  But at the
hm2-encoder-0 a b or Index, I am seeing a decent square wave, but its
only 1 volt p-p.  For all three ATS-667's.


HUH?  On digital signals, Halscope displays 1 and 0, these 
are not analog values, just
logic, on and off.  How do you suppose the Mesa digital 
input logic gives you an analog

reading?

Jon


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Question for Peter C.W.

2020-02-13 Thread Gene Heskett
On Thursday 13 February 2020 04:58:50 andy pugh wrote:

> On Thu, 13 Feb 2020 at 03:44, Gene Heskett 
> wrote:
>
> hm2-encoder-0 a b or Index, I am seeing a decent square wave, but its
>
> > only 1 volt p-p.  For all three ATS-667's.
>
> halscope shows logic 0 and logic 1. It has no way to display voltage.

I can't argue as thats impossible to check on another machine without 
going out and manually turning on spindle power on one of the others as 
both the g0704 and the 7x12, that is a manual function. That lathe is 
the only machine with motor power (and an encoder) slaved to 
motion-enable. I've made more i/o available on the others but haven't 
yet bought the SSR's to do that. I've found that rather handy on the 
sheldon as all power is off leaving only the rpi4 running when lcnc 
isn't running. The rest I'm not really comfortable leaving motor power 
on when the lights are out unless its actually doing a job. But thats 
not how they are wired, Correcting that on the other 2 encoder equipt 
machines will need major rewiring as the breakout logic and the motors a 
common supply.  It is on the todo list, but its a ways down the list.

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 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Question for Peter C.W.

2020-02-13 Thread andy pugh
On Thu, 13 Feb 2020 at 03:44, Gene Heskett  wrote:

hm2-encoder-0 a b or Index, I am seeing a decent square wave, but its
> only 1 volt p-p.  For all three ATS-667's.


halscope shows logic 0 and logic 1. It has no way to display voltage.

-- 
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

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Question for Peter C.W.

2020-02-12 Thread Gene Heskett
Hi Peter;

Working on my encoder, I have a 5 to 1 signal attenuation according the 
the halscope. I'm useing ATS-667's to sense the bull gear that turns 
with the spindle.  But the go-2, aka goop holding them in their pockets 
of a curved piece of alu was rotted by the 0w20 oil I use in the bronze 
bearinged spindle running out the rear of the bearing and migrating or 
being thrown up to the bracket holding the ATS-667's.

Putting it back together with jb-fastweld this time hoping it will 
withstand the inevitable oil, I hooked the halscope to hm2-encoder-0 a, 
b and index, and set it up to check quadrature.

quadrature is way off, but what concerns me in that these ATS-667's are 
running on 5 volts, normally switch rail to rail.  But at the 
hm2-encoder-0 a b or Index, I am seeing a decent square wave, but its 
only 1 volt p-p.  For all three ATS-667's.

Since that is the input, shouldn't I see pretty close to the same rail to 
rail coming out of the ATS-667's?

O, does the halscope need a different gain calibration when its 
running on an rpi4?

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 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users