Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: rckeith on January 06, 2013, 04:19:09 PM
-
Hi
I've been setting my 4-axis hot wire foam cutter and it works just great. You can see it here http://www.rckeith.co.uk/cncfc.html made my first wing which didn't come out too bad. I've now installed limit/home switches and wired them all in series following this article http://www.cnczone.com/forums/attachments/stepper_motors_drives/148210d1324043992-wire_e-stop_button_tb6560_driver_board-tb6560limitinputs.pdf . Used the Autoset to configure home, ++ and -- for z,x,y,a which all worked fine.
Z, X and Y all home when I press REF ALL HOME, but the A axis doesn't move at all. On the diagnostic page the A axis switches lights up as expected when a switch is pressed.
I've unchecked A-axis as angular in General config but it made no difference.
Is there something else I need to do? Will I need to wire the A-axis to a separate input pin.
Keith
-
It should but if you attach your xml I will look and see if I can find the problem.
Hood
-
Thanks.
I've attached it
Keith
-
Have sent you a PM.
Hood
-
New XML config uploaded.
keith
-
Works fine here in simulation. Open Mach then go to Diagnostics page, are any of the LEDs lit for home switches?
Assuming they are not then go to Operator menu then Edit Button Scripts, the RefAll should be flashing, click on it and see what it says, copy and paste here.
Hood
-
Hi Hood
What I've noticed is the Z and Y hit the limit/home switch and then reverse direction to come off and reset the DRO's to zero. I think this is what they should do. The X just hits the switch and stops and then DRO says zero. I though perhaps it might be a switch problem so I've replaced the switch on the X--/Home with a new micro switch but no change. The LED's are all light once the X stops and that's as far as it goes. I've added the screen shot as you suggested
Keith
-
Ok your X is the problem, its noisy, probably switch or possibly wiring picking up noise. Add 200 for Debounce Interval on General Config page and see if that cures it.
If it does reduce as much as you can before the problem happens again.
Hood
-
Hi Hood
Your the man. It works perfectly.
Thanks once again.
Keith