Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: mattco3 on August 05, 2014, 07:55:23 AM

Title: Simple subroutine 'too many nests'
Post by: mattco3 on August 05, 2014, 07:55:23 AM
I have a really simple X Y set-up, but when I try and run a simple subroutine 1000 cycles or more it tries to create the tool path and an error message comes up telling me there are 'too many nests'.

Is there another way to run this simple program on repeat? or to get around this error message? I need to be able to leave it on for 500,000 cycles or inifinity

X5.2 Y6.5
M98 P01 L500000
M30

O01
X-5.2 Y-6.5
X5.2 Y6.5
M99
%
Title: Re: Simple subroutine 'too many nests'
Post by: Overloaded on August 05, 2014, 08:11:44 AM
This way will run forever .... till you stop it.

X-5.2 Y-6.5
X5.2 Y6.5
M47
%

(of course you will need to specify a G1 feed rate or G0)

Russ
Title: Re: Simple subroutine 'too many nests'
Post by: mattco3 on August 05, 2014, 10:39:27 AM
Thank you for your help that worked.

Using my current stepper motors I have calculated it will take me 80 years to complete my test schedule! can anyone recommend some fast stepper motors? ideally with integrated lead screw? if I run my current motors any faster they loose steps. I don't need a great deal of torque, the test rig simply moves a 10kg steel bed around.

I am using these http://www.acpd.co.uk/cgi-bin/site-editor.pl/8/-ecommerce?action=item;item=7230R011;eid=P422748
Title: Re: Simple subroutine 'too many nests'
Post by: rcaffin on September 11, 2018, 08:26:21 PM
Hi Russ

Just where in the doco for Mach3 Mill is the limit of 1000 specified? I cannot find it.

Cheers
Roger