re: "sort of": be aware that this method relies on the run-from-line feature - which isnt exactly bullet-proof in particular when using oword constructs/procedures
see the bugtracker for RFL issues -m Am 18.03.2012 um 01:22 schrieb Tony Zampini: > Well, I made the changes to Les Newell's script you suggested, and it > worked! Sort of :) > > Mind you, I'm running version 2.4.3. The first time I tried running a g-code > program, nothing happened. I found I had to stop the program, then start it > again. Then it was off and running. This seems to happen every time after > loading a g-code program. > > Also, you mentioned you had to press Alt-TAB to change focus. I found > all I had to do, after the tool change dialog box appeared, was to click > anywhere in the EMC window, and it picked up focus. Then I could jog, > touch off, etc. And I didn't have to press F2 afterwards. > > So bottom line is, once you learn the quirks of this tool change script, > it does the job. It's exactly what I was looking for. > > Thanks to everyone. > Tony > > ----- Original Message ----- > From: "Schooner" <schoone...@tiscali.co.uk> > To: <emc-users@lists.sourceforge.net> > Sent: Friday, March 16, 2012 9:06 AM > Subject: Re: [Emc-users] Tool change question > > >> Hi >> >> Have now had a play with this and found how to get it working with 2.5 >> >> Comment out the lines >> #iniFile = emc.ini(os.environ['INI_FILE_NAME']) >> #emc.nmlfile = s.path.join(os.path.dirname(os.environ['INI_FILE_NAME']), >> #iniFile.find("EMC", "NML_FILE")) >> >> Change the lines >> emcStat = emc.stat(); >> emcCmd = emc.command() >> >> to >> >> emcStat = emc.stat();emcCmd = emc.command() >> >> Change the lines at about 52-54 with the backslashes in strange places >> so that the '\' are end of line continuation markers, as per bash >> >> The module then loads and when toolchange commanded, the dialog appears >> and you can jog all axes. >> >> However I found that I had to cycle to and from AXIS using Alt/Tab to >> get focus for mouse clicks to work and had to press F2 (machine on/off) >> to get out of this state. >> >> Not sure how it was intended to work, but it sort of does >> >> regards >> >> >> >> ------------------------------------------------------------------------------ >> This SF email is sponsosred by: >> Try Windows Azure free for 90 days Click Here >> http://p.sf.net/sfu/sfd2d-msazure >> _______________________________________________ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > ------------------------------------------------------------------------------ > This SF email is sponsosred by: > Try Windows Azure free for 90 days Click Here > http://p.sf.net/sfu/sfd2d-msazure > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users