Thc disable

More
24 Mar 2022 11:26 #238213 by snowgoer540
Replied by snowgoer540 on topic Thc disable

Actually, before I had a single limit switch and it worked fine, but now that I want to quadrature the machine, I put another limit switch which brought me that problem:When returning home, a motor goes to the Switch and activates it, but it returns and does not allow the other to activate the other switch, which is wrong because it should wait for both to be activated.
Is there any order for the limit switches to be activated or not?


Is the config you posted (which did have HOME_SEQUENCE = -2 for joints 1 and 2) here: forum.linuxcnc.org/plasma-laser/45302-th...sable?start=0#236696 still the same?

If not, can you post your latest config?

Otherwise, it's hard for me to understand what's going on. Like I said, video or something might help.

Please Log in or Create an account to join the conversation.

More
24 Mar 2022 11:34 #238215 by tommylight
Replied by tommylight on topic Thc disable
Maybe something got lost in the translation, but from what and how he explained the problem, i can bet my life he has the switches crossed.
They can be changed in hal just by changing the input pin number.
The following user(s) said Thank You: paulsao

Please Log in or Create an account to join the conversation.

More
24 Mar 2022 14:21 #238223 by paulsao
Replied by paulsao on topic Thc disable
I have joint 1 and 2 with - 2

Please Log in or Create an account to join the conversation.

More
24 Mar 2022 14:23 #238224 by snowgoer540
Replied by snowgoer540 on topic Thc disable
You aren't really helping us help you.  

Tommy suggested you make sure your joint 1 home switch corresponds with your joint 1 motor and that your joint 2 home switch corresponds with your joint 2 motor.  Have you done that?
The following user(s) said Thank You: tommylight, paulsao

Please Log in or Create an account to join the conversation.

More
24 Mar 2022 14:26 #238225 by paulsao
Replied by paulsao on topic Thc disable
Sorry for my translation is very bad and also if I don't explain myself, now I'm going to change the order of the endstops and I'll be reporting my problem, thanks for your help.

Please Log in or Create an account to join the conversation.

More
24 Mar 2022 14:27 - 24 Mar 2022 14:38 #238226 by paulsao
Replied by paulsao on topic Thc disable

Actually, before I had a single limit switch and it worked fine, but now that I want to quadrature the machine, I put another limit switch which brought me that problem:When returning home, a motor goes to the Switch and activates it, but it returns and does not allow the other to activate the other switch, which is wrong because it should wait for both to be activated.
Is there any order for the limit switches to be activated or not? 


Is the config you posted (which did have HOME_SEQUENCE = -2 for joints 1 and 2) here: forum.linuxcnc.org/plasma-laser/45302-th...sable?start=0#236696 still the same?

If not, can you post your latest config?

Otherwise, it's hard for me to understand what's going on. Like I said, video or something might help.




Yes
is the same  configuration 
 
Last edit: 24 Mar 2022 14:38 by snowgoer540.

Please Log in or Create an account to join the conversation.

More
24 Mar 2022 14:39 #238228 by snowgoer540
Replied by snowgoer540 on topic Thc disable
No worries, just want to see you get it fixed is all.
The following user(s) said Thank You: paulsao

Please Log in or Create an account to join the conversation.

More
24 Mar 2022 15:56 - 24 Mar 2022 16:07 #238231 by paulsao
Replied by paulsao on topic Thc disable
Well that was the problem, the limit switch was changed so I changed the order and now it is back home and behaving fine, now I am going to square the machine and wanted to know if it is varying by trial and error. Home offset or is there a more accurate way to do it, thanks.
Last edit: 24 Mar 2022 16:07 by paulsao.

Please Log in or Create an account to join the conversation.

More
24 Mar 2022 16:12 #238232 by snowgoer540
Replied by snowgoer540 on topic Thc disable
You have two choices previously described in this thread:

Tommy's suggestion: 
forum.linuxcnc.org/plasma-laser/45302-th...able?start=10#237680

My suggestion:
forum.linuxcnc.org/plasma-laser/45302-th...able?start=10#236862

Either will get you there.  Currently it requires trial and error either way.  

You will have to restart linuxcnc between INI file edits.
The following user(s) said Thank You: tommylight, paulsao

Please Log in or Create an account to join the conversation.

More
24 Mar 2022 21:31 #238277 by paulsao
Replied by paulsao on topic Thc disable
I think I have improved a lot!
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: snowgoer540
Time to create page: 0.083 seconds
Powered by Kunena Forum