On Saturday 20 September 2014 00:50:35 Jon Elson did opine And Gene did reply: > On 09/19/2014 10:58 PM, Gene Heskett wrote: > > It has been run, for a day & a half, dead clean but not exactly > > recently. If geany ever does it, yup on the memtest86 session, > > instantly. So far, geany has not had any such hiccups. > > I use emacs, which I believe is what is actually running > behind the wrapper > of gedit. You can sure make mistakes, but I've never had > unreliable > operation that wasn't due to something I did. > > Jon
geany's 'hot keys' are pretty much gedit's keys, so its not hard to do the transition one to the other. I would like it better if the left panel would go away, and if it reopened the file with the cursor where it was when the file was closed so you could go right back to work on the stanza of stuff you are working on. This .hal file, by the time its working to suit fussy old me, will probably be pretty close to 400 LOC. Well over 350 now, but there are several stanza's of code in it that can and will be nuked. All of the old braking relay control code is still there but unused & that is probably 75 LOC right there. I couldn't sleep all that well last night, so its not run the machine tested yet, but the order of execution for motion.spindle-speed-rps is now: net netname motion.spindle-speed-rps >limit2.0.in (accel ramping) net netname limit2.0.out > pid.s.command near.speed.in1 net netname pid.s.output > boot.0.pid0 net netname boot.0.pout0 > abs.piddir.in gearchg.spndl.speed-in net netname gearchg.spndl.speed-out > limit3.0.in setp limit3.0.maxv [SPINDLE_9]PID_S_MAX_OUTPUT setp limit3.0.maxa [SPINDLE_9]ACCEL #same as limit2, to cushion gearchg effects net netname limit3.0.out > hm2_5i25.0.pwmgen.00.value pid.s.bias is a CF but actually works fairly well: # then, correct for friction in drive setp sum2.bias.gain0 50.0 # trim for proper speed at 30rpm setp sum2.bias.gain1 -50.0 # ditto net is-plus0 abs.piddir.is-positive conv_bit_u32.dirF.in net is-plus1 conv_bit_u32.dirF.out conv_u32_float.dirF.in net is-neg0 abs.piddir.is-negative conv_bit_u32.dirR.in net is-neg1 conv_bit_u32.dirR.out conv_u32_float.dirR.in net bias-dirF conv_u32_float.dirF.out sum2.bias.in0 net bias-dirR conv_u32_float.dirR.out sum2.bias.in1 net pid.bias sum2.bias.out pid.s.bias All so the sign of the bias to overcome friction follows the requested direction. :) Works well, fwd & reverse speeds match within about 1 rpm. There is quite a bit of logic used to steer a zero into limit2.0 so that it outputs zero until the boot module has completed its work, none of which is shown above. Gets rid of a big jerk at startup since the 'ACCEL' above is currently about 5.6. Today I will make a bit more insurance headroom in PID_S_MAXOUTPUT and in pwmgen SCALE, lowering both while watching speed requested vs speed delivered since it seems the miss-match gets worse if I double both settings. No clue if this is due to non-symmetrical rise & fall times in my BOB or what. Currently running pwmgen at 25 kilohertz. Progress here is like government work, slow. Unforch, I am the major cause of the slow since my standing up at the keyboard time is limited. I need to get some more shots in the left knee, and another round of saddle blocking cortisone shots in my back. I can't recommend getting old, avoid it if at all possible. It's good to still be, considering the other alternative, but is not always 'fun'. If I'd have had a clue I was going live to see 80, I would have taken much better care of me way back when. ;-) All you guys that think picking up one end of a 400+ lb whatever and walking around with it, including up and down flights of stairs just because it needs to be done NOW, WILL wind up paying the price when you get north of 60 or so. Life's lessons... But most of us have to live a long life to learn them. Thanks Jon. 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> US V Castleman, SCOTUS, Mar 2014 is grounds for Impeaching SCOTUS ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that Matters. http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
