Axis Modifications
- ContinenteCNC
-
- Offline
- Premium Member
-
Less
More
- Posts: 93
- Thank you received: 41
18 Nov 2025 23:47 - 19 Nov 2025 00:05 #338671
by ContinenteCNC
Replied by ContinenteCNC on topic Axis Modifications
This is a mod for incrementally increasing/decreasing Feed, Rapid, and Spindle Overrides.
They behave similarly to the Jog Speed slider.
I unbound the keys `, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0
And bound:
1, 2 to decrease/increase Feed Override
3, 4 to decrease/increase Rapid Override
5, 6 to decrease/increase Spindle Override
Keys `, 7, 8, 9, 0 have no effect.
It follows the INI fine settings.
I have also implemented an exponential response to speed up changes. In principle, it works with any exponent, but so far I’ve had the best results with power = 3.0.
If you want linear behavior, set power = 1.0, and then each key press will change the value by one unit.
If for some reason a slider gets stuck at a certain value, set linear_threshold_rate to a value slightly higher than the stuck position. That will solve the issue.
It’s not as quick as a potentiometer, but it works quite well. If you want it to be even faster, try:
xset r rate 250 40
This doubles the key auto-repeat rate and cuts the delay before auto-repeat starts in half.
Try different delay and rate values. The downside is that if you set them too high, editing text files can feel awkward.
If you’re willing to test it, please let me know if something doesn’t work correctly and I’ll fix it.
By the way, this mod is derived from this post: forum.linuxcnc.org/51-ot-posts/49830-com...ntrol-console#279421
They behave similarly to the Jog Speed slider.
I unbound the keys `, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0
And bound:
1, 2 to decrease/increase Feed Override
3, 4 to decrease/increase Rapid Override
5, 6 to decrease/increase Spindle Override
Keys `, 7, 8, 9, 0 have no effect.
It follows the INI fine settings.
I have also implemented an exponential response to speed up changes. In principle, it works with any exponent, but so far I’ve had the best results with power = 3.0.
If you want linear behavior, set power = 1.0, and then each key press will change the value by one unit.
If for some reason a slider gets stuck at a certain value, set linear_threshold_rate to a value slightly higher than the stuck position. That will solve the issue.
It’s not as quick as a potentiometer, but it works quite well. If you want it to be even faster, try:
xset r rate 250 40
This doubles the key auto-repeat rate and cuts the delay before auto-repeat starts in half.
Try different delay and rate values. The downside is that if you set them too high, editing text files can feel awkward.
If you’re willing to test it, please let me know if something doesn’t work correctly and I’ll fix it.
By the way, this mod is derived from this post: forum.linuxcnc.org/51-ot-posts/49830-com...ntrol-console#279421
Last edit: 19 Nov 2025 00:05 by ContinenteCNC.
Please Log in or Create an account to join the conversation.
- ContinenteCNC
-
- Offline
- Premium Member
-
Less
More
- Posts: 93
- Thank you received: 41
18 Nov 2025 23:55 - 18 Nov 2025 23:57 #338673
by ContinenteCNC
Replied by ContinenteCNC on topic Axis Modifications
This is a mod that allows using a single key to cycle through Program Run, Program Pause, and Program Resume.
I unbound the keys R, P, and S from their original commands and bound only the R key to a routine that handles the cycling.
If you’re willing to test it, please let me know if something doesn’t work correctly and I’ll fix it.
I unbound the keys R, P, and S from their original commands and bound only the R key to a routine that handles the cycling.
If you’re willing to test it, please let me know if something doesn’t work correctly and I’ll fix it.
Last edit: 18 Nov 2025 23:57 by ContinenteCNC.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
Time to create page: 0.122 seconds