Art,
I am assuming that your controller does not handle sub routines... so here is the "long way" to get what you are looking for IMHO.
First remove these lines of code: **counter=0
**call sub routine Mill
( sub Mill follows. It was created by surfacing wizzard in Mach 3)
** Mill
**counter=counter+1
**If counter=9
** Then
**Else
** Rotate 45 Degres CW
**Call Mill
Then move these lines of code to the end of program: x0 y0 z1
M30
Now you are left with one cycle then the program will end.
Then you would copy the program less the M30 code to the beginning 7 times. This will give you 8 cycles. Don't hit start yet... Next, between each cycle you need to insert code to drive your rotary axis 45 deg while your tool is out of the work. I would add a "pause" at the end of each 45 deg rotation just to make sure everything is good to go.
James |