How to. 2 or more motors on one axis. Gantry

More
6 years 10 months ago - 6 years 10 months ago #152913 by Todd Zuercher
The reason is because before homing the machine, the kinimatics are stuck in "Joint" mode, and the gui buttons for jogging the Y axis are only connected to joint#2 (the normal Y joint). And this is why jogging is usually disabled before homing in most gantry configs in Linuxcnc. I have not played with this my self, since I don't have any gantry machines currently set up for Linuxcnc.

I've wondered if there might be a way to tie both of the Y-axis' joints jog command inputs together before homing so that they could be jogged. I'm pretty sure it could be done without too much trouble using external inputs from physical jog buttons or MPG, not so sure if the jog buttons in the gui screen could be made to work though since their signals don't go through hal. I can't say that I've seen any examples of how to do this posted anywhere, but I haven't paid real close attention to the subject. I suspect most people just accept that you can't jog the gantry before it is homed.
Last edit: 6 years 10 months ago by Todd Zuercher.

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

More
6 years 10 months ago #152914 by dgarrett

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

More
6 years 10 months ago #152926 by Jalfrezi19
OK, thanks all for the replies!
I'll dive into homing then... :)

Sander

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

More
6 years 8 months ago #157203 by DaveInConesus
My extra switches show up today. I recently added 3 homing switches and made a clean stepconf generated configuration that works correctly. Any warnings or guidance before I start at the first post in this thread and start editing (other than backing up first).

Machine is a Gatton CNC router with two stepper motors on the gantry. Running LinuxCNC 2.8.

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

More
6 years 8 months ago #157204 by bevins
I have a fully functioning XXYZ machine. It uses shared home switches though. But the machine is working.

XXYZ HAL

XXYZ ini file
The following user(s) said Thank You: DaveInConesus

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

More
6 years 8 months ago - 6 years 8 months ago #157247 by rodw
You should not have any problems. I use seperate min limit , max limit and homing switches on my gantry. There is an example config here.
forum.linuxcnc.org/47-hal-examples/34072...ranch-gantry-example
but the spindle at speed pin has changed names since it was done.
Last edit: 6 years 8 months ago by rodw.
The following user(s) said Thank You: DaveInConesus

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

Time to create page: 0.080 seconds
Powered by Kunena Forum