- Posts: 4739
- Thank you received: 2
How to build ATC Carousel in linuxcnc ?
- Todd Zuercher
- Offline
- Platinum Member
-
Please Log in to join the conversation.
Todd Zuercher wrote: So you are asking how to configure the actual io? That all depends what kind of physical interface you want to use. (parallel port, Mesa card...)
I presented everything in the first post
I used LPT (DB25, Parallel Port)
Thank you !
Please Log in to join the conversation.
andypugh wrote: Those are using G-code digital inputs ans ouputs:
linuxcnc.org/docs/2.7/html/gcode/m-code.html#mcode:m62-m65
Those are connected to hardware by one of the HAL files in the config. If you ran the demo then you will now have all the files in your ~/linuxcnc/configs folder, but the HAL file for the changer looks like this:
github.com/LinuxCNC/linuxcnc/blob/master...toolchange_index.hal
If you are using a B-axis then you will have more G-code and less HAL to control things.
I see
Thank you very much !
I will try it
Thank you again !
Please Log in to join the conversation.
- eneias_eringer
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 0
mhdsi wrote:
I've seen it many times before
It is my expectation
Can you share your configuration?
Yes !!! soon when arrive in my house , but some sub programs titles and comments are in portuguese !!! LOL
Please Log in to join the conversation.
- eneias_eringer
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 0
Am sorry but my configs files are a little mess
Attachment not found
Please Log in to join the conversation.
eneias_eringer wrote: Here is !!
Am sorry but my configs files are a little mess
Thank Eneias Eringer very much!
Your configure make me understand port config (parport.0 is Parallel port, pin-xx is pinout of Parallel port)

Thank again !
Please Log in to join the conversation.
I'm in the middle of adding a ATC to my machine, I use mesa5i25 + 7i76, the carousel using stepper with step+dir signals with a home switch.
thanks a lot
Please Log in to join the conversation.
rogerxue wrote: I'm curious as how to use it without making it an axis?
The "carousel" HAL component can align a carousel to a tool number (using various types of feedback) without the carousel being a G-code controlled axis.
Please Log in to join the conversation.
Please Log in to join the conversation.
linuxcnc.org/docs/2.7/html/man/man1/iocontrol.1.html
If you link that HAL pin to the caarousel component and connect a motor of some sort to the output pins of the carousel component then the carousel will move to that pocket number.
You typically need a G-code routine to move the axes in such a way as to perform the sequence, but at least the carousel comp can be used to position the tools.
Start LinuxCNC and then go to the virtual config sim/axis/vismach/vmc-toolchange for a demo config using corousel and a G-code subroutine.
Please Log in to join the conversation.
