--- tag: m0154 title: Position Auto-Report brief: Periodically auto-report position to serial author: thinkyhead since: 2.0.8.1 requires: AUTO_REPORT_POSITION group: hosts codes: [ M154 ] related: M114 notes: - Requires `AUTO_REPORT_POSITION`. - 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 current position every 4 seconds code: M154 S4 - pre: Stop reporting position code: M154 S0 --- Some host software and serial controllers use `M114` to get the current position, but polling with [`M114`](/docs/gcode/M114.html) is less than optimal, and in older versions of Marlin it would cause print stuttering. With `M154` hosts can simply set an interval and Marlin will keep sending reports automatically. This method is preferred over polling with [`M114`](/docs/gcode/M114.html).