How to build ATC Carousel in linuxcnc ?

More
10 years 6 days ago #82097 by mhdsi

andypugh wrote: The point is, it's G-code. You can set up any sequence you need.


Can you give me an example of that ?

Thank you !

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

More
10 years 6 days ago #82098 by andypugh

mhdsi wrote: Can you give me an example of that ?


The file posted earlier was an example. Without knowing anything at all about your machine it's hard to think of any useful second example.

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

More
10 years 6 days ago #82102 by mhdsi

andypugh wrote:

mhdsi wrote: Can you give me an example of that ?


The file posted earlier was an example. Without knowing anything at all about your machine it's hard to think of any useful second example.


Hi Andypugh
I can build M6 macro on Mach3
I understand all the process of tool changer, and understand your example

what I need's how to configure port because i can't config output port for Arm in/out, sensor Arm in/out, Carousel index, Tool released/clamp, sensor tool released/clamp
I use linux just days

Thank you !

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

More
10 years 6 days ago #82103 by andypugh

mhdsi wrote: what I need's how to configure port because i can't config output port for Arm in/out, sensor Arm in/out, Carousel index, Tool released/clamp, sensor tool released/clamp


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.
The following user(s) said Thank You: mhdsi

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

More
10 years 6 days ago #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
10 years 6 days ago #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.

Time to create page: 0.119 seconds
Powered by Kunena Forum