Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Konrad K on August 01, 2010, 05:44:21 PM

Title: Softlimit update by macro
Post by: Konrad K on August 01, 2010, 05:44:21 PM
Dear Fellowes,

My today's Problem is on a mill using Mach3 version 3.042.040:

I would like to adjust the Z minimum softlimit (OEMDro 158) by M6END toolchang macro, to make it (nearly) impossible to scratch the machine table ;-)

After doing the adjustment, OEMDro 158 is changed to the new value, but mach3 still uses the previous "Z minimum" value.

When opening the "homing and limits" menu, I find the new value entered by the macro. After closing "homing and limits" again by "OK" button, the machine's behaviour is correct, it uses the new value then.

Another way is to shutdown the Mach3 software and start it again, also then, the new value is effective.  (However, just pushing the "Reset" button is not enough...)


Is there a way to force Mach3 to do the update of softlimit values correctly?


Thanks a lot for yout input :-)

Konrad
Title: Re: Softlimit update by macro
Post by: BR549 on August 01, 2010, 08:55:32 PM
have you tried to turn the softlimits off then on again via the macro? It may reset the new value.

Just a thought
Title: Re: Softlimit update by macro
Post by: Konrad K on August 02, 2010, 01:31:47 AM
have you tried to turn the softlimits off then on again via the macro? It may reset the new value.

yes, didn't change anything  :-(
Title: Re: Softlimit update by macro
Post by: BR549 on August 02, 2010, 08:32:25 PM
Yep it updates the dro AND the softlimits table BUT it does not allow the program to actually USE the values until you either restart MACH or update the softlimits table from config.

Seems ODD to be able to update it but NOT use it (;-)
Title: Re: Softlimit update by macro
Post by: Konrad K on August 08, 2010, 07:14:51 PM
Anybody any further ideas?     ::)