What happens if your "NOW" time stamped command, is delayed in transmitting to the hardware's que and it isn't read until after it's time stamp has happened? (Things like this happen without realtime.) There could be situations where too late could almost be worse than not at all.
Todd Zuercher P. Graham Dunn Inc. 630 Henry Street Dalton, Ohio 44618 Phone: (330)828-2105ext. 2031 -----Original Message----- From: Chris Albertson <albertson.ch...@gmail.com> Sent: Wednesday, April 17, 2024 8:51 PM To: Enhanced Machine Controller (EMC) <emc-users@lists.sourceforge.net> Subject: Re: [Emc-users] Big Tree Tech Re: Mesa Card Stepgens? [EXTERNAL EMAIL] Be sure links are safe. No it does not fail, we can always send new commands in real time to be executed “right away” (at the current time) and make the queued execution system look and act as if there were no queue. A command taged with the current time will jump to the front of the queue. The system also allows for very delayed execution of commands, like “in five minutes”. This works well because you can queue a macro to do something like poll the voltage of a battery and then place itself back in the queue for five minutes later. But as said with a current time or a special tag that says “now” it reverts back to the way LCNC works. Remember that a time-tagged queue is not executed in order. It is not FIFO, so a command that is placed in the queue, even with 100 commands waiting does not need to wait for the others. > On Apr 17, 2024, at 5:05 PM, Ray Henry <rehe...@fast-air.net> wrote: > > On Wed, 2024-04-17 at 09:13 -0700, Peter Wallace wrote: >> >>> LCNC really should be doing this. If the Measa cards would maintain >>> a queue and a synchronized clock we would not care at all about >>> latency. >>> Klipper >>> proves the idea works. >> >> This is basically what Mach 3/4 do >> >> This fails as soon as you need the control to repond to feedback in >> real time (Spindle synchronized motion, plasma THC etc etc) Its >> possible of course to build this feedback into the interface >> hardware, but there is a big advantage to having this feedback in >> LinuxCNC where is works with any interface hardware, is extensible >> and open, and where the feedback control math/logic has unlimited >> resources. >> >> >> >> Peter Wallace > > > The message on my 25+ year old coffee cup from the NIST Intelligent > Systems Division reminds me at least three times a week to "SENSE -> > MODEL -> ACT." in that order. Thanks. > Peter. > > Ray > > > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://list/ > s.sourceforge.net%2Flists%2Flistinfo%2Femc-users&data=05%7C02%7Ctoddz% > 40pgrahamdunn.com%7Ccd85dee376d64f54939b08dc5f41bfc7%7C5758544c573f47c > ebee96c3e0806fb43%7C0%7C0%7C638489983214968539%7CUnknown%7CTWFpbGZsb3d > 8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C > 0%7C%7C%7C&sdata=bdsmSu1FEmeuDj6DNsClXkmGOwjVOMp4n5fcAew1Mjs%3D&reserv > ed=0 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users