New Config, issues with homing.
- ccatlett1984
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 3
10 May 2025 23:00 #328182
by ccatlett1984
New Config, issues with homing. was created by ccatlett1984
Link to my current config: github.com/ccatlett1984/LinuxCNC_configs/tree/main/dmc_test
I have attached a image of the machine, with limit switch locations and homing direction labelled.
I'm not getting past Z homing, it travels up (the correct direction), I can see the limit switch activate in hal show config, but it doesn't stop and mark the axis homed.
These are the limit switches: (I believe the not's are correct, as those switches are NC)
net min-home-x <= hm2_7c80.0.inmux.00.input-15-not
net min-home-y <= hm2_7c80.0.inmux.00.input-14-not
net max-home-z <= hm2_7c80.0.inmux.00.input-13
I have attached a image of the machine, with limit switch locations and homing direction labelled.
I'm not getting past Z homing, it travels up (the correct direction), I can see the limit switch activate in hal show config, but it doesn't stop and mark the axis homed.
These are the limit switches: (I believe the not's are correct, as those switches are NC)
net min-home-x <= hm2_7c80.0.inmux.00.input-15-not
net min-home-y <= hm2_7c80.0.inmux.00.input-14-not
net max-home-z <= hm2_7c80.0.inmux.00.input-13
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18568
- Thank you received: 5102
10 May 2025 23:18 #328183
by PCW
Replied by PCW on topic New Config, issues with homing.
Is the Z axis switch Normally Open?
( a reversed axis and inverted home switch might behave like this as it would
back-off the activated switch instead of the search move )
( a reversed axis and inverted home switch might behave like this as it would
back-off the activated switch instead of the search move )
Please Log in or Create an account to join the conversation.
- ccatlett1984
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 3
10 May 2025 23:28 #328184
by ccatlett1984
Replied by ccatlett1984 on topic New Config, issues with homing.
Coorrect Z is a NO switch, X and Y are NC
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18568
- Thank you received: 5102
10 May 2025 23:46 #328185
by PCW
Replied by PCW on topic New Config, issues with homing.
Did you verify that
joint.2.home-sw-in
Goes true when the Z axis limit switch is triggered?
joint.2.home-sw-in
Goes true when the Z axis limit switch is triggered?
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11248
- Thank you received: 3758
11 May 2025 04:01 #328186
by rodw
Replied by rodw on topic New Config, issues with homing.
I think your latch velocity is going the wrong way. You need it to back off the home switch so it can't have the same sign.
in your ini try
in your ini try
HOME_LATCH_VEL = -0.500000
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18568
- Thank you received: 5102
11 May 2025 13:35 #328199
by PCW
Replied by PCW on topic New Config, issues with homing.
Changing the latch velocity is worth a try _but_ having the same sign on search velocity as latch velocity is valid.
In this case, The homing logic is supposed to move towards the home switch at the search velocity, and when the
home switch is detected, reverse and back off until the home switch deactivates, and then move towards the home
switch again at the latch velocity for the final home switch detection.
In this case, The homing logic is supposed to move towards the home switch at the search velocity, and when the
home switch is detected, reverse and back off until the home switch deactivates, and then move towards the home
switch again at the latch velocity for the final home switch detection.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11248
- Thank you received: 3758
11 May 2025 19:05 - 11 May 2025 19:06 #328211
by rodw
Replied by rodw on topic New Config, issues with homing.
I did check one of my known good configs with a shared home/limit before my last reply. It uses a negative latch velocity.
github.com/rodw-au/vmnmillqt/blob/main/VMNmillQT.ini#L247
(units are metric)
Latching happens so quickly its hard to see what is going on. Sometimes I've slowed homing velocities right down (to 10% or less) to troubleshoot.
github.com/rodw-au/vmnmillqt/blob/main/VMNmillQT.ini#L247
(units are metric)
Latching happens so quickly its hard to see what is going on. Sometimes I've slowed homing velocities right down (to 10% or less) to troubleshoot.
Last edit: 11 May 2025 19:06 by rodw.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20211
- Thank you received: 6878
11 May 2025 19:49 #328219
by tommylight
Replied by tommylight on topic New Config, issues with homing.
Just checked some 15 of my old and new configs, luckily i found one where search is positive and latch is negative (on Z), all others are same direction.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11248
- Thank you received: 3758
11 May 2025 19:56 #328222
by rodw
I checked another config of mine and it was positive.
github.com/rodw-au/showstopper/blob/master/my_Plasma.ini#L260
I wonder if the sign matters? I don't have the machine anymore to check.
Replied by rodw on topic New Config, issues with homing.
Just checked some 15 of my old and new configs, luckily i found one where search is positive and latch is negative (on Z), all others are same direction.
I checked another config of mine and it was positive.
github.com/rodw-au/showstopper/blob/master/my_Plasma.ini#L260
I wonder if the sign matters? I don't have the machine anymore to check.
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11248
- Thank you received: 3758
11 May 2025 20:10 #328226
by rodw
Replied by rodw on topic New Config, issues with homing.
Actually, the sign does matter because I have had machines where one side of the gantry does not home until the sign is flipped!
Please Log in or Create an account to join the conversation.
Time to create page: 0.097 seconds