Klipper · Homing and limits

Klipper: Move out of range: X Y Z [E]

Most often: file sliced for a larger bed. First step: check the start and end code coordinates against the bed size.

By cnccode · Updated
On this page
  1. What it means
  2. Common causes
  3. How to clear it
  4. Example
  5. Tools that help
  6. Related codes
  7. Same group: homing and limits
  8. Frequently asked questions

What it means

A move in the G-code goes past position_min or position_max of an axis. Klipper refuses it and stops the print.

Common causes

  • File sliced for a larger bed
  • Purge line or park position outside the bed in the start or end code
  • Wrong position_max in printer.cfg
  • SET_GCODE_OFFSET or a mesh pushing Z below position_min

How to clear it

  1. Check the start and end code coordinates against the bed size
  2. Open the file in the 3D printer simulator: it shows moves outside the volume
  3. Check position_min / position_max in printer.cfg

Example

Gives the alarm
G1 X260 Y5 F3000 ; bed is 235 mm
Correct
G1 X230 Y5 F3000

Before you continue: Before you move the axis, look at the tool, the part and the direction. Use a low override and keep one hand on feed hold. A wrong direction makes a small alarm a big repair.

Tools that help

Same group: homing and limits

Messages of Marlin 2.1 and current Klipper. The exact wording can differ a little between versions and printer brands that change the firmware. Marlin and Klipper are open-source projects; this site is independent.

The error comes back?

Post your printer, firmware version, the full message and the start code.

Ask the community

Frequently asked questions

What does Klipper "Move out of range: X Y Z [E]" mean?
A move in the G-code goes past position_min or position_max of an axis. Klipper refuses it and stops the print.
How do I fix Klipper "Move out of range: X Y Z [E]"?
Check the start and end code coordinates against the bed size. Open the file in the 3D printer simulator: it shows moves outside the volume. Check position_min / position_max in printer.cfg.
Was this page helpful?