Turning single axis on and off
- Ul
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 8
05 May 2026 12:23 #346170
by Ul
Turning single axis on and off was created by Ul
My machine is a small horizontal boring machine with three axis DC servos and lead screws, which I would like to change to ball screws.
If I want to operate the machine manually, I simply turn everything off using the red button in axis (F2), but with ball screws I would need to enable/disable single axis using let's say hardware buttons. Would this be possible?
Currently I am using AXIS 2.9.8 with 7i92.
If I want to operate the machine manually, I simply turn everything off using the red button in axis (F2), but with ball screws I would need to enable/disable single axis using let's say hardware buttons. Would this be possible?
Currently I am using AXIS 2.9.8 with 7i92.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17892
- Thank you received: 5240
05 May 2026 15:26 #346175
by PCW
Replied by PCW on topic Turning single axis on and off
I would be possible to disable an axis in hal,, the difficulty is returning to LinuxCNC control
without either generating a following error or a dangerous situation where you get a fast
uncontrolled return to the axis position before the axis was disabled.
without either generating a following error or a dangerous situation where you get a fast
uncontrolled return to the axis position before the axis was disabled.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
Less
More
- Posts: 21581
- Thank you received: 7367
05 May 2026 18:29 #346179
by tommylight
Replied by tommylight on topic Turning single axis on and off
What DC servos? Analog or step/dir like Gecko?
Please Log in or Create an account to join the conversation.
- Ul
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 8
06 May 2026 19:11 #346218
by Ul
Replied by Ul on topic Turning single axis on and off
Thank you. I've already tried to increase ferror in the ini file to 200mm to deactivate following error completely. I can cut off the motor drivers power supply and turn the handle, but the axis travels back automatically when reactivated. Restarting the program every time is not an option, so I will probably end up building small encoder handwheels using HEDS encoder from Aliexpress. Do handwheels at least work in MDI mode, or do I need to change the tab every time I want to operate it manually?
I am using this kind of driver from Aliexpress: de.aliexpress.com/item/1005009677397224.html
It's wired directly to the 7i92 and it drives small coreless motors with HEDS encoder, so the servo loop is done by the mesa card. No Geckos crawling in my machine.
I am using this kind of driver from Aliexpress: de.aliexpress.com/item/1005009677397224.html
It's wired directly to the 7i92 and it drives small coreless motors with HEDS encoder, so the servo loop is done by the mesa card. No Geckos crawling in my machine.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
Less
More
- Posts: 21581
- Thank you received: 7367
06 May 2026 19:39 #346220
by tommylight
I think with normal step/drive controlled drives it can be done by disabling the drives as the loop is not closed in LinuxCNC, but i never actually tried it.
Replied by tommylight on topic Turning single axis on and off
OK, see PCW's post up....so the servo loop is done by the mesa card.
I think with normal step/drive controlled drives it can be done by disabling the drives as the loop is not closed in LinuxCNC, but i never actually tried it.
Please Log in or Create an account to join the conversation.
- spumco
- Online
- Platinum Member
-
Less
More
- Posts: 2084
- Thank you received: 864
06 May 2026 19:52 #346221
by spumco
Replied by spumco on topic Turning single axis on and off
One way would be to have a hardware (or software) button that sequentially
Re-enabling it would be:
LCNC is always disconnected/reconnected to an encoder at zero counts.
NOTE: this process would not be available while running gcode program. i.e. no stopping in the middle of a program, manually jogging away, and then re-starting the program.
- Un-homes the axis
- Resets the encoder to zero
- Disconnects the encoder from LCNC
- Then disables the drive
Re-enabling it would be:
- Zero encoder
- Connect encoder to LCNC
- Enable drive
- Re-home axis/joint
LCNC is always disconnected/reconnected to an encoder at zero counts.
NOTE: this process would not be available while running gcode program. i.e. no stopping in the middle of a program, manually jogging away, and then re-starting the program.
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 17892
- Thank you received: 5240
06 May 2026 21:17 - 06 May 2026 21:19 #346223
by PCW
Replied by PCW on topic Turning single axis on and off
It might also be doable with external offsets, as long as the external offsets
were set back to zero before returning to automatic mode.
(if jogging with a hand wheel in the middle of a program would work for you)
were set back to zero before returning to automatic mode.
(if jogging with a hand wheel in the middle of a program would work for you)
Last edit: 06 May 2026 21:19 by PCW.
The following user(s) said Thank You: spumco
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds