Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: marcinpl on September 07, 2008, 08:42:12 AM

Title: Change scale on start up Mach3
Post by: marcinpl on September 07, 2008, 08:42:12 AM
I want change scale on X and Y axis when I turn on Mach3.

I do something like this

in Brain Editor

Estop ------ invert flip signal --------- Formula a*(1.0066) --------- Xscale

it works :)
buy I still will be looking for optimal solution
best regards
Marcin
Title: Re: Change scale on start up Mach3
Post by: Ron Ginger on September 07, 2008, 06:36:42 PM
G51 sets a scale factor, so G51 X 1.0066 ought to do what you want. Put that into the init string thats in the Config/general screen and it will execute every time mach starts up. Might be safer to first do G50 to reset all scales to zero, then the G51.
Title: Re: Change scale on start up Mach3
Post by: marcinpl on September 08, 2008, 11:24:58 AM
Thank You both methods work good. If you say that Yous is more safe I will be use G50 G51 X1.0066 Y1.0066
once again thx