On Wednesday 21 November 2018 19:33:52 Erik Christiansen wrote: > On 21.11.18 18:37, Nicklas Karlsson wrote: > > > We need a utility that detects out of order addf's, each of which > > > then causes a one thread execution delay in the data traveling > > > that path. Data from a limit/home switch to use a real simple > > > circuit, should be present at the motion input when motion is > > > invoked. But what if the debounce addf is out of its assumed > > > order? Placed below motion in that thread? > > > > The configuration is essentially a netlist. First step would be to > > list the nets. Then if there are noo loops it would be a simple tree > > with the output as the root for each tree. > > The specified problem - avoiding a one-loop delay in communicating any > output to its corresponding inputs - is infinitely simpler than that. > The solution requires only that the output for each input precede the > input in the addf sequence. As already described upthread, that is > also relatively straightforward to check. All it needs is a list of > loop-prior outputs, grown as each addf is encountered, and a check > that each addf's inputs are all named in that list. Any exception is a > one-loop delay, and can immediately be signalled as such. > > If sample files with netlists and addfs could be posted, then half a > page of awk can do the job, I believe. > > Erik > Since that machine is down ATM, and when I next try to energize it, the 5i25 will have as a breakout, a 7i76 on p3, which will require wholesale editing of the hal file, I'll put both files up on my web page when its cable of cutting a db25 pattern in a panel.
But I'm seeing a problem, the 7i76 has no pwm/pdm outputs, driving an analog signal suitable for a vfd, but I need the pwm/pdm to drive my lashup, one of Jon's pwm-servo amps for spindle control. Trolling thru the mesa site, it appears I need to put a 7i78 on the p2 connector in order to restore the pwm spindle speed/direction controls of this lashup. Which also gives me 4 more stepgens for a total of 9, but I only need 4. So I've got to go jump thru hoops and get that ordered, or talk to PCW to find out if a normal decent bob can do that when the 5i25 is flashed to the 7i76/7i78 firmware. I've 2 of the Sainsmart bobs on hand now, if I can use one of them, great. Have a happy turkey day, Erik! -- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
