Thc disable

More
18 Mar 2022 22:12 #237684 by Clive S
Replied by Clive S on topic Thc disable

No, you are adjusting the Y axis to the X axis.  

By changing the position of the limit switch (or changing the offset in the .ini file), you are changing where the homed position is for each individual stepper in Y, which will cause it to square the gantry.  Once that happens, the Y axis becomes locked together, and the steppers are no longer independent.  

This will help you understand (although this is not linuxcnc, nor a plasma machine, the principle is the same):

Warning: Spoiler!


Yes I have 3 machines that I look after. It works a treat and easier than moving switches

# final home position machine-unit/sec
HOME = 0

# use this to square the gantry
HOME_OFFSET = 2.5

# machine-units per sec next 2 lines
HOME_SEARCH_VEL = 30
HOME_LATCH_VEL = -5
HOME_FINAL_VEL = 10
The following user(s) said Thank You: snowgoer540, paulsao

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

More
19 Mar 2022 03:17 #237704 by rodw
Replied by rodw on topic Thc disable
The has been no need to move switches since V 2.8 was released.
Correct method is to adjust the ini file value for HOME_OFFSET
The following user(s) said Thank You: paulsao

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

More
20 Mar 2022 20:37 #237850 by paulsao
Replied by paulsao on topic Thc disable
Greetings, I have a question, the value of home offset is fixed in the 2 axes (y1 and y2) or only in the secondary one, I am doing some tests and I have some problems, another question would be which of the two switches should be activated first or It does not matter?
Thanks for your help.

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

More
20 Mar 2022 21:07 #237853 by rodw
Replied by rodw on topic Thc disable
Both joints  would normally have a home_offset but if the gantry was not square, you would make one side different to the other by the distance required for the gantry to be square.
The following user(s) said Thank You: paulsao

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

More
22 Mar 2022 03:06 #237992 by paulsao
Replied by paulsao on topic Thc disable
Greetings.
Somebody could help me? The truth is I don't know what I'm doing wrong to square the machine, when I locate the entire y-axis, it detects one of the 2 limit switches but I think it doesn't have enough travel, they are (8mm), and when the gantry is activated it already collides with the base, maybe some magnetic switch with more travel that you recommend, I was looking at 25mm magnetic sensors, I think they are enough.

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

More
23 Mar 2022 22:32 #238165 by paulsao
Replied by paulsao on topic Thc disable
Can someone help me with a question about the square of my machine, I use 2 independent sensors for y (join1 and join2) when initializing the axis and first activates the join1 switch and should wait until the join2 switch also is activated, and it does not do that, what it does is that the join 1 switch is activated and the join 2 motor rotates inversely not as it should until the switch is touched, that is, it does not wait for the 2 switches to be activated.

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

More
23 Mar 2022 23:59 #238176 by tommylight
Replied by tommylight on topic Thc disable
Reverse the switch inputs in hal.

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

More
24 Mar 2022 00:34 #238180 by snowgoer540
Replied by snowgoer540 on topic Thc disable
I am a bit confused, it seemed like you had a working config, your Y axis was just not square to X.  

Now it seems like you are unable to home?  

Your first config looks ok, but to Tommy's point you need to be sure that the Joint 1 home/limit switch corresponds with the Joint 1 motor, etc.

Otherwise, video would really help.  
The following user(s) said Thank You: tommylight

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

More
24 Mar 2022 01:52 #238184 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?

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

More
24 Mar 2022 07:01 #238196 by rodw
Replied by rodw on topic Thc disable
both joint axes need HOME_SEQUENCE = -1
Please read the hominf configuration page on the main docs.

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

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