The line you sent me is for a DRILL cycle not the TAP cycle...
"G81", NC_START_X$, NC_START_Y$, NC_RPLANE$, NC_END_Z$, NC_TAP_PITCHI$
I think I now see the problem...
Different machine tools interpret the G Code in different ways. This is why we have posts. The NC_TAP_PITCHI$ is really for machines that use this with an E prefix to designate pitch. Then the machine calculates the feedrate internally. NC_TAP_PITCHD$ if for machines that use an F prefix which designates pitch in the form of threads per inch but the machine still calculates the correct feedrate based on the previously programmed spindle speed.
I your case, it sounds like your machine will not calculate the feedrate automatically so what you will have to do is use the NC_FEED$ in your "G84" tapping cycles and when you select the tool (obviously a tap) you should make sure the tool's spindle speed and feedrate match the tap pitch. Many users create their TAPs and store them in the tool library with the appropriate Speed and Feed already defaulted.
Sorry this took so long to get around to the correct answer for your problem.
__________________ (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |