Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: yohan49 on October 14, 2021, 06:20:49 AM

Title: autoset Xpos after homing
Post by: yohan49 on October 14, 2021, 06:20:49 AM
hello
i'm positioned my home swtich of X axe at right , it's ok X=0, Y=0, Z=0 but for humain, real pos. X = 800 !!

can i setting offset at 800 ??
Title: Re: autoset Xpos after homing
Post by: Tweakie.CNC on October 14, 2021, 07:27:10 AM
I am not sure I fully understand your question but if you just wish the X Axis DRO to read 800.0000 after the homing sequence has completed then…

Operator /  Edit Button Script, click on flashing REF ALL HOME button and add the following line to the end of the script;

Call SetOemDro(800,800.0000)

Click the yellow Save Script file.

Tweakie.
Title: Re: autoset Xpos after homing
Post by: yohan49 on October 16, 2021, 04:33:20 AM
Quote
Call SetOemDro(800,800.0000)

thank you