Page 1 of 1

lathe ATC TURRET

Posted: Fri Jun 21, 2019 7:32 am
by luchito1973
Hello experts,
I want to change mach3 with centroid acorn. Because mach3 does not support turn threading with encoder synchronized and rigid tapping.
I have a small lathe with 6 position unidirectional automatic tool changer powered with stepper motor connected to 4 axis and have a limit switch for homming.

this is the macro in M6 start

'M6 macro. 6 position unidiretional rotary turret conected on axis A 360 degree rollover
tool = GetSelectedTool()
SetCurrentTool( tool )

Code"G0 G53 X40" 'Move to tool change location
While Ismoving()
Wend
Code"G0 G53 Z150"
While Ismoving()
Wend


If GetCurrentTool() = 1 Then ' Check for the Tool number
Code"G0 A10" ' Move to position axis A 10 degree
Code"G0 A-0.5" ' return back to 0.5 degree for lock
While Ismoving() ' wait for the movement to stop
Wend
End If

If GetCurrentTool() = 2 Then
Code"G0 A70" ' Move to position axis A 70 degree
Code"G0 A-60" ' return back to 60 degree for lock
While Ismoving()
Wend
End If

If GetCurrentTool() = 3 Then
Code"G0 A130"
Code"G0 A-120"
While Ismoving()
Wend
End If

If GetCurrentTool() = 4 Then
Code"G0 A190"
Code"G0 A-180"
While Ismoving()
Wend
End If

If GetCurrentTool() = 5 Then
Code"G0 A250"
Code"G0 A-240"
While Ismoving()
Wend
End If

If GetCurrentTool() = 6 Then
Code"G0 A310"
Code"G0 A-300"
While Ismoving()
Wend
End If

End

The turret can be operated in the same way using acorn card and Acorn Lathe v12.18 "Pro" software?
Thanks in advanced.
Sorry for my english.

Thi is my small lathe:

https://www.youtube.com/watch?v=3C5CmLOeQmY

Re: lathe ATC TURRET

Posted: Fri Jun 21, 2019 8:09 am
by cnckeith
Hello.
Acorn Lathe turret programs are here...
https://www.centroidcnc.com/centroid_di ... ograms.zip

Re: lathe ATC TURRET

Posted: Mon Jun 24, 2019 4:49 am
by luchito1973
Thank you.