<p>You have defined your bed incorrectly in the firmware.</p>
<p>First line you print is at X=2, while it is printed a couple of centimeters from the edge. Second the final cube is not in the center of the bed while it presumably is sliced in the center.</p>
<p>You should look into the definition of the bed size, the end stop offsets and the probe offsets to fix this. A detailed question and answer is found in <a href="https://3dprinting.stackexchange.com/questions/8153/">How to set Z-probe boundary limits in firmware when using automatic bed leveling?</a>.</p>

CC BY-SA 4.0
2023-03-01T14:40:10.857Z
Thanks for the answer, but I not have the code to make this changes, the person who assemble the machine never share that.
Pedro Miguel Pimienta Morales
CC BY-SA 4.0
2023-03-02T10:51:00.483Z
That is unfortunate, but if you read into Marlin firmware updating and setting up the config file and if you have some interest in computers, coding and unloading over USB or through MicroSD card you should be able to do this. There are lots of movies that explain step-by-step what to do. You only need some basic information on your printer and the electronics. There are questions here but you may always ask yours and we will help you or direct to previous answers!
0scar
CC BY-SA 4.0
2023-03-02T22:54:57.453Z
Sure, I'm a system engineer, I know how to write code, but I never before had been the chance to study marlin, I would wish to change some things, but I will try to get the firmware made by the person who assemble the machine, then, I could start to test new marlin firmware update.
Pedro Miguel Pimienta Morales
CC BY-SA 4.0
2023-03-01T07:40:14.223Z
2023-03-01T07:40:14.223Z
0scar
<p>I have a BLV Core XY, I'm trying to print different models, but the machine moves the center once it goes to start the process.</p>
<p>This is my G-code of the beginning:</p>
<pre><code>G21
G90
M82
M107
G28

M413 S1 ;Power-loss recovery

;M190 S60    ;bed heat on
G34              ;Auto Z Level
G29              ;Bed Levelling

G28 Z
 
G1 Z2 F240
G1 X2 Y10 F1200
G1 Z0.2 F240
G92 E0.0
G1 Y150 E15.0 F1000.0 ; intro line
G1 X2.3 F5000
G1 Y10 E30 F1200.0 ; intro line
G92 E0.0

M117 Printing...
</code></pre>
<p><a href="https://i.sstatic.net/9isrk.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/9isrk.jpg" alt="one" /></a></p>
<p><a href="https://i.sstatic.net/dkJG4.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dkJG4.jpg" alt="two" /></a></p>
<p>However, if I do a simple command like, to send the <code>(0,0)</code> on Z axis, it happens fine.</p>
<p><a href="https://i.sstatic.net/dekYa.jpg" rel="nofollow noreferrer"><img src="https://i.sstatic.net/dekYa.jpg" alt="center" /></a></p>

<ultimaker-cura><g-code><corexy>
How center the nozzle before start printing
Pedro Miguel Pimienta Morales
# How center the nozzle before start printing

(Asked by: username_0 on 2023-02-28)

I have a BLV Core XY, I'm trying to print different models, but the machine moves the center once it goes to start the process.

This is my G-code of the beginning:

```
G21
G90
M82
M107
G28

M413 S1 ;Power-loss recovery

;M190 S60    ;bed heat on
G34              ;Auto Z Level
G29              ;Bed Levelling

G28 Z
 
G1 Z2 F240
G1 X2 Y10 F1200
G1 Z0.2 F240
G92 E0.0
G1 Y150 E15.0 F1000.0 ; intro line
G1 X2.3 F5000
G1 Y10 E30 F1200.0 ; intro line
G92 E0.0

M117 Printing...

```

[![one](https://i.sstatic.net/9isrk.jpg)](https://i.sstatic.net/9isrk.jpg)

[![two](https://i.sstatic.net/dkJG4.jpg)](https://i.sstatic.net/dkJG4.jpg)

However, if I do a simple command like, to send the `(0,0)` on Z axis, it happens fine.

[![center](https://i.sstatic.net/dekYa.jpg)](https://i.sstatic.net/dekYa.jpg)

**Tags:** ultimaker-cura, g-code, corexy


---

## 1 answers

### Answer by username_1 on 2023-03-01. Score: 1 | Accepted answer

You have defined your bed incorrectly in the firmware.

First line you print is at X=2, while it is printed a couple of centimeters from the edge. Second the final cube is not in the center of the bed while it presumably is sliced in the center.

You should look into the definition of the bed size, the end stop offsets and the probe offsets to fix this. A detailed question and answer is found in [How to set Z-probe boundary limits in firmware when using automatic bed leveling?](https://3dprinting.stackexchange.com/questions/8153/).

> **Comments:**
> **username_0**: Thanks for the answer, but I not have the code to make this changes, the person who assemble the machine never share that.  
> **username_1**: That is unfortunate, but if you read into Marlin firmware updating and setting up the config file and if you have some interest in computers, coding and unloading over USB or through MicroSD card you should be able to do this. There are lots of movies that explain step-by-step what to do. You only need some basic information on your printer and the electronics. There are questions here but you may always ask yours and we will help you or direct to previous answers!  
> **username_0**: Sure, I'm a system engineer, I know how to write code, but I never before had been the chance to study marlin, I would wish to change some things, but I will try to get the firmware made by the person who assemble the machine, then, I could start to test new marlin firmware update.  

---

