The var file is read at startup.  It is written out to disk on shutdown.
Tests here suggest that it is re-read after an abort so if you have
changed or incremented a value within the program before an abort, the
value will revert to that held in the var file rather than the current
value when the abort is commanded.  I tested this by putting the
following two lines in the .var file.

1000    1.0000
1001    2.0000

The following program tested it.  I interrupted execution several places
with the same result.

G0 x0 y0 z0
x#1000
y#1001
#1000=3.0000
x#1000
#1001=4.00000
y#1001
g0 x0 y0 z0
#1000=1.0000
#1001=2.0000
M2

HTH

Rayh


On Thu, 2007-02-15 at 16:16 +0100, Michał Geszkiewicz wrote:
> I'm using now EMC2 2.1 with axis interface.
> Configuration is writable.
> I'm also wonder if the *.var file is readed each time I press start button or 
> once on start of EMC2.
> 
> Thanks
> 
>  Michal
> 
> Dnia 15-02-2007 o godz. 16:04 Chris Radek napisał(a):
> > On Thu, Feb 15, 2007 at 01:33:59PM +0100, Micha? Geszkiewicz wrote:
> > > Hello
> > > 
> > > I often use variables in emc2. Problem is than they are zeroing after 
> > stop button click.
> > > Is there any way to avoid this or to extract variables from emc2 while 
> > it is in auto mode before
> > > is executed command emc.command.abort() witch clears the variables.
> > 
> > 
> > What version of EMC2 with what GUI is this?  Is your configuration
> > in your home directory so it's writable?
> > 
> > 
> > -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to share 
> > your
> > opinions on IT & business topics through brief surveys-and earn cash
> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> > _______________________________________________
> > Emc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> > 
> 
> ----------------------------------------------------
> Aby uratować kogoś, kogo kochał, zawarł pakt. Nie znał ceny,
> jaką będzie musiał zapłacić. Nicolas Cage, Eva Mendes w filmie
> GHOST RIDER -  w kinach od 23 lutego!
> http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fghostrider.html&sid=1023
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
> 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to