Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: pofo on December 23, 2013, 05:23:17 PM

Title: Ref All Home Moves .2 and stops. Won't go home
Post by: pofo on December 23, 2013, 05:23:17 PM

I have Z home enabled. X and Y are disabled. I have soft limits of +/-100,000. The input switch is not active.

I hit the Ref All Home button and the Z axis moves +.200 and stops. The Z DRO resets to whatever the initial value was. That is, if it started at -2.00, it travels .2, stops @-1.8  and resets the DRO to -2.00. No error message.

What am I doing wrong?
Title: Re: Ref All Home Moves .2 and stops. Won't go home
Post by: ger21 on December 23, 2013, 06:20:29 PM
In Config >Homing/Limits, do you have a Home Offset of -2?
If so, then noise is probably triggering your switch.
Title: Re: Ref All Home Moves .2 and stops. Won't go home
Post by: pofo on December 23, 2013, 06:52:16 PM
The home offsett is zero. I don't think it is noise as the behavior is consistent.  I can have the Z anywhere on its travel and have the DRO set to any number. It always moves +.2 and stops.
Title: Re: Ref All Home Moves .2 and stops. Won't go home
Post by: Hood on December 24, 2013, 02:47:18 AM
please attach your xml.
Hood
Title: Re: Ref All Home Moves .2 and stops. Won't go home
Post by: pofo on December 24, 2013, 04:59:42 PM
Thanks for the offer Hood. It was operator error. The button had the legacy DoButton code. I switched it to DoOEMButton and it worked.
Title: Re: Ref All Home Moves .2 and stops. Won't go home
Post by: Hood on December 24, 2013, 06:13:14 PM
Strange  the DoButtons should work fine but as long as you have it working thats all that matters :)
Hood
Title: Re: Ref All Home Moves .2 and stops. Won't go home
Post by: pofo on December 24, 2013, 06:14:35 PM
It's running through a DSPMC. That may have something to do with it.
Title: Re: Ref All Home Moves .2 and stops. Won't go home
Post by: Hood on December 24, 2013, 06:18:36 PM
ah ok. Is it version 066 of Mach by any chance?
Hood
Title: Re: Ref All Home Moves .2 and stops. Won't go home
Post by: pofo on December 24, 2013, 07:34:53 PM
Yes, it is R3.043.066
Title: Re: Ref All Home Moves .2 and stops. Won't go home
Post by: Hood on December 24, 2013, 07:53:19 PM
Well there are known issues with it and homing, most likely when using external controllers. I have gone back to 056 or 057 .
Hood