Hello Guest it is December 21, 2024, 11:47:40 AM

Author Topic: code for feedrate override reset  (Read 4415 times)

0 Members and 1 Guest are viewing this topic.

code for feedrate override reset
« on: December 21, 2006, 02:10:00 PM »
Hello,
Is there a code I could put in my g code that resets feed rate override? I would like to add it to the begining of my programs, I broke a cutter today when starting a program and having 300%FRO!
Stupid mistake
Regards
Fernando

Offline Graham Waterworth

*
  • *
  •  2,747 2,747
  • Yorkshire Dales, England
Re: code for feedrate override reset
« Reply #1 on: December 21, 2006, 02:23:39 PM »
You could create yourself a 'M' code macro and put a line in to set the DRO to 100%

Graham.
Without engineers the world stops
Re: code for feedrate override reset
« Reply #2 on: December 21, 2006, 02:25:21 PM »
Smart you!
Re: code for feedrate override reset
« Reply #3 on: December 21, 2006, 03:14:05 PM »
Just so everybody knows
its button 14 that does the Feedrate override reset.
So making a macro would go something like this:
Open up the VB Script editor in mach 3, make a new file for your macro, I called mine m300.m1s
and type the following in:
DoButton(14)

Save it in the macros folder under the profile you are using. Now to use it, just add the M300 to the Gcode you are running and thats it. You can try if it works by overriding the feed rate and typing M300 in the MDI line, it should reset to 100%

To some, this is pretty trivial, but for beginers (we all were at some point) it scares us to try and do something like this. But if we try simple stuff like this, we can get more confortable with things like this, and try their own modifications.

Thanks again
Fernando