Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: skartalov on December 03, 2011, 02:06:25 AM

Title: Initialization problem
Post by: skartalov on December 03, 2011, 02:06:25 AM
Hi,

I have G28.1 X0Y0 command in general settings screen set, to init the axis when I first start MACH3.
It works, BUT before execution of this command, the machine automatically goes high speed to it remembered machine zeroes.
This makes some problems if I move manually the spindle head, when the machine is powered off.

How to turn this OFF?

Thanks!
Title: Re: Initialization problem
Post by: Hood on December 03, 2011, 04:36:53 AM
What exactly are you trying to achieve?
If wanting to simply automatically reference to your home switches on startup then its probably best to do it via a macro.
Hood
Title: Re: Initialization problem
Post by: skartalov on December 03, 2011, 09:00:14 AM
Exactly, and how should this macro looks?
Title: Re: Initialization problem
Post by: Hood on December 03, 2011, 09:31:19 AM
If you want all axis to home at once then the macro would be

RefCombination (7)

If you wanted say the Z first then X and Y together it would be
DoButton 24
RefCombination (3)

You would then save as a macro with a number over 100, so for example if you dont already have a macro called m101 you could use that. Just save it to your profiles macro folder as m101.m1s

Then put m101 in the initialisation string.
Hood
Title: Re: Initialization problem
Post by: skartalov on December 06, 2011, 06:13:22 AM
Thanks! It works! :-)
Title: Re: Initialization problem
Post by: Hood on December 06, 2011, 07:41:41 AM
Glad to hear it :)
Hood