- Posts: 37
- Thank you received: 0
New Config, issues with homing.
- ccatlett1984
- Topic Author
- Offline
- Junior Member
-
Less
More
1 year 5 months ago #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 to join the conversation.
1 year 5 months ago #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 to join the conversation.
- ccatlett1984
- Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 37
- Thank you received: 0
1 year 5 months ago #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 to join the conversation.
1 year 5 months ago #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 to join the conversation.
1 year 5 months ago #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
Code:
HOME_LATCH_VEL = -0.500000
Please Log in to join the conversation.
1 year 5 months ago #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 to join the conversation.
1 year 5 months ago #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.
Please Log in to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22010
- Thank you received: 3
1 year 5 months ago #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.
Please Log in to join the conversation.
1 year 5 months ago #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 to join the conversation.
1 year 5 months ago #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 to join the conversation.
Time to create page: 0.280 seconds
