Configuring ATC

  • mswierczek19
  • mswierczek19's Avatar Topic Author
  • Visitor
  • Visitor
27 May 2020 15:38 - 27 May 2020 15:39 #169134 by mswierczek19
Configuring ATC was created by mswierczek19
Hi,
I have a problem with configuration for automatic toolchanger.
My lathe is modification from conventional lathe to cnc controlled machine.
I have a revolver turret with no locking system its based on strain wave gearing and servomotor.
The servomotor is defined as A axis in Milling mode, so g-codes like G0 and G1 is working perfectly, but i would like to make use of M6 code, because it must work with offsets for each tool separately. I have no skill in programming scripts, so i cant make it by myself and i need your help with it.
Is there any complete script for that kind of ATC or similar turret?
Would that work in lathe mode in LinuxCNC (this mode uses only 2 axis, but A axis would be possible to use ONLY in Milling mode)?
Do you have any ideas for that?
I think there is simple solution, but i cant go forward with work in cycle process without it, and i need it ASAP. :dry:
im attaching in configurations of my lathe:
1. Frezarka- Milling mode (Y axis have no use there, i need to remove it cause it makes bugs and troubles sometimes, even the programs stops)

File Attachment:

File Name: frezarka_2...5-27.zip
File Size:6 KB

2. Tokarka- Lathe mode (without A axis)

File Attachment:

File Name: tokarka_20...5-27.zip
File Size:7 KB
Attachments:
Last edit: 27 May 2020 15:39 by mswierczek19.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
27 May 2020 15:50 #169136 by tommylight
Replied by tommylight on topic Configuring ATC
Have a look at this, see if you can use it
linuxcnc.org/docs/2.8/html/man/man9/carousel.9.html

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

More
27 May 2020 18:55 #169143 by Henk
Replied by Henk on topic Configuring ATC
I think you can just add an axis by manually editing your lathe config. Basically copy the axis sections from your milling config and edit the ini file. See Link

Regarding control of the changer, I think the best way is to remap m6 and then use gcode to move the a axis to the correct tool position.

Remap basically disables the standard m6 actions and allows you to "intercept" the m6 process and to run your own subroutine (gcode) to perform the toolchange. Check the docs for details

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

  • mswierczek19
  • mswierczek19's Avatar Topic Author
  • Visitor
  • Visitor
30 May 2020 11:25 #169413 by mswierczek19
Replied by mswierczek19 on topic Configuring ATC
will the offset for each tool then work?

can you describe this solution step by step how to do it? I have not much skill in programming and setting on linuxCNC, and i don't want to do somethink wrong and break my lathe.

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
30 May 2020 12:09 #169417 by tommylight
Replied by tommylight on topic Configuring ATC

can you describe this solution step by step how to do it?

probably not without you giving us much more info on how the turret is set up, how it is driven and what pins/switches it uses.

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

  • mswierczek19
  • mswierczek19's Avatar Topic Author
  • Visitor
  • Visitor
30 May 2020 15:51 #169425 by mswierczek19
Replied by mswierczek19 on topic Configuring ATC
I attached Config files, you can download and read all configurations of my system. Turret has no locks, its just servo and strain wave gearing

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
30 May 2020 16:02 #169428 by tommylight
Replied by tommylight on topic Configuring ATC
Configs are missing, and does the turret have any switches/sensors ?

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

More
30 May 2020 16:07 #169429 by Henk
Replied by Henk on topic Configuring ATC
Read the m6 part of this. linuxcnc.org/docs/html/remap/remap.html

It seems intimidating but it is not that difficult.

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

  • mswierczek19
  • mswierczek19's Avatar Topic Author
  • Visitor
  • Visitor
02 Jun 2020 18:40 #169857 by mswierczek19
Replied by mswierczek19 on topic Configuring ATC
this is config files:

1. Frezarka- Milling mode (Y axis have no use there, i need to remove it cause it makes bugs and troubles sometimes, even the programs stops)

File Attachment:

File Name: frezarka_2...6-02.zip
File Size:6 KB


2. Tokarka- Lathe mode (without A axis)

File Attachment:

File Name: tokarka_20...6-02.zip
File Size:7 KB
Attachments:

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

Time to create page: 0.072 seconds
Powered by Kunena Forum