On Sunday 03 February 2019 01:19:26 Peter C. Wallace wrote:

> On Sat, 2 Feb 2019, Gene Heskett wrote:
> > Date: Sat, 2 Feb 2019 21:46:24 -0500
> > From: Gene Heskett <ghesk...@shentel.net>
> > Reply-To: EMC developers <emc-developers@lists.sourceforge.net>
> > To: emc-developers@lists.sourceforge.net
> > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> >
> > On Saturday 02 February 2019 19:51:18 Peter C. Wallace wrote:
> >
> > On Sat, 2 Feb 2019, Gene Heskett wrote:
> > > Date: Sat, 2 Feb 2019 19:01:59 -0500
> > > From: Gene Heskett <ghesk...@shentel.net>
> > > Reply-To: EMC developers <emc-developers@lists.sourceforge.net>
> > > To: emc-developers@lists.sourceforge.net
> > > Subject: Re: [Emc-developers] 7i76 vs spinout signal
> > >
> > > On Saturday 02 February 2019 16:00:04 Andy Pugh wrote:
> > > > On 2 Feb 2019, at 18:13, Gene Heskett <ghesk...@shentel.net>
> > > > wrote:
> > > >
> > > > But whats the range of spindle speed requests that are valid in
> > > > that case.
> > >
> > > Approx -1.8 x 10^308 to  +1.8 x 10^308
> > >
> > > Because itÿÿÿÿs a double precision floating point.
> > >
> > > Are you reading the 7i76 manual or just the LinuxCNC docs?
> >
> > The 7i76 manual lacks anything like such an explanation for the
> > spindle functions. Or has it been expanded and corrected?, I've had
> > the doc file I am looking at for about 3 months now.
> >
> > Thanks Andy.
>
> I just read it again, top to bottom and back up. None of this stuff is
> in it, nor is there any reference to reading the manpage for sserial.
>
> > The sserial man page has some info about the 7i76 pins
>
> So it does, but haveing no reference to it in the doc, I hadn't read
> it until now. It also states theres a high likelyhood of its being
> permanently out of date.  And it makes zero mention that ENA and DIR
> appear to be activated ONLY when when spinout has valid non-zero data.
> That might work for a vfd but not for a pwm-servo such as Jon sells.
> The way its worded, ENA and DIR appear to be straight thru from input
> to output isolated controls, which would make them 100% useful. But
> because they aren't activated until spinout has valid non-zero data,
> the ENA is of zero use to me. That amp must be enabled, then pulsed to
> charge the gates properly before the data from the pid.out arrives at
> the pwmgen.1.value pin to start its generation of pulses. I do have a
> method worked out that should work, using the otherwise mounted for
> its looks, relay on the SainSmart BoB. Driven by p2 of the 5i25 using
> a special bitfile Peter sent me which puts a 2nd pwmgen on the P2
> connector since the first one goes to /dev/null in the 7i76d. I may be
> able to get that wired up tomorrow, but I am making all this hookup
> hardware as I go. From a 150 foot spool of wire, and a bag of GS12-5
> connectors. Darned near too small for these getting a little shaky old
> hands.
>
>
>
>
> Thats not quite true, The 7I76 DIR output is a completely independent
> output bit and ENA must be present for the analog output to work, that
> is analog out is dependent on ENA but not the other way around.
>
I did not find that in my testing, Peter. Neither ENA- was pulled up to 
the +12 volts on ENA+, nor was DIR- pulled up to the +5 volts on DIR+, 
until I gave it a non-zero spinout. In my testing, no power was applied 
to tb4,1-3 because the intent is to use the 2nd pwmgen as the input to 
jon's servo amp in this instant build. I will use it with the vfd in the 
6040 build that I bought the 2nd 7i76d for. So I was forced to use the 
relay on a sainsmart bob to switch the ena to the pwm-servo amp and use 
a timedelay module to delay everything else until the relay was solidly 
closed.

Is there some other magic I missed?  Humm, maybe, I had not learned about 
the params that needed set according to "man 9 sserial" until yesterday. 
IMO, this should have been mentioned in the downloadable doc for the 
7i76 but is not. They now are being set, so I'll retest and advise 
today.

Those aren't accessible to a halmeter, so I have to use a dvm (or a 
scope) to verify. And I was reading  a wandering 60 millivolts to ground 
at those terminals.

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)
Genes Web page <http://geneslinuxbox.net:6309/gene>



_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to