21
G-Code, CAD, and CAM discussions / How do I cancel Feed Rate Override in my G Code program?
« on: September 07, 2010, 01:27:16 AM »
I have had a problem with Mach3 for years now in that sometimes at the end of a program the feed rate override goes to maximum (1500%). What this means is the next time I run the program, the feed rate is not correct. I can manually cancel the feed rate override with the Reset Button or reboot Mach3 or manually type in the desired feed rate. What I want to do is put a feed rate override command at the beginning and the end of all my programs in an attempt to overcome this annoying problem. I note that there is an OEM Code for Feed Rate Override Cancel Button (1014) but I don't know how to integrate this as a command into my programs.
If this can be done it will solve another annoying problem of Spindle speed going to a initial speed higher than the commanded speed which can also be corrected with a manual press of the Override Reset Button.
What I have in mind is:
M3 S500 (Spindle goes to 640rpm)
Issue Reset Command here (Spindle drops back to 500rpm)
Perform cutting tasks until Program End
Issue Reset Command here (to cancel any spurious Feedrate Override that may occur)
M30
%
Is there an easy way to do this?
Thanks
Chrisjh
If this can be done it will solve another annoying problem of Spindle speed going to a initial speed higher than the commanded speed which can also be corrected with a manual press of the Override Reset Button.
What I have in mind is:
M3 S500 (Spindle goes to 640rpm)
Issue Reset Command here (Spindle drops back to 500rpm)
Perform cutting tasks until Program End
Issue Reset Command here (to cancel any spurious Feedrate Override that may occur)
M30
%
Is there an easy way to do this?
Thanks
Chrisjh