Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: twodmacks on August 25, 2013, 03:24:11 PM
-
I'm new to Mach 3 but when I push the right arrow most of the time my machine runs left but quite frequently it moves right. This also happens on the jog screen. This problem only seems to be on the x axis
-
It could be a loose connection on your Dir pin, if not attach your xml and I will see if there is a config issue.
Hood
-
If it goes both ways and you never know what way it's going I would check the wiring to see if something is making bad contact. It should go the same way every time. Make sure your cable is good also if you are using a parallel cable to a breakout board.
-
I found a loose wire on the stepper motor driver and that seems to have fixed the problem. I'm attaching my XML file in case you can see any other conflicts I might have. Thank you for your quick response
-
I'm still new to most of this, my apologies. I believe I attached the XML file, if not I'll gladly email it to you.
-
You will have to copy your xml to your desktop then rename to something unique such as twodmacks.xml before you can attach to the forum as it will only accept an attachment name once.
You use the additional options button on the reply page t browse and attach the file.
Hood
-
Here it is...
-
Ok xml looks relatively good and its likely your wiring was the culprit. There are however a few things that need looked at. You have the X limits set to port and pin numbers that are outputs and Y and Z limits are set to pin 0. If you dont have limit switches on the machine then just disable the limit inputs in Ports and Pins. Inputs page. If you do have limits then you will need to tell Mach the correct port and pin numbers they are using.
Hood
-
As I said before I am very new to the cnc process. I have just completed building my own machine and that part was pretty easy. The wiring went OK but I still haven't figured out where the limit switches are going to connect. I had a real struggle during the Mach 3 tutorials trying to figure out the pins, ports and switches. I am pretty happy now that the x,y, and z axis are moving. I did notice that since I fixed the loose wire the the left arrow key now makes the machine move to the left. Originally the left arrow made the machine move right. Also the pg up key makes the z axis move down. I'm a little confused by that. I would like to thank you again for your help.
-
Sounds like you may have your Z Axis going the wrong way. The DROs in Mach should go negative for Pg Dn and Positive for PgUp. If that is correct but the actual axis is opposite then you need to reverse the Dir pins active state from Config menu then Motor Outputs.
Hood