halui.axis.jog-speed
- slowpoke
- Offline
- Elite Member
-
Less
More
- Posts: 189
- Thank you received: 26
28 Jan 2025 23:26 #320024
by slowpoke
halui.axis.jog-speed was created by slowpoke
Hi,
I'm tweaking HAL files for my new Lathe. I have independent hardware jog buttons for the X & Z axis. Presently setting jog speed with: halui.axis.jog-speed
The jog buttons are working however I would like to set the halui.axis.jog-speed to different values for X & Z.
What would be the easiest way to do that?
Thanks.
I'm tweaking HAL files for my new Lathe. I have independent hardware jog buttons for the X & Z axis. Presently setting jog speed with: halui.axis.jog-speed
The jog buttons are working however I would like to set the halui.axis.jog-speed to different values for X & Z.
What would be the easiest way to do that?
Thanks.
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
-
Less
More
- Posts: 1904
- Thank you received: 761
29 Jan 2025 20:27 #320112
by spumco
Replied by spumco on topic halui.axis.jog-speed
Just off the top of my head...
If you will never jog both axes at once, you could have a mux2 component, and connect the X or Z jog commands (button signals) to the mux select.
If you jog X, nothing changes. If you jog Z, the mux output goes through a scale component to offset (up or down) the Z jog speed from the X speed.
If you want to have independent control of the jog speed, you could have two potentiometers on the control panel - one for X and one for Z, and the Z-pot adjusts the scale output connected to the mux while the X-pot adjusts the 'baseline' jog speed.
If you try to jog both axes at once, I think the mux-selected axis scale would take over regardless of which button was pressed first. Probably a better idea to have a separate (and adjustable) angle-jog component & button for any XZ jogs.
If you will never jog both axes at once, you could have a mux2 component, and connect the X or Z jog commands (button signals) to the mux select.
If you jog X, nothing changes. If you jog Z, the mux output goes through a scale component to offset (up or down) the Z jog speed from the X speed.
If you want to have independent control of the jog speed, you could have two potentiometers on the control panel - one for X and one for Z, and the Z-pot adjusts the scale output connected to the mux while the X-pot adjusts the 'baseline' jog speed.
If you try to jog both axes at once, I think the mux-selected axis scale would take over regardless of which button was pressed first. Probably a better idea to have a separate (and adjustable) angle-jog component & button for any XZ jogs.
The following user(s) said Thank You: slowpoke
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
-
Less
More
- Posts: 1904
- Thank you received: 761
29 Jan 2025 20:30 #320113
by spumco
Replied by spumco on topic halui.axis.jog-speed
Very simple way - not trying to be snarky.
Just have a potentiometer on the control panel which adjusts the halui.axis.jog-speed value. Manually adjust the pot when you want to slow down one of the axes, and turn it back up for the faster one. This is how I've got mine configured.
Just have a potentiometer on the control panel which adjusts the halui.axis.jog-speed value. Manually adjust the pot when you want to slow down one of the axes, and turn it back up for the faster one. This is how I've got mine configured.
The following user(s) said Thank You: slowpoke
Please Log in or Create an account to join the conversation.
Time to create page: 0.053 seconds