carousel component integration

More
10 Nov 2025 21:30 #338160 by Robert312
carousel component integration was created by Robert312
Dear anyone but mostly Andy Pugh,

I would like to use your carousel component but for my life I cannot figure out how to.  I have seen a couple working examples that I have attempted to model mine after but nothing clicks.  I do realize that my machine is different and such, but I was hoping to catch onto a pattern. I will attach my files below, the meat of the carousel code is in custom.hal, the complete config is available on Github as well, ( github.com/RachelStarosta21/BostoMatic-w...oolChanger/tree/main ).  Any help or pointers would be amazing.  My config is currently modeled after this guy: www.forum.linuxcnc.org/38-general-linuxc...9-remap-m6-in-python and previously I was using Eric Salo's tutorial on youtube.

More information about my setup: The tool carousel motor is a servo motor that operates the angular axis of the carousel and spins. The encoder is a quadrature encoder with a scale of 8192(8192 total counts between each the index mark).  The machine itself is a bostomatic 312 from the 80s, the machine works.  We have previously actuated the tool carousel using a standard angular axis motor and encoder connections, but it seems silly to do work you already have. 

Constructive feedback only.
 
Attachments:

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

  • andypugh
  • andypugh's Avatar
  • Away
  • Moderator
  • Moderator
More
12 Nov 2025 13:11 #338244 by andypugh
Replied by andypugh on topic carousel component integration
Can you describe how the setup is failing?

One thing that may be wrong is that the "width" seems very large. This is the number of encoder counts each side of the tool slot that is considered properly aligned. Normally it would be at most tens of counts.

The "scale" is meant to be the number of encoder counts between pockets. If your system has 1 servo motor revolution per pocket then your scale is probably correct, but if one servo motor revolution is one carousel revolution then you should divide the encoder full rev counts by the number of pockets.

I am aware that "carousel" has grown to the point that it ought to have a dedicated manual section. (Or maybe there should be a section on toolchangers in general. It's a big subject)

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

More
12 Nov 2025 21:32 - 14 Nov 2025 04:51 #338284 by Robert312
Replied by Robert312 on topic carousel component integration
I think I understand the width and scale now, I have illustrated my understanding in the pictures attached.  If you could confirm that those measurements are the correct ones for the width and scale parameters that would be amazing.

Our problem is the understanding of how the carousel component integrates with the hardware, for example how come some people leave pins or parameters out. And what is carousel-lock and unlock and how does it relate to the component. 

Also my illustration was fast it is not to scale unfortunately, so I included a photo of the actual carousel.  
Thank you

 
Attachments:
Last edit: 14 Nov 2025 04:51 by Robert312. Reason: Fixed part of the problem

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

Time to create page: 0.170 seconds
Powered by Kunena Forum