How to build ATC Carousel in linuxcnc ?

More
26 Oct 2016 17:06 #82104 by Todd Zuercher
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...)

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

More
26 Oct 2016 17:11 #82105 by mhdsi

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 or Create an account to join the conversation.

More
26 Oct 2016 17:16 #82106 by mhdsi

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 or Create an account to join the conversation.

More
26 Oct 2016 17:55 - 26 Oct 2016 17:59 #82108 by eneias_eringer

mhdsi wrote:
I've seen it many times before
It is my expectation :D
Can you share your configuration?




Yes !!! soon when arrive in my house , but some sub programs titles and comments are in portuguese !!! LOL
Last edit: 26 Oct 2016 17:59 by eneias_eringer.

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

More
26 Oct 2016 21:00 #82118 by eneias_eringer
Here is !!

Am sorry but my configs files are a little mess


File Attachment:

File Name: BACKUPZX75...2016.zip
File Size:71 KB
Attachments:
The following user(s) said Thank You: mhdsi

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

More
27 Oct 2016 07:08 #82128 by mhdsi

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) :D

Thank again !

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

More
10 Jan 2020 05:35 #154529 by rogerxue
I'm curious as how to use it without making it an axis?

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 or Create an account to join the conversation.

More
10 Jan 2020 11:17 #154538 by andypugh

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 or Create an account to join the conversation.

More
14 Jan 2020 22:02 #154848 by rogerxue
thanks, are you suggesting I have a secondary controller for carousel, and only expose a feedback of which tool it is at? I can definitely do that, but I think it would be more flexible to control the movement of the carousel directly from linuxcnc. e.g. if I want to move tool to 1, I'll execute gcode like g0 b1. but I also don't want to expose b as an axis in the UI

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

More
14 Jan 2020 22:18 - 14 Jan 2020 22:18 #154850 by andypugh
When your G-code says "T6" then the value "10" appears on the hal pin iocontrol.0.tool-prep-pocket:

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.
Last edit: 14 Jan 2020 22:18 by andypugh.

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

Time to create page: 0.119 seconds
Powered by Kunena Forum