Problem with Gantry Homing
- sevaz
- Topic Author
- Offline
- Junior Member
- Posts: 24
- Thank you received: 5
If i'm not mistaken, it should work like in this video:
This is the tutorial i used to set up my gantry machine:
forum.linuxcnc.org/49-basic-configuratio...-linuxcnc-2-8-master
Here are my configuration files:
Where did i go wrong? Maybe i misunderstood something?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23560
- Thank you received: 4858
You are apparently using the latest master / 2.8 so that's not the problem, and joints 1 and 2 both have home-sequence -2 so that seems OK.
I think that a HOME = 0 and a HOME_OFFSET = 0 is a possible problem, I think that the machine will park on the limit switches after homing.
Can you describe exactly the behaviour you see? Is the machine assembled? Are the limit switches definitely not crossed-over?
Please Log in or Create an account to join the conversation.
- rodw
- Offline
- Platinum Member
- Posts: 10738
- Thank you received: 3541
I think -2 is not valid.The initial HOME_SEQUENCE number may be 0, 1 (or -1). The absolute value of sequence numbers must increment by one — skipping sequence numbers is not supported. If a sequence number is omitted, "Home All" homing will stop upon conmpletion of the last valid sequence number.
If that does not fix it, I would also check your limit and home switch wiring is correct. When I've had issues like that it is because I've had something incorrect.
Also using very slow homing velocities helps isolate problems as you have time to see things happen.
Please Log in or Create an account to join the conversation.
- sevaz
- Topic Author
- Offline
- Junior Member
- Posts: 24
- Thank you received: 5
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23560
- Thank you received: 4858
I think -2 is not valid.
-2 is fine as long as there is also a -1 or a 1.
I think it used to be the case that the homing sequence had to start at zero, but when negative numbers were introduced to hint that motors were in multiples it became difficult to configure the first in the sequence to home together. ( -0)
-0 does actually have a unique floating-point representation, but doesn't work as an integer.
Please Log in or Create an account to join the conversation.
- dgarrett
- Offline
- Platinum Member
- Posts: 567
- Thank you received: 323
The initial HOME_SEQUENCE number may be 0,
1 (or -1). The absolute value of sequence numbers
must increment by one — skipping sequence numbers
is not supported. If a sequence number is omitted,
"Home All" homing will stop upon conmpletion of
the last valid sequence number.
Please Log in or Create an account to join the conversation.