Re-Home axis after joint has already been homed

More
27 Sep 2024 16:13 - 27 Sep 2024 16:14 #310902 by slowpoke
I'm using axis GUI if that matters.

Assume I have homed X, Y, and Z

Later I want to re-home say the X axis, if I do this via the Axis GUI it will pop up a message asking if I'm sure that's what I want to do and if I click yes, it now re-homes that axis.
.........
Now doing the same using HAL commands, after power-up, I can home say the X axis with halui.joint.0.home, and that works fine.
Later if I want to re-home, and I issue another halui.joint.0.home, I get a "must be in joint Mode" error message
I suppose I could send a halui.joint.0.unhome, followed by a halui.joint.0.home and this works.

Is there a more direct way to re-home using HAL after the initial home?
 
Last edit: 27 Sep 2024 16:14 by slowpoke.

Please Log in or Create an account to join the conversation.

More
28 Sep 2024 09:54 #310956 by andypugh
You could try switching to joint mode (halui.mode.joint ) then homing, but I am not sure that is preferable to unhoming then rehoming.

What is the input that prompts this? Are you literally just working at the command line, or is the rehoming prompted by a soft or hard button?

Please Log in or Create an account to join the conversation.

More
28 Sep 2024 23:28 #311010 by slowpoke

You could try switching to joint mode (halui.mode.joint ) then homing, but I am not sure that is preferable to unhoming then rehoming.

What is the input that prompts this? Are you literally just working at the command line, or is the rehoming prompted by a soft or hard button?

 

For simple MDI type mill control tasks I prefer real buttons to mouse clicks. So I made this little control panel for ease of use. On the control panel side it's just Arduino code so libraries galore and I found some open source code called Arduino Connector (Thanks Alex from Germany) that allows simple messaging between Arduino world and HAL. The display has multiple modes and in the Jog Mode, the home buttons are associated with the three grey buttons just below the screen.


 
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.122 seconds
Powered by Kunena Forum