Dual Z issue with tandem Z: wiring seems fine, but no movement

More
10 Jan 2023 01:58 #261403 by Doug @ Design8Studio.com
Hello all! As you know I am really new to LinuxCNC. I'm running a LowRider v3 (mostly printed CNC) for plasma — QtPlasmaC.

I have wiring all testing OK, both from MESA 7i96s to the stepper drivers, and from the drivers to the steppers themselves.

All joints home except tandem Z.

If I swap the Z2 wiring onto the 7i96s sockets for Z1, then Z2 wiring works fine and the Z2 motor works great. If I swap Z1 (which works fine on the primary Z sockets) over to tandem Z sockets, Z1 stops working.

As is typical with LowRider, I have 5 steppers: X, Y1, Y2, Z1, Z2.

In my INI file, for homing, I have:

X:
[JOINT_0]
HOME_SEQUENCE = 1

Y1:
[JOINT_1]
HOME_SEQUENCE = -2

Y2:
[JOINT_2]
HOME_SEQUENCE = -2

Z1:
[JOINT_3]
HOME_SEQUENCE = -0

Z2:
[JOINT_4]
HOME_SEQUENCE = -0

Here are my INI and HAL files.

Any chance you all can spot something I'm missing?

Thanks again for being awesome.

 
Attachments:

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

More
10 Jan 2023 02:17 #261407 by tommylight
Just a stab in the dark, but try:
HOME_SEQUENCE = -1 for both Z
HOME_SEQUENCE = -3 for both Y
HOME_SEQUENCE = 2 for both X
If it complains about -3 value, try:
HOME_SEQUENCE = -1 for both Z
HOME_SEQUENCE = -2 for both Y
HOME_SEQUENCE = 3 for both X
The following user(s) said Thank You: Doug @ Design8Studio.com

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

More
10 Jan 2023 02:30 #261409 by Doug @ Design8Studio.com
Will give that a try! Thank you! Will report back.

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

More
10 Jan 2023 02:37 #261411 by Doug @ Design8Studio.com
Your reply said "both X" but there is only one X stepper. I'm assuming that won't matter.

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

More
10 Jan 2023 02:49 #261413 by tommylight
Sorry, copy/paste enthusiasm ! :)
The following user(s) said Thank You: Doug @ Design8Studio.com

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

More
10 Jan 2023 03:15 #261415 by Doug @ Design8Studio.com
Hey, that was the ticket! The first suggestion you made did the trick! You are the man! Thank you!

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

More
10 Jan 2023 05:12 #261419 by rodw
I thought the first non-negative joint needed to be a 0, then sequential. eg X = 0, Y=Y2 = -1, Z=Z2= -2
Just play with the order to see if you can home Z first in case it collides with something
The following user(s) said Thank You: Doug @ Design8Studio.com

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

More
10 Jan 2023 05:22 #261421 by Doug @ Design8Studio.com
Thanks! I'm reading up now on this at:

linuxcnc.org/docs/html/config/ini-homing.html#_home_sequence

I will get my head around it so I get the machine axes homing in the right order of priority!

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

More
10 Jan 2023 05:26 #261422 by rodw
I'm not sure if you will be able to get the Z to home before the X given the behaviour I see on my gantry machine becasue of the multiple joint axes.

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

More
10 Jan 2023 05:29 #261423 by Doug @ Design8Studio.com
The LowRider v3 is made to do Z homing to Z max, and I am setup for that. My unstudied knee-jerk thought is that Z should be homed upwards first, which should make sure that X and Y movements with the plasma torch will be well above anything laying on the table. Does this sound right to you?

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

Time to create page: 0.092 seconds
Powered by Kunena Forum