---
tag: m0085
title: Inactivity Shutdown
brief: Set the inactivity timeout.
author: thinkyhead

group: control

codes: [ M85 ]

parameters:

- tag: S
  optional: false
  description: Max inactive seconds
  values:
  - tag: seconds
    type: int

example:
- pre: Shut down the machine after 10 minutes with no activity
  code: M85 S600

---

Use this command to set a maximum period of time for the machine to be inactive (with no moves). If the machine is idle for longer than the set period, the firmware will shut everything down and halt the machine.
