Since I am the lazy sort, I created this quick and simple index program for Mach 3 to index a set number of times any inlay that I am cutting a pocket for. In Mach 3 all you need to do is copy your inlay program where this program indicates with comments. Then set the number of indexes that you want. Delete the original M02 or M30 in your program. Hit cycle start every time the program ends and the A axis will already be at the correct location.
Jim.
#500=12 (NUMBER OF INDEX POSITIONS)
#501=[360/#500] (BASIC MATH DO NOT CHANGE)
M98 P100
G0 G91 A#501
G90
M30
O100
(past program here)
M99
Jim.
#500=12 (NUMBER OF INDEX POSITIONS)
#501=[360/#500] (BASIC MATH DO NOT CHANGE)
M98 P100
G0 G91 A#501
G90
M30
O100
(past program here)
M99