Hi all

I'm new to this group and new to CNC machining in general. I am trying to cut a series of longitudinal slots lengthwise around the circumference of a cylinder. I am at a loss as how to program this without coding the slot and indexing the A axis the required number of sequences to achieve the number of slots that I want. This seems like a lot of repetitive code for nothing. Can it be done with a subroutine that can be called to index the cylinder the number of degrees required and then go back to the main program and cut the slot. It seems to me like one series of code for the slot and one subroutine to index would do the job. If someone could write a few lines of code to do this to show me an example of how it could be done it would be greatly appreciated.