On Wed, 1 Feb 2012 19:34:09 +1100
Erik Christiansen <[email protected]> wrote:

> On 31.01.12 21:45, dave wrote:
> 
> > To my uncluttered mind ... read blank ... 
> > is this a good way to set the state of a machine at any given line
> > as a precursor to "restart from line no"?
> 
> IIUC¹, running an interpreter through the code from line 1 to a given
> line, with all external actions suppressed, ought to "set the state
> of a machine" for that line, if the gcode takes no input, and does no
> probing. i.e. state is dependent only on the running of the gcode.
> (But that's just theory, aka a WAG. Experts may differ.)
> 
> Erik
> 
> ¹ I'm not sure what part of the 129 lines quoted constitute
> "this". ;-)
> 
Erik, 
The theory seems to work. Years ago I wrote such in C but I put in the
dropbox and is has gotten lost in my transitions of machines and the
apparent disappearance of the dropbox. 
I was just wondering if there was a better way. 

Dave


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to