Reset feedrate and speed via Post Processor

If you have a question about the software please ask it here.

Reset feedrate and speed via Post Processor

Postby George M » Sat May 08, 2021 2:02 pm

Many times when a job is running I will adjust the feedrate or the speed. Then when the job is finished and I load another file I forget to reset those items so the program starts off too fast or slow.
Is there a way, via a command or macro, to be included in the PP to reset those two factors to 100 like when pressing the Reset button?

Thanks
Thank you
George M

DIY CNC Machine
UCCNC
UC300eth-LPT5
UCBB
George M
 
Posts: 52
Joined: Mon Apr 29, 2019 6:49 pm

Re: Reset feedrate and speed via Post Processor

Postby laki » Sat May 08, 2021 4:06 pm

You can create a macro for example M20050.txt, which contains:

exec.Callbutton (557); // Resets the feed override to 100%.
exec.Callbutton (558); // Resets the spindle speed override to 100%.

Add a line to the post processor that calls this macro at the beginning of G code execution.
laki
 
Posts: 111
Joined: Thu Jul 19, 2018 12:46 am
Location: Belgrade, Serbia

Re: Reset feedrate and speed via Post Processor

Postby George M » Sun May 09, 2021 1:57 pm

Thank you,
I'll try adding that to my PP.
Thank you
George M

DIY CNC Machine
UCCNC
UC300eth-LPT5
UCBB
George M
 
Posts: 52
Joined: Mon Apr 29, 2019 6:49 pm


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 37 guests