On Friday 25 December 2020 06:00:11 Gene Heskett wrote:

> On Friday 25 December 2020 04:57:53 andy pugh wrote:
> > On Fri, 25 Dec 2020 at 09:32, Gene Heskett <ghesk...@shentel.net>
>
> wrote:
> > > Thoughts? Any reason to addf it to any faster a thread than 2x a
> > > second?
> >
> > hy_vfd is a user-space component, so doesn't get added to any
> > thread.
>
> Does its "pins" show up as usable by hal?
>
> > I do occasionally consider working on a modbus layer for the Mesa
> > uarts, to get true realtime control, but it has never got near to
> > the top of my list.
>
> Which is one of the reasons I'm still putzing with register settings.
> I'm running it, but only fwd at an LCNC set speed ATM. rev is being
> ignored. Looking at the block diagram on page 12, there is no voltage
> on the fwd-rev terminal when the spindle is off. There was with the
> old 110 volt vfd, opens at the 7i76 had +10 volts on them and sensed
> the ground to enable fwd or rev.  So I'm still reading thru the
> exceedingly fine print for a clue as to why there is not a voltage
> there so the ground from the 7i76D can be sensed. Either a wrong
> setting someplace, or I have a defective vfd. Needs additional
> investigation but its 2 to 3 steps up a stepladder and my back's
> crushed discs limits the time I can stand and balance there to 2 or so
> minutes at a time. But that's my problem, not yours ;-) When I do find
> it, I'll mark it down in the back of the booklet.
>
> Thanks Andy.

Got it, finally, my own stupidity, I measured and found a couple volts of 
AC on those terminals from an internal scan, and then I grokked that it 
was to interpret the FWD terminal as a "RUN" command, which is now set 
at pd044=01. Then the next terminal, REV was to be seen as a reverse or 
pd045=03, and now those controls work as expected from axis as long as 
pd023=1, enabling the reverse.

So I won't need the hy_vfd after all.  Next is to see if I can get a 
useable signal from the VO terminal, one I can feed a near module for a 
spindle-at-speed signal. And maybe even a SWAG to drive the tach with. 
But to do that right, needs a much lower max range of the A2D's for an 
7i76D input, 36.2 volts for a full scale reading of 255 is way too high. 
zero to 5 volts would be much more useful.  But its a step in the right 
direction, just not as accurate as I'd like. That if scaled, would be 95 
rpm per bit change at the very best.

But first, I have to figure out how to enable the A2D's on the first 4 
inputs.

Onward and upward, and a very Merry Christmas all.
> Cheers, Gene Heskett


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
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to