Machsupport Forum

Mach Discussion => Mach Screens => Topic started by: Bill I on July 07, 2016, 07:23:53 PM

Title: 2010 Screen Set Macro assistance
Post by: Bill I on July 07, 2016, 07:23:53 PM
Just setting up the 2010 Screen Set and I need some assistance. When editing the macros for Ref X,Y and Z where do you plug in the number  0 .9219?  This is the distance from the proxi. switch to edge of the spoil board.

DoButton(23)
'Code "G53 G0 Y1"
'While IsMoving()
'Wend

Thanks
Bill I
Title: Re: 2010 Screen Set Macro assistance
Post by: ger21 on July 07, 2016, 07:57:30 PM
It depends on what exactly you want to do.

If you want the edge of your spoilboard to be Machine Zero, then you'd enter that number in the Home Offset in Config > Homing/Limits.

Then, if you want to move to Y0 after homing, then just use this in your home script.

DoButton(23)
Code "G53 G0 Y0"
While IsMoving()
Wend
Title: Re: 2010 Screen Set Macro assistance
Post by: Bill I on July 07, 2016, 10:51:58 PM
Thanks ger21

X,Y & Z macros are now working !!