3D printer G-code · Marlin

M155: Temperature auto report (Marlin)

Temperature auto report — Makes the firmware send the temperatures every few seconds without being asked. Host software such as OctoPrint uses it.

By cnccode · Updated
On this page
  1. What does M155 do?
  2. Parameters
  3. Example
  4. Related commands
  5. More status commands
  6. Frequently asked questions
PropertyValue
CommandM155
FunctionTemperature auto report
FirmwareMarlin
GroupStatus
SyntaxM155 S<seconds>

What does M155 do?

Makes the firmware send the temperatures every few seconds without being asked. Host software such as OctoPrint uses it.

Parameters

ParameterMeaning
SInterval in seconds, 0 = off

Example

G-code
M155 S2

Marlin. Many Marlin commands only exist when the feature is enabled in the firmware build. If the printer answers "Unknown command", the feature is missing. Klipper does not understand most of these settings codes; it uses printer.cfg instead.

More status commands

CommandFunctionFirmware
M105Report temperaturesMarlin and Klipper
M117Display messageMarlin and Klipper
M73Set print progressMarlin and Klipper
M114Report positionMarlin 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 M155 do on a 3D printer?
M155 is temperature auto report. Makes the firmware send the temperatures every few seconds without being asked. Host software such as OctoPrint uses it.
Does M155 work in Klipper and Marlin?
M155 is a Marlin command. Klipper uses its own commands and printer.cfg settings for this task.
Was this page helpful?