- Posts: 270
- Thank you received: 0
X and Z homeswitches shared, Ya and Yb using own switches, is this possible?
having loads of fun trying to get LinuxCNC to do what I want. I now have a gantry style machine that homes all axis by itself.
Since I have to use separate switches for Ya and Yb I had to sacrifice my probe input to use as a homeswitch for Yb.
Would like to have the probe back
Question:
Is it possible to put the homeswitches for X and Z together, in stepconf you can say 'all home'. But all homes in one input will not work because of the separate homing switches needed to get the gantry to square itself.
anybody know a solution? (I ordered a second parallel port, but that will not be here for a few weeks).
(LinuxCNC is great software btw! I like how it works, especially with Gmoccapy)
Please Log in to join the conversation.
I found forum.linuxcnc.org/49-basic-configuratio...x-y-axis-home-switch but that did not work for me on LinuxCNC 2.8 pre
Please Log in to join the conversation.
I would expect home switches sharing one input would work if you follow Todd's post on the thread you linked to. But I've never tried it.
Please Log in to join the conversation.
rodw wrote: You need to forget about stepconf at this point and learn how to edit hal and ini files.
Was not using stepconf.
Ok, will give it a go then. Thanks for your reaction.rodw wrote: I would expect home switches sharing one input would work if you follow Todd's post on the thread you linked to. But I've never tried it.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
But first you need to figure out the homing and get it configured. Adding the probe should be fairly simple afterward.
Please Log in to join the conversation.
Ok, will try that, sounds logical. Thanks.Todd Zuercher wrote: I believe that it should be possible for the Yb home switch to share it's input with your Probe. (Since probing and homing never occur at the same time.)
Homing works already. The gantry is squared and all axis are homed.Todd Zuercher wrote: But first you need to figure out the homing and get it configured. Adding the probe should be fairly simple afterward.
Does not work, I get a message saying that probe was tripped during homing.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
Todd Zuercher wrote: I need to add 1 caveat, If the Yb home switch is also used as a Limit switch, then it can not share it's input with the Probe, (it can share with other limits though such as X or Z) However if Ya has limit switches, having limits on Yb seems like it may be an unnecessary redundancy.
No limit switches, just home switches.
I tried almost all combinations now, it looks like it is not possible to 'reuse' a homing switch as a probe input. I get the error that the probe was triggered during homing.
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
- Posts: 4739
- Thank you received: 2
Please Log in to join the conversation.
Todd Zuercher wrote: You need to set it up so the probe is disabled during homing. Like this, use a tristate bit component to disable the probe while the axis is homing. You also need to be certain that the axis sharing the home switch won't trip the home switch while you are probing.
I used your modifications and it kinda works. The problem is that the probe signal is inverted.
So I tried NOT and INVERT . NOT just does not work when I do:
And invert works only on floating numbers, so that will never work for what want.
What am I doing wrong, was real happy when Todd came up with the solution, it looked like it might work.
Please Log in to join the conversation.
