# Move out of range: 37.259 -49.197 1.000 \[0.000\]

**URL:** <https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354>\
**Category:** General Discussion\
**Created:** [May 12, 2023, 5:37pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354 "2023-05-12T17:37:13Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmedbadran](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@ahmedbadran](https://klipper.discourse.group/u/ahmedbadran)\
**Post date:** [May 12, 2023, 5:37pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/1 "2023-05-12T17:37:13Z")

</div>

### Basic Information:

Printer Model: Ender 3 V2  
 MCU / Printerboard:4.2.2  
 `klippy.log [klippy (4).log|attachment](upload://8F3T2jKc1A432rpNoF0k6Gk7T2y.log) (526.0 KB) `

_Fill out above information and_ **_in all cases attach your_ `klippy.log` _file_**. _Pasting your_ `printer.cfg` _is **not** needed_  
_**Be sure to check our [Knowledge Base](https://klipper.discourse.group/t/about-the-knowledge-base-category-table-of-contents/6228) and in particular [this](https://klipper.discourse.group/t/how-to-trouble-shoot/6326) and [this](https://klipper.discourse.group/t/how-to-ask-for-help/6327) post**_

my problem this Messege (Unknown command:“M302” )&(Move out of range: 37.259 -49.197 1.000 )

### Describe your issue:

…I have modified my printer to print clay … so i need to use cold extrusion  
So i used in my start machine setting in the slicer the following:  
; Ender 3 Custom Start G-code

M302 P1 …N.B" i tried also P0"

G92 E0 ; Reset Extruder

G28 ; Home all axes

G92 E0 ; Reset Extruder

G1 Z2.0 F3000 ; Move Z Axis up little to prevent scratching of Heat Bed

G1 X5 Y20 Z0.3 F5000.0 ; Move over to prevent blob squish

… and in the end setting  
M302 P0

G91 ;Relative positioning

G1 E-2 F2700 ;Retract and raise Z

G1 E-2 Z0.2 F2400 ;Retract and raise Z

G1 X5 Y5 F3000 ;Wipe out

G1 Z10 ;Rate Z more

G90 ;Absolute positioning

G1 X0 Y{machine\_depth} ;present print

M106 S0 ;Turn-off fan

M104 S0 ;Turn-off hotend

M140 S0 ;Turn-off bed

I got the unknown command M302!! … i need to cancel all Temp .. the bed and extrude temp permantly  
any help

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [May 12, 2023, 9:52pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/2 "2023-05-12T21:52:12Z")

</div>

M302 is not a known GCODE for Klipper.

You basically have two options:

1. Set respective limits:

```auto
min_temp=-273.15 
min_extrude_temp=-273.15
max_temp=99999999

```

2. Wire a thermistor and simply let it measure room temperature and set appropriate limits.

For the other error see [Move out of range: X Y Z [E]](https://klipper.discourse.group/t/move-out-of-range-x-y-z-e/6637/1)  
Most likely due to a mixup between `G90` / `G91`. I’d recommend to work with `G90` and always give coordinates as absolute in relation to your 0/0 origin.  
`G91` is incremental / relative, this means always moves from your current position and as such easily creates such errors. In your case most likely the Y axis with a commanded target of -49

---

<div class="post-metadata">

**Author:** ![ahmedbadran](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@ahmedbadran](https://klipper.discourse.group/u/ahmedbadran)\
**Post date:** [May 15, 2023, 4:33pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/3 "2023-05-15T16:33:49Z")

</div>

Hello Bro how are  
As i mentioned earlier … that … know i’ve modified my Ender 3V2 to print Clay … so i don’t need heaters or hotend or sensors or even fan !!  
So i have removed its cables  
🙂 So it gave my the following error  
"Klipper reports: SHUTDOWN

MCU ‘mcu’ shutdown: ADC out of range  
This generally occurs when a heater temperature exceeds  
its configured min\_temp or max\_temp.  
Once the underlying issue is corrected, use the  
“FIRMWARE\_RESTART” command to reset the firmware, reload the  
config, and restart the host software.  
Printer is shutdown"  
Can u help my in this modification

---

<div class="post-metadata">

**Author:** ![hcet14](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@hcet14](https://klipper.discourse.group/u/hcet14)\
**Post date:** [May 15, 2023, 4:47pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/4 "2023-05-15T16:47:39Z")

</div>

> [@ahmedbadran](#):
>
> I have modified my printer to print clay

cool 👌

Your klippy.log might help.

Good luck, hcet14

---

<div class="post-metadata">

**Author:** ![ahmedbadran](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@ahmedbadran](https://klipper.discourse.group/u/ahmedbadran)\
**Post date:** [May 15, 2023, 4:50pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/5 "2023-05-15T16:50:52Z")

</div>

[klippy (6).log](https://klipper.discourse.group/uploads/short-url/yuDRGQANJmo6LSnvKJCa3GqaDPG.log) (158.3 KB)  
Sorry … here the log attached …

---

<div class="post-metadata">

**Author:** ![hcet14](https://avatars.discourse-cdn.com/v4/letter/h/ecd19e/32.png) [@hcet14](https://klipper.discourse.group/u/hcet14)\
**Post date:** [May 15, 2023, 5:14pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/6 "2023-05-15T17:14:19Z")

</div>

> [@ahmedbadran](#):
>
> So i have removed its cables

Connect all connectors back!

Then you have to tell Klipper the margins you expect. You are printing clay =\> no need for a hot bed, etc… There is only one way. Read the very good documentation and set the right margins for your clay print.

---

<div class="post-metadata">

**Author:** ![ahmedbadran](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@ahmedbadran](https://klipper.discourse.group/u/ahmedbadran)\
**Post date:** [May 15, 2023, 5:15pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/7 "2023-05-15T17:15:40Z")

</div>

i have Removed all following cabels ( thermo. sensor, Hotend, the 2 fans )  
Also in the sliced file i have to modify with same reading in MainSail in my case was -43  
( What i modifed in the file was the following lines  
\*;nozzle\_temperature(°C): -43  
M104 S-43  
M105  
M109 S-43)  
… I believe this will solve the first issue

---

<div class="post-metadata">

**Author:** ![ahmedbadran](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@ahmedbadran](https://klipper.discourse.group/u/ahmedbadran)\
**Post date:** [May 15, 2023, 5:18pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/8 "2023-05-15T17:18:49Z")

</div>

Regarding the Move out of range: X Y Z [E]  
i didn’t get your point … ill attach file i want to print in GCODE and klippy.log  
[2mmCE3E3V2\_viktoria\_with\_turner\_logo.gcode](https://klipper.discourse.group/uploads/short-url/wDXWaxzS8YpmyS3T2PgCedWJjvD.gcode) (1.4 MB)  
[klippy (6).log](https://klipper.discourse.group/uploads/short-url/yuDRGQANJmo6LSnvKJCa3GqaDPG.log) (158.3 KB)

---

<div class="post-metadata">

**Author:** ![ahmedbadran](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@ahmedbadran](https://klipper.discourse.group/u/ahmedbadran)\
**Post date:** [May 15, 2023, 5:21pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/9 "2023-05-15T17:21:27Z")

</div>

Thnx for you kind help and time Bro … But i believe i have solved the Temp Issue as i mentioned above … thanks again … realy appreciate your support

---

<div class="post-metadata">

**Author:** ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)\
**Post date:** [May 15, 2023, 6:19pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/10 "2023-05-15T18:19:04Z")

</div>

Your gcode file looks strange:

```auto
G0 F6000 X37.259 Y-49.197 Z1
;TYPE:SKIRT
G1 F1200 X38.172 Y-49.185 E0.28626

```

It tries to move to a Y position of -49. Your printer is defined as printing area between 0 and +235. Seems your slicer is messed up.

---

<div class="post-metadata">

**Author:** ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)\
**Post date:** [May 15, 2023, 6:20pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/11 "2023-05-15T18:20:49Z")

</div>

Obviously set the origin to the middle of the bed.

---

<div class="post-metadata">

**Author:** ![ahmedbadran](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@ahmedbadran](https://klipper.discourse.group/u/ahmedbadran)\
**Post date:** [May 21, 2023, 1:19pm UTC](https://klipper.discourse.group/t/move-out-of-range-37-259-49-197-1-000-0-000/8354/12 "2023-05-21T13:19:01Z")

</div>

Both you and Sineos are right … except that it was marked the origin in the middel of the bed … so i removed its selection … and the slicer works fine NOW!!!  
Thnx Buddies
