I am using TkEmc (little modifed) interface. I am not editing the file outside of EMC. I have created a proc (given below) and set binding to Ctrl+x,y,z to set G54 offset.
proc setXAxisOffsetWithHotkey {} { set Tmp [emc_mode] set string [format "G10 l2 p1 X %f\n" [emc_abs_cmd_pos 0]] emc_mode mdi emc_wait received emc_mdi $string emc_wait done emc_mode $Tmp } proc setKeyBindingsx {} { global modifier ...... bind . <Control-KeyPress-x> {setXAxisOffsetWithHotkey} ...... } --- On Tue, 9/20/11, Chris Radek <ch...@timeguy.com> wrote: > From: Chris Radek <ch...@timeguy.com> > Subject: Re: [Emc-users] Work Offsets became Zero > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Date: Tuesday, September 20, 2011, 1:00 AM > On Mon, Sep 19, 2011 at 12:31:04PM > -0700, Shabbir Hussain wrote: > > I am using EMC2 2.4.6 on Ubuntu 10.04 LTS (from live > CD and updated). The problem appeared two to three times > during last 20 days. The problem is, work offset values > (saved in G54 using G10 L2 P1 X....) became zero when I > powered up the machine next morning. All offsets (X, Y and > Z) became Zero. I retrofit this machine a month ago. > > > > Kindly advise? > > > Which user interface are you using? Are you editing > the var file > using any program/script/process aside from emc itself? > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT > infrastructure contains a > definitive record of customers, application performance, > security > threats, fraudulent activity and more. Splunk takes this > data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users