Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Adam_M 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 (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 (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,
-
Make SURE that your config is correct and you have selected {Home Slave with master axis} in Gen Config.
(;-0 TP
-
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,
-
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
-
The 1024 screen set Homing button.
-
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
-
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?
-
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
-
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
-
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
-
So, I'm trying to figure out what's up and I may be stumbling upon something just not sure what....
When I powered up this morning I noticed that the Machine co-ordinates for X and Y were both 0,0 and the gantry was no where near X and Y 0,0. So, I started looking at the home and limits settings and didn't notice anything strange. I tested all the Home switches and they all work accordingly and I also pulled the control panel thinking maybe a lose wire but nothing.
I then checked the soft limits button since it didn't make sense why the machine thought it was at 0,0 and I'm not sure what happened but things are working again, I must have missed a button click or something..ugh!!???
So here's a video using the default "Ref Al Home" after the miracle fix and it works repeatedly without issue..
https://www.youtube.com/watch?feature=player_embedded&v=kTIgewg4Bfc (https://www.youtube.com/watch?feature=player_embedded&v=kTIgewg4Bfc)