Homing A axis (I have a sensor for it)

More
15 Oct 2020 08:35 #186166 by JetForMe
I can't seem to find info on how to configure my 4th axis to support homing. I have a sensor for it, but it's not clear how to configure linuxcnc so that I can do an homing operation (the 4th axis isn't always installed), and also not trip just because the index went by the sensor.

What's the config to achieve this?

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

More
15 Oct 2020 11:30 - 15 Oct 2020 11:48 #186184 by Aciera
I also have a detachable 4th axis. To manage homing correctly I have a hal-signal that defines whether the 4th axis is present or not. If it is present then it homes normally as setup in the ini if it is not present then I generate a homing pulse in classicladder to home the axis as soon as it starts the homing process.

Attachments:
Last edit: 15 Oct 2020 11:48 by Aciera.
The following user(s) said Thank You: JetForMe

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

More
15 Oct 2020 16:05 #186218 by Mike_Eitel
I can switch ON a fourth axis, normaly not plugged in. So homing is normaly set to no=0. In csse i use this axis i simply press homing-a in gmoccapy ;-)

Or you twi different projects.

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

More
16 Oct 2020 05:32 - 16 Oct 2020 05:33 #186248 by JetForMe
To answer my own question: it seems it works as desired to simply configure homing, and to specify only a home switch input on the joint:
HOME = -1.7
HOME_SEARCH_VEL = 180
HOME_LATCH_VEL = -18
HOME_SEQUENCE = 0
HOME_USE_INDEX = 0
...
net max-limit-home-joint-4		joint.4.home-sw-in					<= hm2_7i76e.0.7i76.0.0.input-15-not

As to avoiding the need to home when the axis is not present, I'll have to do something like what Aciera suggested, although I really don't want to.
Last edit: 16 Oct 2020 05:33 by JetForMe.

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

Time to create page: 0.158 seconds
Powered by Kunena Forum