1
G-Code, CAD, and CAM discussions / Code for repeating 5000 times
« on: July 30, 2013, 02:47:33 PM »
Hi,
I wrote a little program to make a z-axis go up and down for a test. It looks like this:
O001
M98 P17 L900
M30
O17
G1 Z.38 F50
Z0
M99
The problem is I can only go to about 950 times before getting a "too many nests" error.
I'd like to go 5,000 up-down cycles before stopping. Any ideas out there?
Thanks,
Mike
I wrote a little program to make a z-axis go up and down for a test. It looks like this:
O001
M98 P17 L900
M30
O17
G1 Z.38 F50
Z0
M99
The problem is I can only go to about 950 times before getting a "too many nests" error.
I'd like to go 5,000 up-down cycles before stopping. Any ideas out there?
Thanks,
Mike