Hello Guest it is April 20, 2024, 12:49:42 AM

Author Topic: Need Help A-axis.  (Read 2368 times)

0 Members and 1 Guest are viewing this topic.

Need Help A-axis.
« on: February 24, 2011, 09:10:24 AM »
Hello all,

I am new to this forum and need some help in setting up the A-axis for driving a tool turret on my Emco5cnc lathe.
The turret has a new stepper motor and an optical 1 slot detector.
The turret will turn if I give out the G-code ; g00 a60 .
It should go 60 degrees, sometimes it does this and most times not it will turn forever.

The zero slot lights up in A-home in the diag screen.
What does Mach3 do with the A-home light?
I want to use a code or macro so that the turret turns around to the zero pulse output by the optical slot.
Then turn as many degrees as needed by the tool # input. I.E. 3 = 180 degrees.

The turret is a 6 position, the stepper needs to go forward to the position indicated and reverse back a little to the stop pawl.

Any advice is very welcome.

Regards,

Jos Raven
Holland

Offline Graham Waterworth

*
  • *
  •  2,672 2,672
  • Yorkshire Dales, England
    • View Profile
Re: Need Help A-axis.
« Reply #1 on: February 26, 2011, 07:29:36 AM »
Hi Jos,

do a search on here for 'tool change macro' or something similar, you will find many versions but there is one on here for the emco.

I may be this one:-  http://www.machsupport.com/forum/index.php/topic,16685.0.html

Graham
Without engineers the world stops
Re: Need Help A-axis.
« Reply #2 on: February 26, 2011, 09:37:05 AM »

Yes Graham,
I was aware of that one, tried it but I only get syntax errors in VB Sript.

Thank you,

Jos
Hi Jos,

do a search on here for 'tool change macro' or something similar, you will find many versions but there is one on here for the emco.

I may be this one:-  http://www.machsupport.com/forum/index.php/topic,16685.0.html

Graham