flexi-bot/docs/marlin/_gcode/M155.md
2023-09-05 20:38:49 +02:00

38 lines
1.0 KiB
Markdown

---
tag: m0155
title: Temperature Auto-Report
brief: Auto-report temperatures to host periodically.
author: thinkyhead
requires: AUTO_REPORT_TEMPERATURES,EXTENDED_CAPABILITIES_REPORT
group: hosts
codes: [ M155 ]
related: M105
notes:
- Requires `AUTO_REPORT_TEMPERATURES`.
- Also enable `EXTENDED_CAPABILITIES_REPORT` to notify hosts about this capability.
parameters:
-
tag: S
optional: true
description: Interval in seconds between auto-reports. `S0` to disable.
values:
-
tag: seconds
type: int
examples:
-
pre: Report temperatures every 4 seconds
code: M155 S4
-
pre: Stop reporting temperatures
code: M155 S0
---
It can be useful for host software to track temperatures, display and graph them over time, but polling with [`M105`](/docs/gcode/M105.html) is less than optimal. With [`M155`](/docs/gcode/M155.html) hosts simply set an interval and Marlin will keep sending data automatically. This method is preferred over polling with [`M105`](/docs/gcode/M105.html).