LinuxCNC homing twice in Axis SImulation
- kwanlokto
- Away
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
24 Nov 2025 16:16 #339156
by kwanlokto
LinuxCNC homing twice in Axis SImulation was created by kwanlokto
I'm having trouble understanding why my "axis" simulation is getting "Cannot home while shared home switch is closed". This happens once I click "Home All" twice. I'm wondering if I have something setup incorrectly.
My end goal is to be able to do this via python. I have attached my current python code (which I don't think is the issue) and I get the same issue.
Thanks
My end goal is to be able to do this via python. I have attached my current python code (which I don't think is the issue) and I get the same issue.
Thanks
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20984
- Thank you received: 7154
24 Nov 2025 16:46 #339158
by tommylight
Replied by tommylight on topic LinuxCNC homing twice in Axis SImulation
Simulated switches so you have to move all axis to be able to home again.
Please Log in or Create an account to join the conversation.
- kwanlokto
- Away
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
24 Nov 2025 16:57 #339159
by kwanlokto
Replied by kwanlokto on topic LinuxCNC homing twice in Axis SImulation
Thanks for your reply tommylight. Sorry if this sounds stupid but I selected each axis (X, Y, Z) and click the +/- buttons to move it in that direction, but it still doesn't seem like Home All works. It only seems to home the y axis (so j = 1).
Im still getting errors for j = 0 and j = 2
Im still getting errors for j = 0 and j = 2
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20984
- Thank you received: 7154
24 Nov 2025 18:42 #339165
by tommylight
Replied by tommylight on topic LinuxCNC homing twice in Axis SImulation
I do recall getting the same thing sometimes, but i never really bothered with why it happens, it is a sim and i use it only to check the gcode sometimes, not for anything important.
If you want to test on a real machine but with no machine attached, use the parallel port configs, so will work even with no parallel port, but it is a real machine so nothing is simulated. You will have to use immediate homing for it though.
If you want to test on a real machine but with no machine attached, use the parallel port configs, so will work even with no parallel port, but it is a real machine so nothing is simulated. You will have to use immediate homing for it though.
The following user(s) said Thank You: kwanlokto
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 11526
- Thank you received: 3860
25 Nov 2025 06:23 #339185
by rodw
Replied by rodw on topic LinuxCNC homing twice in Axis SImulation
I think what you experienced is expected behaviour. Once an axis is homed, it can't be homed again unless its unhomed. I did notice recently in a axis sim that the unhomed menu was not enabled...
Please Log in or Create an account to join the conversation.
Time to create page: 0.085 seconds