KMotionCNC currently only supports
subroutines in the same file. Such as:
G20 G0 X0 Y0 Z0
M98 P100 (Call the Subroutine)
M2 (Stop)
O100 (Subroutine Label)
F40
G1 X1 Y0
G1 X1 Y1
G1 X0 Y1
G1 X0 Y0
M99
Group: DynoMotion |
Message: 75 |
From: s.astrom |
Date: 10/25/2009 |
Subject: Re: Subroutin |
Yes that works for me. But how do i make the subroutine to run more that one time.
Like M98 P200 i4 (i4 is number of times to run the subroutine)
--- In DynoMotion@yahoogroups.com, "TK" <tk@...> wrote:
>
> KMotionCNC currently only supports subroutines in the same file. Such as:
>
>
>
> G20 G0 X0 Y0 Z0
>
> M98 P100 (Call the Subroutine)
>
> M2 (Stop)
>
>
>
> O100 (Subroutine Label)
>
> F40
>
> G1 X1 Y0
>
> G1 X1 Y1
>
> G1 X0 Y1
>
> G1 X0 Y0
>
> M99
>
>
>
> _____
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of s.astrom
> Sent: Sunday, October 25, 2009 9:15 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Subroutin
>
>
>
>
>
> Both files are in the same folder. Not file
>
> --- In DynoMotion@yahoogro <mailto:DynoMotion%40yahoogroups.com> ups.com,
> "s.astrom" <stefan.astrom@> wrote:
> >
> > How do i make a subroutine work?
> > I made a program galling the subroutine with M98 P22 (22.ngc is the
> subroutine)
> > But all i get is "subroutine not found"
> > Both programs are in the same file
> > I am using KnotionCNC
> >
>
> ,_._,___
>
|
|
Group: DynoMotion |
Message: 76 |
From: TK |
Date: 10/25/2009 |
Subject: Re: Subroutin |
We don’t support that; the obvious
workaround would be to make the call 4 times.
Group: DynoMotion |
Message: 77 |
From: s.astrom |
Date: 10/25/2009 |
Subject: Re: Subroutin |
Yes i didnt think of that. Thanx
--- In DynoMotion@yahoogroups.com, "TK" <tk@...> wrote:
>
> We don't support that; the obvious workaround would be to make the call 4
> times.
>
>
>
> _____
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of s.astrom
> Sent: Sunday, October 25, 2009 10:29 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Subroutin
>
>
>
>
>
> Yes that works for me. But how do i make the subroutine to run more that one
> time.
> Like M98 P200 i4 (i4 is number of times to run the subroutine)
>
> --- In DynoMotion@yahoogro <mailto:DynoMotion%40yahoogroups.com> ups.com,
> "TK" <tk@> wrote:
> >
> > KMotionCNC currently only supports subroutines in the same file. Such as:
> >
> >
> >
> > G20 G0 X0 Y0 Z0
> >
> > M98 P100 (Call the Subroutine)
> >
> > M2 (Stop)
> >
> >
> >
> > O100 (Subroutine Label)
> >
> > F40
> >
> > G1 X1 Y0
> >
> > G1 X1 Y1
> >
> > G1 X0 Y1
> >
> > G1 X0 Y0
> >
> > M99
> >
> >
> >
> > _____
> >
> > From: DynoMotion@yahoogro <mailto:DynoMotion%40yahoogroups.com> ups.com
> [mailto:DynoMotion@yahoogro <mailto:DynoMotion%40yahoogroups.com> ups.com]
> On
> > Behalf Of s.astrom
> > Sent: Sunday, October 25, 2009 9:15 AM
> > To: DynoMotion@yahoogro <mailto:DynoMotion%40yahoogroups.com> ups.com
> > Subject: [DynoMotion] Re: Subroutin
> >
> >
> >
> >
> >
> > Both files are in the same folder. Not file
> >
> > --- In DynoMotion@yahoogro <mailto:DynoMotion%40yahoogroups.com> ups.com,
> > "s.astrom" <stefan.astrom@> wrote:
> > >
> > > How do i make a subroutine work?
> > > I made a program galling the subroutine with M98 P22 (22.ngc is the
> > subroutine)
> > > But all i get is "subroutine not found"
> > > Both programs are in the same file
> > > I am using KnotionCNC
> > >
>
|
|
| | | |