Hello Guest it is April 27, 2024, 12:23:24 AM

Author Topic: Homing Issue - Z axis won't release the switch after homing  (Read 3720 times)

0 Members and 1 Guest are viewing this topic.

Homing Issue - Z axis won't release the switch after homing
« on: December 18, 2017, 02:47:27 PM »
Hi

I have an issue with my cnc. Homing my z-Axis works fine until the switch will be activated. Then it runs into an Limit-Switch error. It seems, that Mach4/Pokeys doesn't retract the Z-Axis far enough to release the switch after homing. Is there a way to adjust the distance of the Z-Axis, that the switch will be released after homing? i don't know if it's an issue with Mach4 or Pokeys57cnc. All other axis working fine.

Thanks
Re: Homing Issue - Z axis won't release the switch after homing
« Reply #1 on: December 18, 2017, 02:54:41 PM »
IIRC the axis is moved off of the switch until the switch has been seen to change states.
I would make sure that you have your limits and home configured properly.

Mike
We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.
Re: Homing Issue - Z axis won't release the switch after homing
« Reply #2 on: December 18, 2017, 03:08:53 PM »
Well, that‘s why i‘m asking. I have no idea and i‘m searching for a way to change the distance the z axisis has to drive back after homing.
Re: Homing Issue - Z axis won't release the switch after homing
« Reply #3 on: December 18, 2017, 05:07:51 PM »
Are you using the same switch for limit and home?

Mike
We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.
Re: Homing Issue - Z axis won't release the switch after homing
« Reply #4 on: December 18, 2017, 05:30:26 PM »
Hi,

Quote
I have no idea and i‘m searching for a way to change the distance the z axisis has to drive back after homing
the axis backs off only as far as it takes for the switch to activate again. There is no control over how far it moves.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Homing Issue - Z axis won't release the switch after homing
« Reply #5 on: December 18, 2017, 09:06:45 PM »
The back off is dependent on the vendor's plugin implementation.

PMDX SmartBOBs will back off until the sensor clears, and then
another 0.050" so that vibrations will not trigger it in case it is also
used as a limit sensor that might false trigger due to vibration from
other axes moving.
Steve Stallings
www.PMDX.com
Re: Homing Issue - Z axis won't release the switch after homing
« Reply #6 on: December 18, 2017, 09:25:47 PM »
Hi,
you could write some code to cause it to back off and add the code to the <Ref All> script.

Mach4 is very flexible and this is exactly the sort of thing which is made possible by that flexibility.

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Homing Issue - Z axis won't release the switch after homing
« Reply #7 on: December 18, 2017, 10:14:47 PM »
The plugin has the advantage that it can ignore false trips while doing
the back off. My guess is that the script could be interrupted by a
 limit trip if the same switch was used for home and limit.
Steve Stallings
www.PMDX.com
Re: Homing Issue - Z axis won't release the switch after homing
« Reply #8 on: December 18, 2017, 10:41:34 PM »
Hi,
Steve is right if the home switch is triggering a limit event at the same time you can write code until the cows come home,
the limit event will stop Mach dead.

I personally prefer limit switches and home switches to be separate. This post is an example  of why. You wish Mach to treat this
switch as a home switch at the moment and therefore to ignore it as a limit switch. The fault you describe is that Mach IS treating
it as a limit switch. If you had separate home and limit switches the problem wouldn't arise. Additionally it allows you to use
good quality microswitches for home switches, for which they are ideally suited, and proximity switches as limits, again an
ideal application for them. A proximity switch is a poor choice as a home switch, it is not sufficently repeatable.

Is there a particular reason that you have combined the limit and home functions?

Craig
'I enjoy sex at 73.....I live at 71 so its not too far to walk.'
Re: Homing Issue - Z axis won't release the switch after homing
« Reply #9 on: December 19, 2017, 12:56:19 AM »
Thank you for your post. i‘m really new to cnc. 3 month ago i had no idea what it is and how it works. Now, 3 month later i build one. It sounds reasonable to me, that during a homing process a limit switch can simply be handled as a home switch. I‘had no idea, that there could be a problem. It works for all axis but not at my z. My z pulls back a bit and stops, without releasing the switch. I ordered some inductive switches last week but for now im interested in solving this problem as it is. Any idea how to handle this inerruption. Can i do something in my Pokeys57cnc?