Hello Guest it is July 11, 2020, 10:58:03 PM

Author Topic: Why does my slave axis do this?  (Read 3537 times)

0 Members and 1 Guest are viewing this topic.

Why does my slave axis do this?
« on: December 20, 2014, 08:14:49 PM »
On the initial homing of my machine I have no problems and I'm able to run a job successfully. However lately whenever I try to re-home the machine I'm having the following problem, does anyone know what causes this?

https://www.youtube.com/watch?feature=player_embedded&v=oJe46yTu0kE

I have also posted this on CNCZone, here is a link to the discussion http://www.cnczone.com/forums/diy-cnc-router-table-machines/253832-slave-axis.html#post1615206

Thanks for any insight or suggestion you might have.

Adam,

Offline BR549

*
  •  6,932 6,932
    • View Profile
Re: Why does my slave axis do this?
« Reply #1 on: December 20, 2014, 08:33:04 PM »
Make SURE that your config is correct and you have selected  {Home Slave with master axis}  in Gen Config.

(;-0 TP
Re: Why does my slave axis do this?
« Reply #2 on: December 20, 2014, 08:51:16 PM »
If I check that box my gantry will never square to my table, my initial homing works correctly. This problem seems
To crop up after running a job and then trying to re-home the machine.

Adam,

Offline BR549

*
  •  6,932 6,932
    • View Profile
Re: Why does my slave axis do this?
« Reply #3 on: December 20, 2014, 09:09:57 PM »
What code are you using to HOME square the Axis and slave at the same time.  IF it is trying to home one axis at a time then what you see is what happens.

(;-) TP
Re: Why does my slave axis do this?
« Reply #4 on: December 20, 2014, 09:15:53 PM »
The 1024 screen set Homing button.

Offline BR549

*
  •  6,932 6,932
    • View Profile
Re: Why does my slave axis do this?
« Reply #5 on: December 20, 2014, 09:25:02 PM »
IF you mean the REF ALL Home button then THAT will not work it will do exactly as you see in the vid. It is trying to HOME each axis independantly  won't work with a slaved axis.

You may want to try RefCombination() as that will attempt to home BOTH axis at the same time. NOW that will also require that you have separate HOME switches for each axis (Master Slave) .

(;-) TP
Re: Why does my slave axis do this?
« Reply #6 on: December 20, 2014, 09:33:33 PM »
I do have separate home switches for both the x and a axis.

So is the the slave axis (the one in the video) trying to home itself, why does it cycle and not continue to the home switch?

Im stumped on why the ref all button works  sometimes and others it doesn't?

Offline BR549

*
  •  6,932 6,932
    • View Profile
Re: Why does my slave axis do this?
« Reply #7 on: December 20, 2014, 09:41:08 PM »
In the vid the Axis moves until it binds up and stalls the stepper. When the stepper is stalled it has no torque and the axis SPRINGS back . Once it is back in position it regains the torque and tries to complete the move to the switch . IT will just repeat the process over and over again until you stop it.

(;-) TP

Offline BR549

*
  •  6,932 6,932
    • View Profile
Re: Why does my slave axis do this?
« Reply #8 on: December 20, 2014, 09:44:33 PM »
I see over at the Zone,  GERRY explains how to fix the problem. You have to change out the button code to do a RefCombination() THAT will home BOTH axis at the same time.

(;-) TP
Re: Why does my slave axis do this?
« Reply #9 on: December 21, 2014, 06:47:13 AM »
I'll give the following a shot on the "Ref All Home" button this morning and give a shout back...

DoButton( 24 ) 'Z Home Axis
RefCombination( 9 ) 'X + A Home
DoButton( 23 ) 'Y Home Axis