On Saturday 02 February 2019 11:00:21 Peter C. Wallace wrote: > On Sat, 2 Feb 2019, Gene Heskett wrote: > > Date: Sat, 2 Feb 2019 07:37:11 -0500 > > From: Gene Heskett <ghesk...@shentel.net> > > Reply-To: EMC developers <emc-developers@lists.sourceforge.net> > > To: emc-developers <emc-developers@lists.sourceforge.net> > > Subject: [Emc-developers] 7i76 vs spinout signal > > > > Can someone please explain to me, who is used to using a spinx1 for > > the pwmgen output to analog voltage conversion, just how in tuncket > > the 7i76 works? I just now found out, when I tried to redirect a > > 5i25 pwmgen output pin and found from the error msg as it died, > > that > > hm2_5i25.0.7i76.spinout is a float input! > > > > In Other Words, pwmgen.0. in the 5i25 is driveing /dev/null. So I > > fed the hm2_5i25.0.pwmgen.0.value to hm2_5i25.0.7i76.spinout and can > > now read it there with a halmeter. But I've no clue what sort of a > > float it wants to use the full voltage range of tb4's spindle- to > > tb4's spindle+ at tb4's spindle-out. > > > > The document on the 7i76 seems to be totally mute on this. Can some > > who knows please explain? > > > > To say I am bumfuzzled at this revelation is putting it mildly if > > this does indeed bring the ENA and DIR outputs on tb4 to life, which > > are not responding with spinout at 0.00000000. I'll have to > > recalibrate scales and gains at several locations in nearly a 800 > > LOC hal file. > > > > Thanks all. > > > > 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 > > The 7I76 spindle output should not be too different from a PWM setup > There are three pins related to spindle control > > 7i76.x.x.spindir > 7i76.x.x.spinena > 7i76.x.x.spinout > > and 5 parameters > > 7i76.x.x.spindir-invert > 7i76.x.x.spinena-invert > 7i76.x.x.spinout-maxlim > 7i76.x.x.spinout-minlim > 7i76.x.x.spinout-scalemax > Aha! Thanks Peter, due to an Oldtimers attack, I never thought to check the halmeter's params menu. Now it all falls into place. Those are relatively small numbers, set in the .ini file for the G0704, excerpt minlim which doesn't apply with a pmdc motor, and the way I'm wiring it I don't think the inverts will be needed.
However, I'll need an ENA active separately on the G0704. Can that be done by inverting a field output? In the sequence of applying signals to srart and boot the pwm-servo, I need the +12 volt on its enable before its booted, in order for the boot to work. And since its a d suffix, ENA- looks like the only way. > > Typically the maxlim and scalemax parameters are set to the maximum > spindle RPM, and the minlim parameter is set to 0. This scales the > analog voltage so full scale RPM is full scale voltage (100% of SPIN+) > > The 7I76 output is unipolar so normally its linked to motions spindle > speed speed-out-abs pin I think I have something else in that path due the the head gear shift in the G0704, but I get the idea now. There's a pid.s in that setup with buckets of Pgain. Not needed in the vfd version since it will never cut threads anyway. So I'm not 100% convinced I need a spindle encoder on the 6040. Anyway, I am slowly wiring it up. And finding the GS12-5 connectors are a bit small for my getting shaky hands to reliably solder to. But I'm getting there. Dinner got in the way for tonight though. And I could use a longer backshell, but thats solvable on the next one. Timeing I'll have to check with halscope. Fun & games. What I really need is an ENA I can drive ahead of time, a millisecond or so, or possibly recompile the boot module for a much longer chain of start pulses. That might do it. But next is getting the spindle power supply startup sequence wired up. That may require I work over a length of 1/2" conduit to fashion a 13mm socket on one end of a foot of it so I can reach in under the pcb's and tighten the nountings nuts. Thanks for the help. > Peter Wallace > Mesa Electronics > > > > _______________________________________________ > Emc-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers 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