they are all 10-24's on .5" centers. 31 collums 20 rows
I'm wondering how to get my VisualMill 5 program to insert the P1000 line of code after every x-y move, or which wizard to use I guess?
it looks like the subroutine takes over between x-y moves?
S300 M3 spindle 300 prm rotate cw
M8 flood on
G00 G43 H3 Z1.00 rapid move, apply tool offset, tool offset index, +z 1.0" from work
G00 X1.0 Y2.0 rapid move, to x1" and y2"
M98 P1000 call subroutine P1000
X2 move to x2"

i think
M98 P1000 call subroutine P1000
X3 move to x3"

i think
M98P1000 call subroutine P1000
M30 program end and rewind
O1000 subroutine name "where should this be text located, at the top or bottom of the main program string "
G01 F40 Z-.5 lineriar interpolation, feedrate 40"per min, to Z -.5" this sends the tap in at a matching thread per rev basicaly
G01 F80 Z1.00 lineriar interpolation, feedrate 80"per min, to Z 1" this sends the tap out at twice thread per rev basicaly to _ __ __ match the double reverse gearing speed of the tap head
G04 P1.0 dwell time of 1 second at the 300 rpm to give the tap head a chance to completely withdraw
G00 set to rapid travel
M99 return from subroutine back to main program giving up machine control to main program which begins the next _ _ move command
does this explain the situation? My minimum rpm is 351 so 351/24=14.625 imp feed rate to match 24tpi, how does this all sound.
jh