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.

More
03 Mar 2021 10:54 #200883 by JetForMe
Update: I was wrong. I wish there was a way to tell LinuxCNC to ignore an axis for homing at run time (e.g. via user interface, or some signal the hardware can detect).

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

More
03 Mar 2021 11:14 #200887 by Mike_Eitel
Or think the other way round...
This axis will never be homed automatically.. =0
Use a special button to home when you want nevertheless.
Gmoccapy can do so.
Mike

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

More
03 Mar 2021 11:23 #200890 by phillc54
If you omit HOME_SEQUENCE the joint won't be homed via home all.

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

More
03 Mar 2021 23:54 #200961 by andypugh
My A-axis is not in my home sequence.
And my A axis is not always fitted.

I don't actually see that much is gained by homing the A axis, as the workholding that fits it all allows the work to be mounted at any angle.

I suppose if you are in the habit of turning the machine off with part-finished work in the rotary axis then there might be some point.

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

Time to create page: 0.099 seconds
Powered by Kunena Forum