Issue getting XYYZ gantry to home (using 7i92t with 7i76u)
- SteepLearningCurve
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 1
22 May 2025 21:08 #328939
by SteepLearningCurve
Issue getting XYYZ gantry to home (using 7i92t with 7i76u) was created by SteepLearningCurve
Hi All
I have an issue with getting XYYZ gantry to home (using 7i92t with 7i76u)
Home position is at bottom left of the work area.
I am trying to use the second option, of the four homing sequences, found in Figure3. Homing Sequences. (stop, back, forward, home)
Order of homing is Z (micro switch), then X (micro switch), then Y gantry (proximity sensor on both ends of gantry, Y and Y1).
The Z axis homes correctly.
The X axis homes correctly.
The Y gantry axis moves in the correct direction, towards the two proximity sensor stops.
The gantry stops for a spit second, as it find the proximity sensor stops.
The Y motor looks like it tries to begin to do the correct four step process (stop, back, forward, home), and it doesn’t ever crash.
However the Y1 motor side of the gantry, just continues straight forward, and crashes the machine every time, with a hammering sound.
Context:
The two switches, and both proximity sensors, provide +24v to the four inputs on the 7i76u.
in pncconf I had to invert the four inputs, otherwise all four inputs triggered before one began.
In halshow the switches and the proximity sensors all seem fine (to me).
I have negative values on all axis (see attached ini and hal), if I change these to positive, then it homes in the wrong direction.
Any ideas for troubleshooting greatly appreciated
I have an issue with getting XYYZ gantry to home (using 7i92t with 7i76u)
Home position is at bottom left of the work area.
I am trying to use the second option, of the four homing sequences, found in Figure3. Homing Sequences. (stop, back, forward, home)
Order of homing is Z (micro switch), then X (micro switch), then Y gantry (proximity sensor on both ends of gantry, Y and Y1).
The Z axis homes correctly.
The X axis homes correctly.
The Y gantry axis moves in the correct direction, towards the two proximity sensor stops.
The gantry stops for a spit second, as it find the proximity sensor stops.
The Y motor looks like it tries to begin to do the correct four step process (stop, back, forward, home), and it doesn’t ever crash.
However the Y1 motor side of the gantry, just continues straight forward, and crashes the machine every time, with a hammering sound.
Context:
The two switches, and both proximity sensors, provide +24v to the four inputs on the 7i76u.
in pncconf I had to invert the four inputs, otherwise all four inputs triggered before one began.
In halshow the switches and the proximity sensors all seem fine (to me).
I have negative values on all axis (see attached ini and hal), if I change these to positive, then it homes in the wrong direction.
Any ideas for troubleshooting greatly appreciated

Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20268
- Thank you received: 6894
22 May 2025 21:27 #328942
by tommylight
Replied by tommylight on topic Issue getting XYYZ gantry to home (using 7i92t with 7i76u)
1. make sure both Y spin in the correct direction
2. what sensing distance do the proximity switches have? 1 and 2mm should be avoided. And switches are not mounted correctly, they should be sideways to prevent crashing into stuff.
For 1:
make a normal 3 axis test config, test one Y with a short jog, change drive inputs and test second Y with a short jog.
This can be done on software but more complicated to explain.
2. what sensing distance do the proximity switches have? 1 and 2mm should be avoided. And switches are not mounted correctly, they should be sideways to prevent crashing into stuff.
For 1:
make a normal 3 axis test config, test one Y with a short jog, change drive inputs and test second Y with a short jog.
This can be done on software but more complicated to explain.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18628
- Thank you received: 5131
22 May 2025 21:39 - 22 May 2025 21:39 #328944
by PCW
Replied by PCW on topic Issue getting XYYZ gantry to home (using 7i92t with 7i76u)
Are you sure the proximity switches are deactivated (red in halshow) when not at home position?
If these were inverted, the "home" move might actually be LinuxCNC backing off what it thinks is
a closed switch.
If these were inverted, the "home" move might actually be LinuxCNC backing off what it thinks is
a closed switch.
Last edit: 22 May 2025 21:39 by PCW.
Please Log in or Create an account to join the conversation.
- SteepLearningCurve
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 1
23 May 2025 02:08 #328955
by SteepLearningCurve
Replied by SteepLearningCurve on topic Issue getting XYYZ gantry to home (using 7i92t with 7i76u)
Hi All
Thank you for your feedback, greatly appreciated
The Y gantry completes the four step process now, well ... very nearly.
I think my problem was here
[AXIS_Y]
[JOINT_1]
has negative values
HOME_SEARCH_VEL = -10.000000
HOME_LATCH_VEL = -5.000000
(and joint 2 had the same negative values).
[JOINT_2]
I changed the signs to both positive
HOME_SEARCH_VEL = 10.000000
HOME_LATCH_VEL = 5.000000
After that change, the Y-axis homed in the four step way.
I don't understand why, maybe gantry motors that face one another need opposite signs, I have no idea.
I have attached three screen photos with halshow
first - just switched on power supplies, and launched Linuxcnc.
second - after clicked estop, and clicked power.
third - end state after all thee axis homing has completed.
Physically the Y gantry does the correct four step movement.
However, Linuxcnc errors out right at the very end, indicating joint2 on limit switch error.
The y-is-homed is red , while x-is-homed, y2-is-homed and z-is-homed are all yellow.
These are the cheap 2mm proximity sensors , tommylight said earlier that these are best avoided.
I will buy better quality ones.
If anyone knows why that sign change worked please let me know
Thank you for your feedback, greatly appreciated

The Y gantry completes the four step process now, well ... very nearly.
I think my problem was here
[AXIS_Y]
[JOINT_1]
has negative values
HOME_SEARCH_VEL = -10.000000
HOME_LATCH_VEL = -5.000000
(and joint 2 had the same negative values).
[JOINT_2]
I changed the signs to both positive
HOME_SEARCH_VEL = 10.000000
HOME_LATCH_VEL = 5.000000
After that change, the Y-axis homed in the four step way.
I don't understand why, maybe gantry motors that face one another need opposite signs, I have no idea.
I have attached three screen photos with halshow
first - just switched on power supplies, and launched Linuxcnc.
second - after clicked estop, and clicked power.
third - end state after all thee axis homing has completed.
Physically the Y gantry does the correct four step movement.
However, Linuxcnc errors out right at the very end, indicating joint2 on limit switch error.
The y-is-homed is red , while x-is-homed, y2-is-homed and z-is-homed are all yellow.
These are the cheap 2mm proximity sensors , tommylight said earlier that these are best avoided.
I will buy better quality ones.
If anyone knows why that sign change worked please let me know
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18628
- Thank you received: 5131
23 May 2025 02:26 #328956
by PCW
Replied by PCW on topic Issue getting XYYZ gantry to home (using 7i92t with 7i76u)
I think you need to specify a home position that's some distance from the home/limit switch location
linuxcnc.org/docs/html/config/ini-homing.html#_home
linuxcnc.org/docs/html/config/ini-homing.html#_home
Please Log in or Create an account to join the conversation.
Time to create page: 0.088 seconds