On 1/26/2012 5:36 PM, Michael Haberler wrote: ............. Lots of good stuff snipped.....
> re jog forwards/backwards: > I'd be interested to hear your ideas in more detail. It comes up regularly in > different shapes or forms, and it occurs to me that would need motion > support. How can the interpreter help here? And what kind of context would > GUI's have to carry? motion information? > > regards > > - Michael The interpreter would provide the context information (the call stack and line numbers -- and ideally, the values of things like current feeds, speeds, and other state info) to the motion subsystem. The motion subsystem would keep the motion history to allow moving forwards and backwards. The motion subsystem would convey the context information back to the GUIs to enable them to show the user the context associated with the current position. Consider what happens if a tool is broken. The operator could jog or step backwards to the last point that was cut properly. Then MDI to a position where he could change the tool. Next, undo the MDI position by stepping back through that. Finally, the operator could continue the program from the last proper cut. All of this stuff needs to be designed in; it can't be patched into the existing system. It's important to remember that the architecture and design of EMC is ancient in computer years. My guess is that it dates back to the early days of the X Windows system. That system was designed with the notion that every desk would have a computer with one megabyte of RAM, a one million instruction processor, and a one megapixel display. Today we have a thousand times as much processor and memory. We can keep the context associated with a million line gcode program in memory if we find that convenient. Regards, Ken ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers