X and Y axis move together Ramps1.4

MPCNC build

Got my Ramps 1.4 with the 12864 display. And flashed precompiled dual endstops

My steppers have not arrived, but when testing with 1 nema23 motor I have, both axis move.

When I move X from display or computer, x motor moves. When I connect the motor cables to y driver and move the x axis the Y motor rotates.

Same when I control Y, both motors turn.

When i move the stepper 10mm it turs right, when again to same direction, it goes left, but not always :sweat_smile:

I use 8825 drivers, This is the only jumper position It runs normally with this nema23 motor I have (will install Nema17)

Flashed Ramps_Dual firmware, It shows ZenXY on the screen, is this right?

MPCNC is not a coreXY machine. I think you have the wrong firmware for an MPCNC build. I would think you want one of these…
someone will be along shortly to advise you which one…

V1CNC_Ramps- MB

V1CNC_Ramps_Dual- MB


I am pretty sure I took the middle one. Will flash again with just RAMPS

Did you use Arduino IDE to flash your Mega2560 or did you use the pre-compiled firmware.hex file and Xloader? I looked at the V1CNC_Ramps_Dual- and the relevant section of configuration.h is correct for a MPCNC as in all the core XY machine options are commented out -

// @section machine

// Enable one of the options below for CoreXY, CoreXZ, or CoreYZ kinematics,
// either in the usual order or reversed
//#define COREXY
//#define COREXZ
//#define COREYZ
//#define COREYX
//#define COREZX
//#define COREZY
//#define MARKFORGED_XY // MarkForged. See https://reprap.org/forum/read.php?152,504042

However, without loading the firmware.hex directly I cannot verify that firmware.hex is correct.

Seems I screwd up. Downloaded different versions and probably unzipoed wrong.

1 Like

Easy to do…glad you have it sorted. Happy machining.

I took wrong file! now flashed the right file and x moves x and y moves only y.

But it still changes direction when it should not

1 Like

You may need to look a little deeper into this, the direction of rotation is set by the signal on the DIR pin on the DRV8825…got an oscilloscope?. you also might want to send the relevant gcode directly to remove the screen from the equation, connect your Mega2560 to your USB and use a gcode sender to send G1X10 and G1X-10 to see if it reliably follows your commands. (you will need to set the rate first try G0F1000. ) Other than that your feed rate looks quite high from your video, you could try slowing it down for testing purposes…

Are you sue that you have the motor wires connected properly? I see that you have a bunch of 1 pin connectors instead of a single 4 pin header, so you might have the pins mixed up.

The motor will have 2 coils, so there will be no connectivity across the pairs. Polarity shouldn’t matter, but the RAMPS board is wired A, A’, B’, B. If you have the coils mixed up, it can still turn, but do some weird stuff.

It can also do some weird stuff if the driver amperage is set too high or too low, so you should verify that you have appropriate current set on your stepper driver.

1 wire had come loose. So it worked with 1 coil only. Connected the wire, but no change.

I will wait for the right motors to arrive. Then I will fix the Vref according the motors and put the jumpers on the right locations. The current jumper position does not work (all jumpers in)

The first behavior makes sense. The zxy firmware moves both motors to move X or Y. It should say 510D if you installed the middle one properly, and it should not say Zenxy.

The second video doesn’t make sense. Hopefully proper wiring will fix it.