Another joint 0 on limit switch error
- vibram
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 1
19 Dec 2024 13:06 #316979
by vibram
Another joint 0 on limit switch error was created by vibram
Hello,
I'm struggling on this one...
You can find enclosed my conf files.
I have a 7i96s and a 7i73 and everything seems to work fine.
I have 2 limit switches on my X axes (lathe), They are both connected on the 7i73 and it seems OK.
On the X+, my limit switch is also my Home switch.
The homing procedure goes well. But once it's homed, the offset of 10mm is applied, then when the lathe is idle, I get this joint 0 on limit switch error.
On HAL show, I don't see the pin changing color like if it was a noise or something. There is 10K pull up resistor on these pins if I remember well the documentation of the 7i73. So, what is going on? I'm a bit (totally) lost on this one.
Thank you for your help
I'm struggling on this one...
You can find enclosed my conf files.
I have a 7i96s and a 7i73 and everything seems to work fine.
I have 2 limit switches on my X axes (lathe), They are both connected on the 7i73 and it seems OK.
On the X+, my limit switch is also my Home switch.
The homing procedure goes well. But once it's homed, the offset of 10mm is applied, then when the lathe is idle, I get this joint 0 on limit switch error.
On HAL show, I don't see the pin changing color like if it was a noise or something. There is 10K pull up resistor on these pins if I remember well the documentation of the 7i73. So, what is going on? I'm a bit (totally) lost on this one.
Thank you for your help
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19407
- Thank you received: 6507
19 Dec 2024 14:12 #316982
by tommylight
Use the included "show hal configuration" from the "machine" menu to watch the input pins, usually you can see them switching on/off when idle and with interference present.
Replied by tommylight on topic Another joint 0 on limit switch error
That would imply it is from interference/EMI.The homing procedure goes well. But once it's homed, the offset of 10mm is applied, then when the lathe is idle, I get this joint 0 on limit switch error.
Use the included "show hal configuration" from the "machine" menu to watch the input pins, usually you can see them switching on/off when idle and with interference present.
Please Log in or Create an account to join the conversation.
- vibram
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 1
19 Dec 2024 14:24 #316983
by vibram
Replied by vibram on topic Another joint 0 on limit switch error
Hi Tommy,
This is what I said, in HAL show (Show hal configuration), my light are perfectly stable and I see any color blinking at all...
This is what I said, in HAL show (Show hal configuration), my light are perfectly stable and I see any color blinking at all...
Please Log in or Create an account to join the conversation.
- vibram
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 1
19 Dec 2024 14:56 #316986
by vibram
as you can see here, it seems very stable but i always get this error. Phisically, my axis is not touching my limit switches, i'm in between
Replied by vibram on topic Another joint 0 on limit switch error
as you can see here, it seems very stable but i always get this error. Phisically, my axis is not touching my limit switches, i'm in between
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
Less
More
- Posts: 10737
- Thank you received: 3540
19 Dec 2024 18:59 #317003
by rodw
Replied by rodw on topic Another joint 0 on limit switch error
Start at the beginning and test every step progressively.
1. If you get an error finishing read, all inputs are disabled.
2. Confirm with a multimeter that the wiring is correct and you can see voltage changes at the Mesa input
3. Confirm that your hal file is referencing the pin you have connected your wire to in halshow
4. Check all pins in halshow for activity when the switch is activated in case you have wired it to the wrong input
It is so easy to wire things up wrong so it's important to follow a step by step approach to trouble shoot issues.
1. If you get an error finishing read, all inputs are disabled.
2. Confirm with a multimeter that the wiring is correct and you can see voltage changes at the Mesa input
3. Confirm that your hal file is referencing the pin you have connected your wire to in halshow
4. Check all pins in halshow for activity when the switch is activated in case you have wired it to the wrong input
It is so easy to wire things up wrong so it's important to follow a step by step approach to trouble shoot issues.
Please Log in or Create an account to join the conversation.
- vibram
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 1
19 Dec 2024 19:35 #317007
by vibram
Replied by vibram on topic Another joint 0 on limit switch error
Hi rod, thank you for your help.
I manually tried both switch and they are working well. Here is what I don't understand :
If I manually push on one limit switch, my signal joint.0.pos.lim.sw in become high,I get the joint error, then the tickbox "override limit" which is normally greyed out become available
But when I don't manually push the limit switch, bot signal pos and neg lim sw are low, the tickbox is still greyed out and I get the error.
So I'm not sure my error is linked to the limit switch. And my homing routine works fine with a first rough touch, then a second fine touch and then come back 10mm.
I manually tried both switch and they are working well. Here is what I don't understand :
If I manually push on one limit switch, my signal joint.0.pos.lim.sw in become high,I get the joint error, then the tickbox "override limit" which is normally greyed out become available
But when I don't manually push the limit switch, bot signal pos and neg lim sw are low, the tickbox is still greyed out and I get the error.
So I'm not sure my error is linked to the limit switch. And my homing routine works fine with a first rough touch, then a second fine touch and then come back 10mm.
Please Log in or Create an account to join the conversation.
- PCW
- Away
- Moderator
Less
More
- Posts: 17899
- Thank you received: 4774
19 Dec 2024 19:53 #317009
by PCW
Replied by PCW on topic Another joint 0 on limit switch error
If you are using the 7I73 input for a limit switch, I would debounce it.
Also why are you not using 7I96S isolated input for the limits? These are more resistant to EMI
and have built in debouncing (set the inm "slow" attribute for the corresponding inm input pin)
Also why are you not using 7I96S isolated input for the limits? These are more resistant to EMI
and have built in debouncing (set the inm "slow" attribute for the corresponding inm input pin)
Please Log in or Create an account to join the conversation.
- vibram
- Offline
- Junior Member
Less
More
- Posts: 37
- Thank you received: 1
21 Dec 2024 13:29 #317087
by vibram
Replied by vibram on topic Another joint 0 on limit switch error
Hello PCW,
I debounced when using the 7i73 but without success.
I tried with isolated input on the 7i96s and it's working fine.
Do you have some documentation regarding the slow option? I find the input in Hal show but it's always low.
I'm very happy that it's working but I still don't get something. If it's due to the EMI, why I don't see the dot blinking in Hal show? It's strange...
I debounced when using the 7i73 but without success.
I tried with isolated input on the 7i96s and it's working fine.
Do you have some documentation regarding the slow option? I find the input in Hal show but it's always low.
I'm very happy that it's working but I still don't get something. If it's due to the EMI, why I don't see the dot blinking in Hal show? It's strange...
Please Log in or Create an account to join the conversation.
Time to create page: 0.061 seconds