On Tuesday 31 October 2017 20:55:08 andy pugh wrote: > On 31 October 2017 at 21:54, Gene Heskett <[email protected]> wrote: > > But in converting it to use two pid's, selecting which one by the > > gear shift position, I just ran into a show stopper. I cannot > > connect the encoder index to motion.spindle-index, which is an i/o > > bit, but halchecker won't let me feed both pid's. > > You can, I just tried it. > > bit FALSE spindle-index-enable > <=> motion.spindle-index-enable > ==> pid.0.index-enable > ==> pid.1.index-enable > <=> sim_spindle.index-enable
I'll have to look that one up, if it works, it will save a huge rewrite tomorrow. I take it the bit FALSE is equal to a net in most cases? Except it sets the resting value to FALSE? I put it all on one line except the last line, no sim_spindle here. Ahh, got it to run without the bit FALSE, just a net: net spindle-index-enable <=> motion.spindle-index-enable => pid.sl.index-enable pid.sh.index-enable That looks better. And it runs. Test under power tomorrow. And ISTR having that in there before and halcheck didn't like it. Probably a typu. These ancient fingers don't always type what I'm thinking. But I've got to put a dip in the edge of the knob, and mount a couple roller tipped microswitches to tally the gearshift knob too. That will take a 2nd mux2 and a sum2, but will (or should) disable the spindle if the gear shift isn't in solid engagement. Progress, I believe. That 8" chuck I bought for the Sheldon, supposed to arrive the 3rd? Walked up on the deck and plopped itself down in the missus's sunning chair today, the 31st. In an amazon box via the USPS. I wonder what their weight limit is, cuz that has to be right at 31 lbs with all the packaging. I can see I'll have to make a sled to sit on the ways to hold and catch it. Thanks Andy, a bunch. 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 [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
