On Friday 11 September 2015 10:01:34 TJoseph Powderly wrote: > On 09/11/2015 03:59 AM, andy pugh wrote: > > On 11 September 2015 at 05:33, Gene Heskett <ghesk...@wdtv.com> wrote: > >> One hopefully last question then Andy, can hal or axis do the math > >> such that there is one master place to specify this "scale", and > >> set the pid's maxoutput to 0.98 * scale? > > > > No, but yes. > > > > Mathematical expressions are not allowed in a HAL file. > > Unless the HAL file is a TCL HAL file... > > http://linuxcnc.org/docs/html/hal/haltcl.html > > the 1st line in the referenced url says the halcmd language > "offers no computational capabilities" > > which is a bit confusing > ( slight of hand, it says halcmd not haltcl ) > > but certainly the later example > shows the haltcl language can do math > """ > setp scale.0.gain "6.28 / 360.0 * $::AXIS_0(radius) * 60.0" > """ > > I'd have to try the section on auto-converting > from .hal to .tcl by simple find&replace. > Hard to believe its sufficient, but I bet its useful beginning. > I'm not from Missouri but E.StLouis was just across the river ;) > ( who's afraid of the big bad tickle? :) > TomP tjtr33
I was feathered, sorta resembling a chicken, so I called in a scale module, which once configured worked really well. But in the 2.8.0-pre's I have a bitch, a loud one. The halmeter is shown forground for as long as it exists, and that is nice, very nice. But neither halscope nor the hal show config do. I had halscope watching some stuff an external scope cannot access. And everytime I clicked on the mdi line to try a spindle speed change today, all that stuff went behind the axis screen, rendering what you wanted to watch invisible because you simply cannot get it re-selected in time to see the response the system made from the command you typed. IMO thats a bug big enough to get out my Ackley-06 & do some target shooting. I do not recall that it was a problem 2 years ago when I was doing the same spindle tuning exercises. Please fix that I beg you. But while I wasn't able to use a lot of Pgain, 2.5 or so seemed fairly stable, but Igain at 15.00 it tolerated well enough I was able to get some of the work I wanted to do done. With those changes, the spindle speed is being disturbed by a slightly eccentric encoder disk, but its stiff enough under load that the load does not show on the speed slider, even at 100 revs in high backgear. But Murphy is still here. I get it together, and some of the hal changes so even with that heavy a chuck, I can from 400 revs, type m4, m3, m4, m3 and turn the rotation around in a couple seconds, which is much faster than before, 4x faster maybe. But I was hearing some sound effects, it seems one of the jackshaft bearings is not entirely happy, sounding like an inner race is squeeking on the shaft. Anything above 200 revs and its doing the intermittent squeek, occasionaly even at 100 revs. And the darned things are supposedly glued pretty solid with green, penetrating permagoo thread-locker. Hopefully I can change that drive belt for a longer one that will reduce the bearing load. The 6 rib j sized belt can be played like Jack Benny's violin. Which makes me say that vbeltsupply in Sioux Falls SD is NOT a good place to get product. At the price ($14) they charge for shipping a $4 belt, I figured 2 days should get it here. So I called them. Nope, not till at least the 15th. Those switching buck regulator modules from someplace I never heard of in China, ordered last thursday, came yesterday, free shipping via China Post. And the one I put in already works flawlessly. China I hate to say it, is eating our Merican suppliers lunch. And doing it better, faster, and cheaper. 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users