Hi,
I am trying to program a loop for broaching a keyway. I am making subprogram for that, but dont know how to program it correctly so I need some help.
I am trying to program this:
G0 Y-5 (comming to starting position)
G1 Z-72 F3000 (broaching down with a feedrate)
G0 Y0 (rapid to safe y position)
G0 Z1 (rapid out to safe z)
G0 Y-5.05 (rapid to next y position)
G1 Z-72 F3000
G0 Y0
G0 Z1
G0 Y-5.1

So the question is how to write a cycle that goes to to the next y by he same amount (y-5.05 ; y-5.1 ; y-5.15; y-5.2 etc) for lets say 60 times. Of course I can write that manually, but maybe it is possible to write a cycle for that?
Hope you understand the question.