Homing is not working
- Rachel312
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
08 Sep 2025 20:16 #334651
by Rachel312
Homing is not working was created by Rachel312
HAl and ini files attached. We are retrofitting linux cnc to work with a Bostomatic 3 axis milling machine using a mesaboard. We have accomplished a lot however we cannot seem to figure out why our machine does not follow the homing procedure. Jogging works, we have remapped M6 successfully... we even made a bust using the machine. However when the home all button is pressed (using AXIS as gui), the only movement that occurs is the home offset or home (parameter) however many units they are set. We used halshow to reveal the signals as a way to hopefully diagnose the problem, but we have found is that some signals are not present and they should be. For example the pins with the verb homing do not get signalled, but those that end in homed are set after the home-all button is pressed.
I have read the Homing Configuration in the docs many times through and we have essentially exhausted every combination of home_search_velocity, home_latch_velocity...etc. The configuration we want to use is one where latch_velocity has an opposite sign than home_search does and we are using the index, and our soft limits are being shared as the home switch. (home_ignore_limits = YES) . I've been thinking the only solution is to write a custom homing module using homecomp or an existing one perhaps cia-402. A response either suggesting other fixes or how to use homecomp would be extremely helpful. Thank you
I have read the Homing Configuration in the docs many times through and we have essentially exhausted every combination of home_search_velocity, home_latch_velocity...etc. The configuration we want to use is one where latch_velocity has an opposite sign than home_search does and we are using the index, and our soft limits are being shared as the home switch. (home_ignore_limits = YES) . I've been thinking the only solution is to write a custom homing module using homecomp or an existing one perhaps cia-402. A response either suggesting other fixes or how to use homecomp would be extremely helpful. Thank you
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 611
- Thank you received: 66
08 Sep 2025 21:56 #334656
by langdons
Replied by langdons on topic Homing is not working
Did you create the config with PNCConf?
Sometimes, when weird stuff happens, the best thing to do is create a new, fresh config with PNCConf (or StepConf).
Try it!
(If that's possible for your scenario)
Sometimes, when weird stuff happens, the best thing to do is create a new, fresh config with PNCConf (or StepConf).
Try it!
(If that's possible for your scenario)
The following user(s) said Thank You: Rachel312
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 19168
- Thank you received: 5303
08 Sep 2025 22:46 #334658
by PCW
Replied by PCW on topic Homing is not working
Can you do a:
halcmd show all | grep home > beforehome.txt
With LinuxCNC launched and enabled but before being homed
and
halcmd show all | grep home > afterhome.txt
With LinuxCNC launched and enabled after being homed (well at least home button pressed)
and post both berforehome.txt and afterhome.txt here?
halcmd show all | grep home > beforehome.txt
With LinuxCNC launched and enabled but before being homed
and
halcmd show all | grep home > afterhome.txt
With LinuxCNC launched and enabled after being homed (well at least home button pressed)
and post both berforehome.txt and afterhome.txt here?
The following user(s) said Thank You: Rachel312
Please Log in or Create an account to join the conversation.
- Rachel312
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
09 Sep 2025 13:57 - 09 Sep 2025 14:05 #334700
by Rachel312
Replied by Rachel312 on topic Homing is not working
I will try both, thank you! Ill post about the results and those files.
Last edit: 09 Sep 2025 14:05 by Rachel312.
Please Log in or Create an account to join the conversation.
- Rachel312
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
09 Sep 2025 14:35 #334703
by Rachel312
Replied by Rachel312 on topic Homing is not working
Thank you for the helpful hal commands. Here are the contents of the before and after home text files.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 23550
- Thank you received: 5017
09 Sep 2025 15:02 - 09 Sep 2025 15:03 #334709
by andypugh
Replied by andypugh on topic Homing is not working
The docs are quite clear that 1,2,3 is valid for a home sequence. But just as a test, can you try 0,1,2 ?
(Though it's all a bit odd, as the files show that homing has completed)
(Though it's all a bit odd, as the files show that homing has completed)
Last edit: 09 Sep 2025 15:03 by andypugh.
The following user(s) said Thank You: Rachel312
Please Log in or Create an account to join the conversation.
- Rachel312
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
09 Sep 2025 19:11 #334726
by Rachel312
Replied by Rachel312 on topic Homing is not working
The behaviour does not change if I change the home_sequence values to: 0, 1, 2
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 19168
- Thank you received: 5303
09 Sep 2025 20:26 #334729
by PCW
Replied by PCW on topic Homing is not working
Does individual joint homing work?
(comment out the HOME_SEQUENCE settings in the .ini file)
(comment out the HOME_SEQUENCE settings in the .ini file)
Please Log in or Create an account to join the conversation.
- Rachel312
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
17 Sep 2025 15:10 #335127
by Rachel312
Replied by Rachel312 on topic Homing is not working
Individual homing does not work.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20675
- Thank you received: 7030
17 Sep 2025 16:21 #335129
by tommylight
Replied by tommylight on topic Homing is not working
Are you still using the above attached config files? They are missing home switch inputs in hal, and Mesa inputs are in the wrong place.
Make a new config, this is to messed up.
Make a new config, this is to messed up.
Please Log in or Create an account to join the conversation.
Time to create page: 0.262 seconds