<p>First of all, make sure that you have correctly identified the X and Y axes, and that the stepper motors (and end-stop switches) are connected to the correct ports. The hot end moves on the X-axis, and the bed moves on the Y-axis. If you connect the X and Y motors the wrong way round, you will get reversed text.</p>
<p>If the X and Y motors are connected to the correct ports, you may need to invert the motor directions in firmware. There are <code>#define</code> statements to allow you to do this.</p>

CC BY-SA 4.0
2020-10-25T10:05:25.860Z
Oh I see, turn the wires around AND invert in Marlin?! That makes sense! Will try! thanks!
DDecoene
CC BY-SA 4.0
2020-10-25T12:19:48.507Z
No. Swap the cables if they are connected to the wrong ports (this is a common error). Otherwise, you will have to change the firmware.
Mick
CC BY-SA 4.0
2020-10-26T10:19:27.443Z
@DennisDecoene You only need to do "AND" if you need to flip the connectors 180° in the same port (then the endstop is in the wrong direction).
0scar
CC BY-SA 4.0
2020-10-25T02:05:29.323Z
2020-10-26T07:19:25.940Z
2020-10-26T07:19:25.940Z
Mick
<p>So I made a 3D printer from scratch. It is a RepStrap based on a Prusa i3 running Marlin 2.0.x.</p>
<p>It prints fine and accurate, but, The trouble is that the XY plane is mirrored and I don't know how to solve this.</p>
<p>I'm using Marlin 2.0.x on an SKR 1.4 controller board.</p>
<p>Any pointers would be greatly appreciated.</p>
<p>Thanks!</p>

CC BY-SA 4.0
2020-10-26T10:16:47.600Z
Make sure X = X and Y = Y. If possible hook up a [console](/q/10573) or a software application that communicates with the printer, e.g. Pronterface (PrintRun suite) or Repetier Host. The latter options allow for graphical interfacing with the printer; homing, movement, etc.
0scar
<marlin><skr-v1.4>
How to correct XY mirroring?
DDecoene
# How to correct XY mirroring?

(Asked by: username_0 on 2020-10-24)

So I made a 3D printer from scratch. It is a RepStrap based on a Prusa i3 running Marlin 2.0.x.

It prints fine and accurate, but, The trouble is that the XY plane is mirrored and I don't know how to solve this.

I'm using Marlin 2.0.x on an SKR 1.4 controller board.

Any pointers would be greatly appreciated.

Thanks!

**Tags:** marlin, skr-v1.4
> **Comments:**
> **username_1**: Make sure X = X and Y = Y. If possible hook up a [console](/q/10573) or a software application that communicates with the printer, e.g. Pronterface (PrintRun suite) or Repetier Host. The latter options allow for graphical interfacing with the printer; homing, movement, etc.  

---

## 1 answers

### Answer by username_2 on 2020-10-25. Score: 2

First of all, make sure that you have correctly identified the X and Y axes, and that the stepper motors (and end-stop switches) are connected to the correct ports. The hot end moves on the X-axis, and the bed moves on the Y-axis. If you connect the X and Y motors the wrong way round, you will get reversed text.

If the X and Y motors are connected to the correct ports, you may need to invert the motor directions in firmware. There are `#define` statements to allow you to do this.

> **Comments:**
> **username_0**: Oh I see, turn the wires around AND invert in Marlin?! That makes sense! Will try! thanks!  
> **username_2**: No. Swap the cables if they are connected to the wrong ports (this is a common error). Otherwise, you will have to change the firmware.  
> **username_1**: @DennisDecoene You only need to do "AND" if you need to flip the connectors 180° in the same port (then the endstop is in the wrong direction).  

---

