Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Fred_evans on September 27, 2012, 10:22:48 AM

Title: using M30 to go to home position
Post by: Fred_evans on September 27, 2012, 10:22:48 AM
Hello TP,
I am using mach3 for turning

I have home switches and do "set home X"" set home z" aty startup

I am reading a post that you made on the 12th march regarding the use of g28 or g30
to return to the home position

Your suggestion was that g30 x0 "would will home X first then z"

I put the block in and it moved the tool to z0 ( centreline of chuck) before going to Z0

Have i done something wrong?
I want to put a block in that causes the tool to move away from the job on the x axis and then move to the
z axis home position??

Best regards

fred
Title: Re: using M30 to go to home position
Post by: BR549 on September 27, 2012, 10:55:55 AM
The G28 and G30 can be 2 different locations depending on how you set up mach3.  turn MAY OR MAY NOT be the same as turn.

I would simply do the testing as see which it is you need  to use.

(;-) TP
Title: Re: using M30 to go to home position
Post by: RICH on September 27, 2012, 05:53:24 PM
I am with TP and would just do a number of combinations same as was done with the G28 lathe moves moves mentioned
in the attached summary of that thread.

RICH