Dear Jan
> Chris, > > I've managed to get a preview that seemed to display a > combination of > the files. > > Set the "PROGRAM_PREFIX" setting in the ini file to > the location of > the called files > Removed the M30 codes from the end of each sub. I did that and no preview availabl, still get "bad number format" error. I have axis 2.2.8 on 8.04 LTS. latest updates to say 30 minutes ago. when I start axis and invoke open file dialogue I see all my ngc files w/o changing a directory, so the "PROGRAM_PREFIX" is set correct. the path to it has blanks in it. Could it be that this is the error? So I cpd all files in a directory that has no blanks in its name, set "PROGRAM_PREFIX" to this new path and loaded my maste ngc again. now it says "near line 6 in master.ngc: wrong number format". Looks like axis has a problem of some kind with such symlinks / and or path names, but that is a different thing and I do not want to follow this here. rhino cam has been uesd to generate my cnc code in the sub files. So I thought it could be a dos2unix issue, so I ran "dos2unix *" and still get the same error. I check: - all files in same directory as stated in "PROGRAM_PREFIX" : OK - "PROGRAM_PREFIX" has no blanks? OK - dos2unix all files OK - M30 removed in all files OK What could it be this time? best rgeards chris > > regards, Jan > > > > On Thu, Oct 1, 2009 at 12:54, Chris Epicier <seuch...@yahoo.de> > wrote: > > Hi all > > > > I am in the process of cutting parts, due out soon. > Should be doing million things, other than keepin my cnc > busy. > > > > I checked and rechecked the syntax in bot, master, > labels and other files. I cannot find a mistake there. > > > > Is there a way I can debug this? A way to set axis/emc > to talk to me about what is going wrong? > > > > Greets > > > > chris > > > > Besides: had yesterday a couple of guys couriuos abut > the cnc cutting. one of them works for steel cutter. He said > he was impressed about the features and easiness emc and > axis can be handled. Also my finding: great! So a big > fffffaaaaaaatttt thankyou to all that made emc what it is > now! > > > > > >> Jan > >> > >> Thank you very much for the quick reply. Stephen > had > >> pointed me to this also, I have amended the files > >> accordingly and still get "Bad Number Format". > >> > >> I attach the original files not stripped. Maybe > there is > >> something there that shoudl not be. Besides, all > files > >> rune > >> smoothly as truely standa alone files. So I do not > believe > >> it is actually within the sub files. > >> > >> greets chris > >> > >> > > Betreff: Re: [Emc-users] WG: Re: axis > and batch > >> > processing > >> > > An: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > >> > > Datum: Mittwoch, 30. September 2009, > 19:48 > >> > > Chris, > >> > > > >> > > in file labels.ngc, line 1: Olabels sub > >> > > Should be: O<labels> sub > >> > > and: Olabels endsub > >> > > Should be O<labels> endsub > >> > > > >> > > This syntax error should also be > corrected in > >> the > >> > other > >> > > files. > >> > > > >> > > regards, Jan > >> > > > >> > > On Wed, Sep 30, 2009 at 18:00, Chris > Epicier > >> <seuch...@yahoo.de> > >> > > wrote: > >> > > > > >> > > > > >> > > > > >> > > > Dear Stephen > >> > > > > >> > > >> >>Check this chapter in > the > >> manual: > >> > > >> >>http://linuxcnc.org/docs/2.3/html/gcode_main.html#r3_7 > >> > > >> >>Regards, Jan > >> > > > > >> > > > I did, but I just cannot get it to > work. I > >> have > >> > 5 > >> > > files: > >> > > > > >> > > > [master.ngc] > >> > > > O<labels> call > >> > > > O<internal_contours> call > >> > > > O<external_contours_rough> > call > >> > > > O<external_contours_finish> > call > >> > > > G53 G0 X0Y0Z0 > >> > > > [end of master.ngc] > >> > > > > >> > > > > >> > > > [labels.ngc] > >> > > > Olabels sub > >> > > > N0G20M6T2 > >> > > > .... > >> > > > N868M09 > >> > > > N869M30 > >> > > > Olabels endsub > >> > > > M2 > >> > > > [end of labels.ngc] > >> > > > > >> > > > [internal_contours.ngc] > >> > > > Ointernal_contours sub > >> > > > N0G20M6T2 > >> > > > .... > >> > > > N868M09 > >> > > > N869M30 > >> > > > Ointernal_contours endsub > >> > > > M2 > >> > > > [end of internal_contours.ngc] > >> > > > > >> > > > [external_contours_rough.ngc] > >> > > > Oexternal_contours_rough sub > >> > > > N0G20M6T2 > >> > > > .... > >> > > > N868M09 > >> > > > N869M30 > >> > > > Oexternal_contours_rough endsub > >> > > > M2 > >> > > > [end of > external_contours_rough.ngc] > >> > > > > >> > > > [external_contours_finish.ngc] > >> > > > Oexternal_contours_finish sub > >> > > > N0G20M6T2 > >> > > > .... > >> > > > N868M09 > >> > > > N869M30 > >> > > > Oexternal_contours_finish endsub > >> > > > M2 > >> > > > [end of > external_contours_finish.ngc] > >> > > > > >> > > > > >> > > > All files are in the same > directory. I > >> believe I > >> > got > >> > > the > >> > > > master file about right. What I > doubt there > >> is if > >> > the > >> > > homing > >> > > > sequence is correct but that's not > a > >> > showstopper. > >> > > > > >> > > > In [labels.ngc] and all the > other sub > >> files, I > >> > > doubt > >> > > > the missing line numbering. My > programming > >> > experience > >> > > tells > >> > > > me, either it has to be ther or > totally > >> omitted. > >> > > > > >> > > > If I load master ngc in axis, I get > no > >> > errormessage. > >> > > when I > >> > > > run the file I get "Bad Number > Format". > >> > > > > >> > > > I am lost now. What's wrong and > where, any > >> help > >> > is > >> > > greatly > >> > > > appreciated. > >> > > > > >> > > > greets > >> > > > > >> > > > chris > >> > > >> > >> > > >> > >> > > >> > >> > > >> > >> > > >> > >> > > >> > >> > >> > > >> > >> > >> > > >> > > > >> > > >> > > >> > > >> > >> > > > >> > > >> > >======================================================================= > >> > > >> > >3.7 Calling Files > >> > > >> > > > >> > > >> > >To call a file name > the file > >> the > >> > same as > >> > > your call > >> > > >> and > >> > > >> > include a sub and endsub. > The file > >> must > >> > be in > >> > > the > >> > > >> directory > >> > > >> > pointed to by > PROGRAM_PREFIX > >> > > >> > > > >> > > >> > > > o<myfile> call (a > >> named > >> > > file) > >> > > >> > > > >> > > >> > >or > >> > > >> > > > >> > > >> > > o123 > call (a number > >> file) > >> > > >> > > > >> > > >> > >In the called file > include the > >> oxxx > >> > sub > >> > > and endsub > >> > > >> and > >> > > >> > the file must be a valid > file > >> > > >> > > > >> > > >> > > > myfile.ngc > >> > > >> > > > o<myfile> sub > >> > > >> > > ... > >> > > >> > > > o<myfile> endsub > >> > > >> > > M2 > >> > > >> > > >> > > > >> > >================================================ > >> > > >> > > > >> > > >> > >If I interprete that > correctly, > >> I > >> > shoud > >> > > be able to > >> > > >> do > >> > > >> > this: > >> > > >> > > > >> > > >> > >Let's assume I have > these > >> files: > >> > > >> > >engrave.ngc, > bevel.ngc, > >> inner.ngc, > >> > outer. > >> > > ngc, > >> > > >> home.ngc > >> > > >> > > >> > > >> > > > >> > > >> > >I so, I woul generate > another > >> file, > >> > let's > >> > > call it > >> > > >> > master.ngc with about te > following > >> > content: > >> > > >> > > > >> > > >> > > > >> > > >> > >omaster.ngc call > engrave.ngc > >> > > >> > >omaster.ngc call > home.ngc > >> > > >> > >omaster.ngc call > bevel.ngc > >> > > >> > >omaster.ngc call > home.ngc > >> > > >> > >omaster.ngc call > inner.ngc > >> > > >> > >omaster.ngc call > home.ngc > >> > > >> > >omaster.ngc call > outer. ngc > >> > > >> > >omaster.ngc call > home.ngc > >> > > >> > > > >> > > >> > >However that fails, > why? > >> > > >> > > > >> > > >> > > > >> > > >> > I haven't tried it, but > one thing > >> to > >> > note is > >> > > that the > >> > > >> > <> are necessary > >> > > >> > around a named O-word or > >> parameter. > >> > > >> > > >> > > >> > Also, the manual might be > a little > >> > unclear > >> > > since it > >> > > >> looks > >> > > >> > like the text > >> > > >> > in parentheses is part of > the > >> command. > >> > I > >> > > think what > >> > > >> > the instructions > >> > > >> > are trying to say is that > the > >> master > >> > file > >> > > should do a > >> > > >> call > >> > > >> > with the name > >> > > >> > of the subroutine file: > >> > > >> > O<engrave> call > >> > > >> > O<home> call > >> > > >> > ... > >> > > >> > > >> > > >> > And the subroutine files > should be > >> like > >> > > this: > >> > > >> > engrave.ngc: > >> > > >> > O<engrave> sub > >> > > >> > (your engraving G-code > goes here) > >> > > >> > ... > >> > > >> > O<engrave> endsub > >> > > >> > M2 > >> > > >> > > >> > > >> > home.ngc: > >> > > >> > O<home> sub > >> > > >> > (your homing g-code goes > here) > >> > > >> > ... > >> > > >> > O<home> endsub > >> > > >> > M2 > >> > > >> > > >> > > >> > Etc. > >> > > >> > > >> > > >> > Try it and let us know if > it works > >> this > >> > way. > >> > > >> > > >> > > >> > - Steve > >> > > >> > > >> > > >> > > >> > > >> > >> > > >> > >> > > >> > >> > > >> > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> > > > >> > > >> > ------------------------------------------------------------------------------ > >> > > > Come build with us! The > BlackBerry® > >> > Developer > >> > > Conference in SF, CA > >> > > > is the only developer event you > need to > >> attend > >> > this > >> > > year. Jumpstart your > >> > > > developing skills, take BlackBerry > mobile > >> > applications > >> > > to market and stay > >> > > > ahead of the curve. Join us from > November > >> 9-12, > >> > > 2009. Register now! > >> > > > http://p.sf.net/sfu/devconf > >> > > > > >> _______________________________________________ > >> > > > Emc-users mailing list > >> > > > Emc-users@lists.sourceforge.net > >> > > > https://lists.sourceforge.net/lists/listinfo/emc-users > >> > > > > >> > > > >> > > > >> > > >> > ------------------------------------------------------------------------------ > >> > > Come build with us! The > BlackBerry® > >> Developer > >> > > Conference in SF, CA > >> > > is the only developer event you need to > attend > >> this > >> > year. > >> > > Jumpstart your > >> > > developing skills, take BlackBerry > mobile > >> applications > >> > to > >> > > market and stay > >> > > ahead of the curve. Join us from > November 9-12, > >> 2009. > >> > > Register now! > >> > > http://p.sf.net/sfu/devconf > >> > > > _______________________________________________ > >> > > Emc-users mailing list > >> > > Emc-users@lists.sourceforge.net > >> > > https://lists.sourceforge.net/lists/listinfo/emc-users > >> > > > >> > > >> > > >> > > >> > >> > >> > > > > > > > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry® Developer > Conference in SF, CA > > is the only developer event you need to attend this > year. Jumpstart your > > developing skills, take BlackBerry mobile applications > to market and stay > > ahead of the curve. Join us from November 9-12, > 2009. Register now! > > http://p.sf.net/sfu/devconf > > _______________________________________________ > > Emc-users mailing list > > Emc-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/emc-users > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer > Conference in SF, CA > is the only developer event you need to attend this year. > Jumpstart your > developing skills, take BlackBerry mobile applications to > market and stay > ahead of the curve. Join us from November 9-12, 2009. > Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users