Hello Guest it is December 14, 2019, 07:02:01 PM

Author Topic: homing slave axis problem (...and more)  (Read 2182 times)

0 Members and 1 Guest are viewing this topic.

homing slave axis problem (...and more)
« on: November 06, 2015, 12:15:26 PM »
Hi everybody!
i'm having a homing problem with my Slave Axis(A)...
( i have one home switch for each axis) when i hit the all-ref button X & A axis moves toward  home position, A axis hits first the home switch and starts moving away even if the X axis never touched the home switch... and the X axis never moves to the switch....

i need both axis to find the switches and i tried almost everything in the forum but i still can't make it work.
all My switches are in series to the same pin (i tried wiring the A axis in paralel but nothing happened)

i don't know what i am doing wrong...  :'( :'( :'( :'( :'( :'( :'(

i also want to know if it is possible to run a macro that send the reset signal everytime i open mach3
i want to load my programs and push the reset button with the same macro in the initialization string, this is what i got but didn't work (still have to click on the reset button to autolad)
 
Const ResetButton = 1021
 DOButton (ResetButton)
 Loadfile("C:\mach3\Gcode\drilling4scr.txt")
End




thanks !


Offline ger21

*
  • *
  •  6,291 6,291
    • View Profile
    • The CNC Woodworker
Re: homing slave axis problem (...and more)
« Reply #1 on: November 06, 2015, 01:50:07 PM »
The X and A home switches MUST be on different pins.
And you must go to General Config, and uncheck "Home Slave with Master".
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: homing slave axis problem (...and more)
« Reply #2 on: November 06, 2015, 03:09:48 PM »
The X and A home switches MUST be on different pins.
And you must go to General Config, and uncheck "Home Slave with Master".
thank you!!
i tried that way this morning but my A axis seems to not detect the limit switch and keeps moving until i push the e-stop!
the ''4 Zero'' button remains in red and dont let me do anything else

Offline ger21

*
  • *
  •  6,291 6,291
    • View Profile
    • The CNC Woodworker
Re: homing slave axis problem (...and more)
« Reply #3 on: November 06, 2015, 03:25:13 PM »
The X and A home switches MUST be on different pins.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: homing slave axis problem (...and more)
« Reply #4 on: November 06, 2015, 05:58:25 PM »
The X and A home switches MUST be on different pins.
i'm gonna try it again,
thanks!

Now i have this problem with the macro, i made a macro that allowed me to load my program without clicking in the reset button but i just can't remember how i did it!!!! it's so frustrating that i can't find the solution...
Re: homing slave axis problem (...and more)
« Reply #5 on: November 09, 2015, 04:58:31 PM »
can anybody help me please?? :(
my program loads when i press the reset button but i need it to load when i start mach3 without pressing reset .... how can i make my macro run from the start??
please????? i'm trying really hard since english is not my native language
« Last Edit: November 09, 2015, 05:07:50 PM by hamettal »
Re: homing slave axis problem (...and more)
« Reply #6 on: November 10, 2015, 11:06:21 AM »
The X and A home switches MUST be on different pins.
And you must go to General Config, and uncheck "Home Slave with Master".
Greg my problem was that i set my A axis with 20% of speed in homing and limits and my X axis with 10%... i can't believe i struggled for days and didn't see it
Thank you!!!!