Re: [Emc-users] G-code subroutines

2007-12-26 Thread Gene Heskett
On Wednesday 26 December 2007, Kenneth Lerman wrote: >Subroutines may CALL one another, but may not be defined within another. > >So... > >o100 sub > >o100 endsub > >o200 sub > >o200 endsub > >is legal. > > >o100 sub >o200 sub >... >o200 endsub >o100 endsub > >is NOT legal (subroutine decla

Re: [Emc-users] G-code subroutines

2007-12-26 Thread Kenneth Lerman
t;Ian Wright" <[EMAIL PROTECTED]> To: Sent: Wednesday, December 26, 2007 10:10 AM Subject: [Emc-users] G-code subroutines > Hi, > > I'm completely confused with G-code subroutines or, more particularly > with the possibilities of nesting them. What I am trying to achi

[Emc-users] G-code subroutines

2007-12-26 Thread Ian Wright
Hi, I'm completely confused with G-code subroutines or, more particularly with the possibilities of nesting them. What I am trying to achieve - and failing miseably - is to write a generic script which will cylindrically grind a shaft to several diameters and each of different lengths. I want