On Friday 29 November 2013 15:34:17 Gene Heskett did opine:

> Greetings;
> 
> In attempting to split the milling machines operation code, eg
> subroutines out into a separate directory for easier maintenance as the
> current nc_files assignment has several hundred files, some cruft of
> course but could be use/reused in the future.
> 
> So, I am attempting to use the axis .ini files SUBROUTINE_PATH = as a
> way to separate the o<word> call stuff out.
> 
> But at this point, I have failed rather miserably while learning at
> least 101 variations, which like Thomas Edison, have made a light bulb
> that doesn't work.  o<word> stuff placed in this directory or even in
> the nc_files directory, cannot be opened when invoked by an
> MDI_COMMAND= line in the .ini file.
> 
> Is it broke, or am I like Thomas, just haven't found out how to make it
> work?
> 
> Something is broken either in SUBROUTINE_PATH, or in the MDI_COMMAND=
> is the only conclusion I can reach at this point.  The PROGRAM_PATH also
> must be stated in full to work, relatives default to the $config
> directory when a file menu open is done.  So ATM both are specified as
> a full path from /.
> 
> Clues?  I'm about out.
> 
> Thanks guys.
> 
> 
> Cheers, Gene

Found it!!!!!  An almost chance comment, in the [RS274NGC] section of the 
docs said I had the statement in the wrong section of the .ini file.  One 
would, unless instructed to do otherwise, assume that it went immediately 
under the PROGRAM_PREFIX setting which is ~/linuxcnc/nc_files by default 
and setting.

Moved it. Works.  So now I can go drill a hole at 0,0,whatever, and 
calibrate the G43H99 offset.

But I've been up since about 5am screwing with this, so I think its nap 
time.

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

BOFH excuse #215:

High nuclear activity in your area.
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
         law-abiding citizens.

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to