Hello Guest it is April 18, 2024, 12:41:56 AM

Author Topic: ATC for lathe  (Read 22925 times)

0 Members and 1 Guest are viewing this topic.

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: ATC for lathe
« Reply #10 on: September 10, 2007, 04:18:02 PM »
Hi Chris,

That gives me something to work with, here is a rough guide as to how to do it:-

Set up the turret as a normal linear axis, work out the number of steps to give you one 60 degree move.

Set up a DRO on a screen to hold the tool that's in use. Set it to oem code 1050 or what ever you have free.

Now put this code into M6start.m1s macro, in your current profile :-

Graham.

« Last Edit: September 29, 2007, 05:58:02 PM by Graham Waterworth »
Without engineers the world stops
Re: ATC for lathe
« Reply #11 on: September 10, 2007, 04:35:13 PM »
few that s a mouth full. I cant wait to try it. when I get it all setup I will let you know how it went. will be at least two weeks or so.
Thanks alot though Im not so sure Ill ever do enough scripting to get the hang of it.
Chris

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: ATC for lathe
« Reply #12 on: September 10, 2007, 04:38:04 PM »
I am not sure it will work, as I have no way to try it out at the moment, I will set up Mach lathe and try to get it to work on screen.

Graham.
Without engineers the world stops
Re: ATC for lathe
« Reply #13 on: September 10, 2007, 04:45:53 PM »
I do have a question now that I look at it. not that I understand it much at all anyway. but If its set up as a linear axis. wont it try to turn in the wrong direction  if I want to go from say tool 6 to tool 3 as it will be returning linearly. or what. I guess my question is what command in the script allows it to roll over back to tool one.
just trying to understand what Im doing is all. I do find this to be fascinating
Re: ATC for lathe
« Reply #14 on: September 10, 2007, 04:48:08 PM »
sounds great. let me know how it goes. I appreciate it alot.
I like this forum alot. I got yelled at on the Practical machinist forum for being a hobbyist. people are alot nicer and tolerant over here.

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: ATC for lathe
« Reply #15 on: September 10, 2007, 04:48:45 PM »
No the code only runs the turret one way round, there is no short path coded into it.

Graham.
Without engineers the world stops
Re: ATC for lathe
« Reply #16 on: September 10, 2007, 04:52:15 PM »
I understand.
Chris

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: ATC for lathe
« Reply #17 on: September 10, 2007, 05:13:55 PM »
I have turned the macro into a .ZIP file for ease of updates, down load this one and give it a try.

I have just set up Turn and tried the latest version on it and it is working OK.

I have set it to work on the X axis so you can see numbers change.

It moves 100 units per tool, so if you enter T0101 to start with it moves to X110.0000 then to X100.00.

Looking Good

Graham.

Without engineers the world stops
Re: ATC for lathe
« Reply #18 on: September 10, 2007, 08:54:44 PM »
Im sorry where is this zip file Im supposed to down load.
Chris

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: ATC for lathe
« Reply #19 on: September 11, 2007, 02:54:39 AM »
Hi Chris,

it is now 9 posts down the list.

Graham.
Without engineers the world stops