Matrixkins

More
30 May 2025 08:17 #329391 by Elco
Matrixkins was created by Elco
Having completed a new CNC build, I am fine tuning it. It is a dual X-axis machine (XXYZ), and I was looking at using matrixkins to square the X and Y axis. The document man9/matrixkins does not reference dual-axis. However I found a note (written in 2022): 
"Dual-axis gantry machine support might be worth adding, but I don't have such a machine myself."

Was there an update related to dual-axis use? Where can I find the source?

Thanks,
Robert
 

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

More
30 May 2025 13:35 #329396 by langdons
Replied by langdons on topic Matrixkins
What about just connecting the 2 X-axes together, possibly with one of the DIR inputs inverted?

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

More
30 May 2025 13:52 #329397 by Elco
Replied by Elco on topic Matrixkins
?? It is a usual setup, each X-ballscrew having its own stepper and home. For small corrections I could of course use HAL and change the HOME location a bit. The whole X bridge is very solid though (has 20 mm linear rail and two linear bearings on each side, and a profile of 160 x 95 mm aluminium), and pushing manually I cannot rack it more than about 2 mm. I have not measured yet if it is out of line more than that, so I'll do that first, might work. I found the matrixkins source, no mention of dual axis there. Looks modifiable though.
Robert

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
30 May 2025 14:27 #329398 by tommylight
Replied by tommylight on topic Matrixkins
No need, since 2.8 the joint/axis is implemented in LinuxCNC, so just choose "tandem joint/axis" in the wizard.

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

More
30 May 2025 15:19 #329400 by langdons
Replied by langdons on topic Matrixkins
I was thinking 2 motors that move opposite to one another and increase the effective distance (one moves left 5CM, the other moves 10cm right; total displacement is 15cm)

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

More
30 May 2025 16:38 #329401 by Elco
Replied by Elco on topic Matrixkins
Thanks for the replies, but some misunderstanding here.
The system is fine, up and running LinuxCNC 2.9.3, configured for the X-axis with joint0 and joint1 as it should be (cutting a big slab of 5 mm Alu while I am typing this). The only thing I am adding is a racking detector (for which I use encoder_ratio looking for a mismatch on encoder disks on both X axis).

While browsing through the HAL functions I ran into Matrixkins, and I wondered if this is not an easier way than changing some HAL values to square the axes. Since it does not apply to a tandem axis, I'll drop the issue.
But thanks for the replies anyway.

Robert

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

More
31 May 2025 09:26 #329435 by rodw
Replied by rodw on topic Matrixkins
You should just need to use HOME_OFFSET to get your gantry square and rely on your encoders to keep them that way
The following user(s) said Thank You: Elco

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

Time to create page: 0.067 seconds
Powered by Kunena Forum