Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: comet on April 09, 2020, 10:48:59 PM

Title: zero axis within program
Post by: comet on April 09, 2020, 10:48:59 PM
Hi I need to zero the Z axis, automatically, at the start of a lathe  program, I cannot use g90/91 because of the profile, any Ideas?
the lathe is a swiss auto bar feed is the z type machine.
cheers
Title: Re: zero axis within program
Post by: Graham Waterworth on April 11, 2020, 07:43:05 PM
G92 but use with caution
Title: Re: zero axis within program
Post by: comet on April 12, 2020, 05:49:43 AM

Cheers Graham I will try that. Why do you need to use caution? Any other Tips
Happy Easter !!
Tony

G92 but use with caution
Title: Re: zero axis within program
Post by: Graham Waterworth on April 12, 2020, 08:55:44 PM
Depending on where you put it in the code if you have to stop the program and restart you could end up in the wrong place.

Its normally used in rotary axis work to zero out the indexer to stop unwinding.
Title: Re: zero axis within program
Post by: comet on April 13, 2020, 05:49:38 AM
That works a treat, exactly what I needed thanks.
Tony