Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: georg schamberger on April 15, 2016, 08:55:41 AM

Title: Set Override/ Feedrate to 100%, or ignore it completely during auto zeroing.
Post by: georg schamberger on April 15, 2016, 08:55:41 AM
Hi everyone,

I've got a problem.
I activated auto tool zeroing in mach3 with a tool length sensor.
the problem now is, that even the tool zeroing macro respects the override/ feed rate. so, of course, the Z value depends on the feed rate, as the computer and mach3 need some time to react on the sensor.
As I am a fan of foolproof solutions :-) I want to tell the macro to ignore the override/ feedrate. In case of need it would be possible to include the command to reset feed rate to 100%.

is that possible?

many thanks in advance and best regards

Georg




Title: Re: Set Override/ Feedrate to 100%, or ignore it completely during auto zeroing.
Post by: ger21 on April 15, 2016, 09:01:08 AM
Try:

 SetOemDRO(821,100)
Title: Re: Set Override/ Feedrate to 100%, or ignore it completely during auto zeroing.
Post by: Hood on April 15, 2016, 10:01:43 AM
Code "M49" at the beginning of your script and Code "M48" at the end should do it.
I do that with threading on the lathe as the Ethernet Smooth Stepper  doesnt ignore the feed override  in G76  and you end up with a screwed up thread.

Hood
Title: Re: Set Override/ Feedrate to 100%, or ignore it completely during auto zeroing.
Post by: georg schamberger on April 16, 2016, 09:46:15 AM
Hi ger21 and Hood, thanks to both of you!

I used the M48 and M49 as I understand what it does and it does not change my feed rate value. works!  thanks a lot and have a nice weekend,

Georg