Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: krsykes23 on July 31, 2021, 07:59:17 AM

Title: Setting a DRO after a Reference
Post by: krsykes23 on July 31, 2021, 07:59:17 AM
I searched for similar topics but couldn't find what I am looking for.

I have a single (X) axis linear actuator which works fine with Mach3. The X axis actuator and therefore the Home switch are set away from the cutting blade to allow for the mitre saw to clear the mechanics

What I require is that when I Reference/Home the axis, I need the X DRO to be 168 instead of the 'referenced' value.  How do I achieve this?

I hope someone can assist me, with what I'm sure is very simple!
Title: Re: Setting a DRO after a Reference
Post by: Tweakie.CNC on July 31, 2021, 11:46:24 AM
Click:  Operator / Edit Button Script then click on REF ALL HOME button.

Add the line:
SetOEMDRO(800,168.0000)

Then save the script file.