# Mach4 Feed, Rapid and Spindle Overrides

**URL:** https://forum.avidcnc.com/t/mach4-feed-rapid-and-spindle-overrides/3244
**Category:** General Chat
**Tags:** mach4
**Created:** [May 30, 2024, 7:44pm UTC](https://forum.avidcnc.com/t/mach4-feed-rapid-and-spindle-overrides/3244 "2024-05-30T19:44:40Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Litgra64](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Litgra64](https://forum.avidcnc.com/u/Litgra64)
#### Post date: [May 30, 2024, 7:44pm UTC](https://forum.avidcnc.com/t/mach4-feed-rapid-and-spindle-overrides/3244/1 "2024-05-30T19:44:40Z")

</div>

Just finished build and setup of my Pro4848. Could anyone let me know how to change Avid’s Mach4 settings for Feed, Rapid, and Spindle override increments from the 25% per step to 10% increments.  
Thank you in advance  
Graham

---

<div class="post-metadata">

### Author: ![jjneeb](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/jjneeb/32/244_2.png) [@jjneeb](https://forum.avidcnc.com/u/jjneeb)
#### Post date: [May 31, 2024, 4:07am UTC](https://forum.avidcnc.com/t/mach4-feed-rapid-and-spindle-overrides/3244/2 "2024-05-31T04:07:00Z")

</div>

They are hardcoded into the screen code for the up and down arrows, so you have to edit the code for those, which isn’t too hard.

If you haven’t done any screen editing: [https://www.youtube.com/watch?v=87unMhKO7u8&t=2s](https://www.youtube.com/watch?v=87unMhKO7u8&t=2s)

---

<div class="post-metadata">

### Author: ![Litgra64](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Litgra64](https://forum.avidcnc.com/u/Litgra64)
#### Post date: [June 1, 2024, 3:41am UTC](https://forum.avidcnc.com/t/mach4-feed-rapid-and-spindle-overrides/3244/3 "2024-06-01T03:41:35Z")

</div>

Thank you Jim, that’s a very in depth video for a nube like me, but very helpful, I did manage to adjust my rapid, jog and spindle overrides, thank you. Still learning as the feed is not modified the same, so still working on that one.  
Appreciate your help and great video.

---

<div class="post-metadata">

### Author: ![jjneeb](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/jjneeb/32/244_2.png) [@jjneeb](https://forum.avidcnc.com/u/jjneeb)
#### Post date: [June 1, 2024, 5:27pm UTC](https://forum.avidcnc.com/t/mach4-feed-rapid-and-spindle-overrides/3244/4 "2024-06-01T17:27:24Z")

</div>

There is a parameter in the Machine.ini file for the feed increments. I haven’t looked at the code for a long time to make sure it still uses that variable, but you can try changing that and see if it works.

[iReg32]  
Name=AvidCNC/Overrides/FRO\_Increment  
Desc=Sets feedrate override increment percent  
InitialValue=25  
Persistent=1  
Value=25

---

<div class="post-metadata">

### Author: ![Litgra64](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Litgra64](https://forum.avidcnc.com/u/Litgra64)
#### Post date: [June 3, 2024, 1:52pm UTC](https://forum.avidcnc.com/t/mach4-feed-rapid-and-spindle-overrides/3244/5 "2024-06-03T13:52:02Z")

</div>

Modified the [iReg25] as it looks like Avid use this one now, changed the 25 to 10, save and re-opened program, no change still steps at 25%

---

<div class="post-metadata">

### Author: ![jjneeb](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/jjneeb/32/244_2.png) [@jjneeb](https://forum.avidcnc.com/u/jjneeb)
#### Post date: [June 3, 2024, 3:30pm UTC](https://forum.avidcnc.com/t/mach4-feed-rapid-and-spindle-overrides/3244/6 "2024-06-03T15:30:08Z")

</div>

I just looked at the latest AVID screen and I think they are changing that value with a module based on the machine configuration, so it overrides the variable in the machine.ini after you edit it.

I just pulled up the latest screen from them that I have and this is the code for the up arrow override:

– Increase Feed Rate by % set by register  
local inst = mc.mcGetInstance()  
local hFROinc = mc.mcRegGetHandle(inst, “iRegs0/AvidCNC/Overrides/FRO\_Increment”)  
local valhFROinc = mc.mcRegGetValue(hFROinc)

local CurFRO = scr.GetProperty(“droFeedRate”, “Value”)  
local NewFRO = tonumber(CurFRO) + valhFROinc  
local rc = mc.mcCntlSetFRO(inst, NewFRO)  
–scr.SetProperty(“droFeedRate”, “Value”, tostring(NewJogRate))

If you want to hardcode the increment like the other two DRO’s, just change this:  
local NewFRO = tonumber(CurFRO) + valhFROinc  
to this:  
local NewFRO = tonumber(CurFRO) + 10

Don’t forget to change the down arrow modify button accordingly with a minus sign.

---

<div class="post-metadata">

### Author: ![Litgra64](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@Litgra64](https://forum.avidcnc.com/u/Litgra64)
#### Post date: [June 9, 2024, 3:18pm UTC](https://forum.avidcnc.com/t/mach4-feed-rapid-and-spindle-overrides/3244/7 "2024-06-09T15:18:31Z")

</div>

Thank you Jim, yes this worked I now have better control of my feeds and speeds, 25% adjustments was just too much. Thank you so much for your help.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/avidcnc/original/2X/4/48af34e91d0d1ef53cc6ad8fd50e4f84f9633b8e.jpeg)

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/avidcnc/original/2X/0/0edf0d6b496a9ce85ccf8e6bffd13b7a917f10b4.jpeg)

---

<div class="post-metadata">

### Author: ![jjneeb](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/jjneeb/32/244_2.png) [@jjneeb](https://forum.avidcnc.com/u/jjneeb)
#### Post date: [June 10, 2024, 12:20am UTC](https://forum.avidcnc.com/t/mach4-feed-rapid-and-spindle-overrides/3244/8 "2024-06-10T00:20:12Z")

</div>

> [@Litgra64](#):
>
> Thank you Jim,

Glad you got it working. One of my favorite things about Mach4 is how easy it is to customize the screen to you own needs.
