Dear Jan

> Check this chapter in the manual:
> http://linuxcnc.org/docs/2.3/html/gcode_main.html#r3_7
> Regards, Jan

=======================================================================
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?

Greets Chris


> 
> On Sat, Jul 4, 2009 at 13:08, Chris Epicier<seuch...@yahoo.de>
> wrote:
> >
> > hi everyone
> >
> > I do a lot of cutting for my rc modelling projects
> through Rhinocam and axis. Now people start asking me to cut
> for them, which is very pleasing. So far I used to prepare
> one g-code file for
> >
> > - engraving labels
> > - bevelling (where needed)
> > - cutting inner contours
> > - cutting outer contours
> >
> > I had to load and run these files individually. So I
> am asking myself, if I can join them in some way. Simple
> copy into one big file does not seem to work though. Does
> anyone have an idea, how I can achieve this?
> >
> > best regards chris
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>



      

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to