There is no reason why it shouldn't run in the servo thread... Master seems to work (It is running at 500hz in the servo thread)
sam On Fri, Feb 21, 2020 at 9:34 PM Gene Heskett <ghesk...@shentel.net> wrote: > Greeting all; > > In going thru my hal file to add a machine power control, hooked to > e-stop-out, which yu can click on or tap the F1 key to toggle, I found > the charge_pumps man page say it needs a base thread ?? It did work in > the past when I was using that circuit from mist or flood to run a motor > the brought a locator bar into the end of a shop made jig, to locate the > board while machining the green and green fingers for a blanket chest, > but which by shutting off that button, opened the bar, getting it out of > the way of being cut to pieces by the tool as it cut the finger patterns > into the ends of the boards. There was no base thread running then > either but the charge_pump happily toggled along at half the servo > thread or 500 hz. Now it doesn't work and the man page now says so. > > Why? I did that, made up a charge bucket in hardware because it was not > possible to control that bar with a dc signal so it was only engaged > when mill power was engaged and enabled with the gui button toggle. > > Now I will need to come up with something to duplicate that. I can, I did > it on the 6040 controlling the mister when I found it came on and > drained the tank overnight when linuxcnc was shut down. Except I got > plumb fawncy and made both half cycles adjustable as a very wide range > flow control with 1 millisecond resolution. > > But why was the charge_pump disabled from running in the servo thread? > There must have been a reason, but its hidden from me. > > 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-developers mailing list > Emc-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-developers > _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers