Jeff Epler wrote: > In a run-in-place system, latency-test requires that you set up the > proper environment variables. The command to do this in a shell is > . scripts/emc-environment > (assuming you are in the top directory of an emc2 checkout; you could > use a full path such as > . /usr/src/emc2.cvs/scripts/emc-environment > or whatever is appropriate on your system). > > The suggestion that PATH should contain "." doesn't make much sense to me. > > Thanks, I remembered something like this, but couldn't remember the exact details. I checked the docs, and that pretty much purged my brain of any memory of how to make it work. >> second thing .... I was machining something yesterday, and right after >> starting up EMC, I couldn't set the X coordinates with the Axis "touch >> off" button. It seemed like it had a 10.00" offset between where I was >> and where zero was. The day before a program I had run left a 10.00 in >> variable #1. I thought all the variables under 1000 were available to >> the user. (The example at 13.2 in the user's manual uses #1 in a loop >> construct.) I think I got it to go back to normal with an MDI command >> like #1=0.0, but I was stumbling around and in a hurry, so I didn't >> document what was going on as well as I should have. >> > > There shouldn't be a connection between putting the value 10.00 in #1 > and this extra 10.00" offset you saw. You should be free to use #1 for > any purpose you like in MDI or in part programs. (though variables > #1 through #?? have special meaning in 'O- call' and 'O- sub': they are > used for arguments and local variables) > Yes, that seems correct, but I definitely had this problem. I will try to recreate the exact situation, I think it will be fairly easy to do, unless it was a fluke. Well, I WAS using a subroutine previously, and using #1 to offset the G55 coordinate system.
Jon ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users