Pulling my hair out trying to get homing working!
- Sparkman61
- Offline
- Junior Member
- Posts: 38
- Thank you received: 6
Please Log in or Create an account to join the conversation.
net both-home-x => joint.0.neg-lim-sw-in
net both-home-x => joint.0.pos-lim-sw-in
try (commenting or deleting):
net both-home-x => joint.0.neg-lim-sw-in
# net both-home-x => joint.0.pos-lim-sw-in
Please Log in or Create an account to join the conversation.
Is the config wizard correctly setting the HOME_IS_SHARED and HOME_IGNORE_LIMITS ?
Please Log in or Create an account to join the conversation.
It's OK to have one switch for both limits and home.
The issue is that he has the same switch for home AND positive AND negative limits:
# ---setup home / limit switch signals---
net both-home-x => joint.0.home-sw-in
net both-home-x => joint.0.neg-lim-sw-in
net both-home-x => joint.0.pos-lim-sw-in
Please Log in or Create an account to join the conversation.
- Sparkman61
- Offline
- Junior Member
- Posts: 38
- Thank you received: 6
Please Log in or Create an account to join the conversation.
- Sparkman61
- Offline
- Junior Member
- Posts: 38
- Thank you received: 6
That is a valid option in the dropdown list but I have tried it multiple ways. Again, more coffee and then I let you know.
It's OK to have one switch for both limits and home.
The issue is that he has the same switch for home AND positive AND negative limits:
# ---setup home / limit switch signals---
net both-home-x => joint.0.home-sw-in
net both-home-x => joint.0.neg-lim-sw-in
net both-home-x => joint.0.pos-lim-sw-in
Please Log in or Create an account to join the conversation.
- Sparkman61
- Offline
- Junior Member
- Posts: 38
- Thank you received: 6
Please Log in or Create an account to join the conversation.
- Sparkman61
- Offline
- Junior Member
- Posts: 38
- Thank you received: 6
I assume that HOME_IGNORE_LIMITS and the HOME_IS_SHARED is set by the selected option in the dropdown of the Mesa input option. Looking at the files, HOME_IGNORE_LIMITS is in the .ini file but HOME_IS_SHARED doesn't appear to be in the files. Hmmm. I assume both should be in the .ini file? Did I find a bug in the pncconf wizard?It's OK to have one switch for both limits and home.
Is the config wizard correctly setting the HOME_IS_SHARED and HOME_IGNORE_LIMITS ?
Please Log in or Create an account to join the conversation.
HOME_IS_SHARED = <n> - If the home input is shared by more than one axis set <n> to 1 to prevent homing from starting if the one of the shared switches is already closed. Set <n> to 0 to permit homing if a switch is closed.
This is only for setups where you have the home switches wired to the same input.
I don't use the config wizard for more than just creating the basic config. Once that is done I do all my customization manually in the hal and ini files. So I don't know why you got a config with the same input assigned to the positive and negative limit but I showed you how to fix it in the hal file because I think that is why your homing procedure is not working.
Of course it would be nice it the config wizard did not create it that way in the first place.
Please Log in or Create an account to join the conversation.
@ andyIt's OK to have one switch for both limits and home.
Am I misreading this?
Do you mean:
1. It's OK to have one switch for both (limit and home).
or
2. It's OK to have one switch for both limits (positive AND negative) AND home.
I presumed the first but if it is indeed the second then I apologize and stand corrected.
Please Log in or Create an account to join the conversation.