On Tue, Aug 14, 2018, 12:26 PM Gene Heskett <ghesk...@shentel.net> wrote:
> On Tuesday 14 August 2018 11:46:38 jeremy youngs wrote: > > > On Tue, Aug 14, 2018, 3:28 AM andy pugh <bodge...@gmail.com> wrote: > > > On 14 August 2018 at 02:52, jeremy youngs <jcyoung...@gmail.com> > wrote: > > > > Now it gives this > > > > > > The error is "setp needs 2 arguments, only one given" and tells you > > > that the problem is on line 15 in qi.hal > > > > > > Line 15 in qi.hal says "setp hm2_7i90.0.pwmgen.00.scale" > > > But has no value provided to set the scale to. > > > > > > Is this directly proportional ? I.e a value of 1 is 1% duty cycle > > > max , 99 would be 99% and 100 = 100? > > > > I ask this also because my h-bridge ( driving x,y,z all need 99% max > > as they are charge pumped) and can this scale be set at each axis ? > > Sure. Running my 1hp+ spindles with Jon's (Pico Systems) pwm-servo amps, > which have a same requirements, thats part of my hal files. So is > restarting the "boot" up of these amps everytime they are restarted from > zero speed. > Great , that is a very simple solution even I can follow > > Also , if I cd linuxcnc , servo Matson ( machine name ) will that load > > the hostmot2 7i90 configuration? Then I can look at the hm2/7i90 pins > > to properly net them . I took the 7i90 lines from the original servo > > Matson Hal file , so they would be on the same pins as my 7i90 is set > > up for ( the pwm and enable pin) will I have to change the pin > > definition of the enable bit to pwmgen and will it need an address > > different than pwmgen 02? Pwmgen 02 is net to A-out and it seems ok > > with that .I assigned a value to scale and it then balked at line 18 > > needs 2 arguments , the issue for me is I don't know which hm2 7i90 > > pin to net to b-value I have changed a/b out back to their original > > syntax of value , it was ok with the a-value assignment but did not > > like the b-value assignment to the enable pin . > > The enable pin in a lot of this defaults to enabled if not connected at > the amplifiers input. You don't feed it a pulse in any event. Its either > on or off. > > The pin is already assigned in mess firmware , I do not want to use it as > an enable , I want to use it for pwm , I need to assign it a pwm function > but am unsure how to do that , and I have misplaced the script to allow me > to see the mess configuration , even though you can name a pin whatever you > want , I really want b-value to come out as a pwm on the existing enable > pin and I am amiff as to how to actually do this , once the scale was > assigned it was happy with the A-VALUE assignment. > > If handled correctly, this can make your H-bridges into a full, 4 > quadrant driver, meaning it will stop as quickly as it starts, > recovering the energy by dumping it back into the psu, so direction > reverses are done using the full power of the motor. My G0704 can > reverse from 2k revs in the direction its running to 2k revs in the > opposite direction in around 400 milliseconds. In fact I have a limit3 > in that path to slow it so the current limit 'chirp' from the driver is > much less noticeable. The recovered energy from the stop is used to > start it up in the reverse direction, so the psu voltage actually rises > above the filter caps ratings while the slowdown is taking place, then > returns to the normal run voltage once its back up to speed in the other > direction. The caps in the psu won't fuss as the very momentary > overvoltage just tends to re-form the caps for full rated voltage. > So far bench testing has shown this to be in fact very stiff , > > So the which critter is which confusion remains. Would you like to see > the stuff I'm running? It obviously won't run your bldc motors but might > be informational enough to help. I won't clutter the list with 3000 LOC, > but they'll send as PM to you. Maybe gzipped. Just ask. > > Yes, please . Also please don't zip it . As I only have my phone for > access . Thank you > > -- > 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> > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users