Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: asif302 on September 15, 2019, 05:50:12 AM
-
Hi
My cnc router is x coardinate motor is moving in only one direction on both x+ and x- using arrow keys.
I am using Windows xp parallel port.
-
Hi,
will the X axis move in both directions if you use MDI?
For example:
G1 X10 F50
G1 X0
Craig
-
It moves in only one direction
-
Hi,
please confirm that it moves in only one direction when you use MDI comands to move in either direction.
If so you need to use a multimeter and measure the Direction output of your breakout board, it should be logic high
in one direction and logic low in the other direction. If that checks out then you need to look to your stepper driver.
Can you substitute the Y or Z stepper driver for the potentially faulty X axis stepper driver? It would either rule in OR
rule out the driver.
Craig
-
I don't understand MDI? I use the keyboard arrow keys to move the stepper motors on x+ and x-
-
Hi,
MDI is manual data input. Have a look in the Mach operation manual.
You need to program one line at a time:
g0 x100
g0 x0
g0 x100
g0 x0
This should cause the X axis to go back and forth 100mm. It is a much more reliable and accurate method to cause an axis to move,
certainly very much more reliable than the arrow keys.
Craig
-
Thanks i will check