3D printer G-code · Marlin and Klipper

M114: Report position (Marlin & Klipper)

Report position — Answers with the current X, Y, Z and E position.

By cnccode · Updated
On this page
  1. What does M114 do?
  2. Example
  3. Related commands
  4. More status commands
  5. Frequently asked questions
PropertyValue
CommandM114
FunctionReport position
FirmwareMarlin and Klipper
GroupStatus
SyntaxM114

What does M114 do?

Answers with the current X, Y, Z and E position.

Example

G-code
M114

The command works in Marlin and Klipper. Options can differ: Klipper accepts fewer parameters for some M-codes and ignores codes it does not know with an "Unknown command" error.

More status commands

CommandFunctionFirmware
M155Temperature auto reportMarlin
M105Report temperaturesMarlin and Klipper
M117Display messageMarlin and Klipper
M73Set print progressMarlin and Klipper
M119Endstop statesMarlin
M300BeepMarlin

Test it before you print

Paste your start code or a whole file into the 3D printer simulator. It plans every move, shows the time and finds missing waits, cold extrusion and moves outside the bed.

Open the simulator

Frequently asked questions

What does M114 do on a 3D printer?
M114 is report position. Answers with the current X, Y, Z and E position.
Does M114 work in Klipper and Marlin?
Yes, both firmwares understand M114.
Was this page helpful?