On Monday, January 30, 2012 12:17:58 PM John Thornton did opine: > If your using 2.4 > > http://linuxcnc.org/docview/html/gcode_main.html#r3_7 > > if your using 2.5 > > http://linuxcnc.org/docview/2.5/html/gcode/o-code.html#_calling_files
I didn't find this one in my searches of the wiki last night, and while its a bit concise, it does say it all according to what I found by the 10,000 moneys theory workings last night. Read the comment line in the file, it points out the requirements, which is that the file MUST be in $PROGRAM_PREFIX, and named with an appended .ngc :-) > http://linuxcnc.org/docview/2.5/html/config/ini_config.html#_rs274ngc_se > ction_a_id_sub_rs274ngc_section_a Oh Goody Goody! This last, with the addition of those 2 additional PATH specifiers is nice John, but it then begs me to ask the question: Is there a way to specify these paths in the gcode file itself so that subroutines and mcodes specific to a project can be set when that project is loaded? That, hint hint, would make those two new paths be extremely useful wouldn't it? :) :) Thanks for those links John, very very informative. > John > > On 1/29/2012 5:59 PM, gene heskett wrote: > > Greets all; > > > > I've written a testz.ngc that is about 6 or 7 lines of code, whose > > main reason for existance is to test my autoz function when called as > > a file. > > > > I get as far when I try to load it, because it cannot open the 'lathe- > > encoder/autoz.ngc' file. Then I try to load it directly, and > > linuxcnc acts as if the () is no longer a legit comment surrounding) > > as it is then squawking about line two in the loaded file, which is a > > comment. If I put a blank line before and after the comment, it then > > makes the same fus about line 3. > > > > Is there, someplace in the wiki, a good, as in "you must do this this > > way" tutorial in the wiki? > > > > Cheers, Gene > > ------------------------------------------------------------------------ > ------ Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users 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) My web page: <http://coyoteden.dyndns-free.com:85/gene> During the voyage of life, remember to keep an eye out for a fair wind; batten down during a storm; hail all passing ships; and fly your colors proudly. ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
