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

32 lines
665 B
Markdown

---
tag: m0211
title: Software Endstops
brief: Set and/or get the software endstops state
author: thinkyhead
requires: (MIN|MAX)_SOFTWARE_ENDSTOPS
group: motion
codes: [ M211 ]
notes:
- Requires either `MIN_SOFTWARE_ENDSTOPS` or `MAX_SOFTWARE_ENDSTOPS` for the enable option.
parameters:
-
tag: S
optional: true
description: Software endstops state (S1=enable S0=disable)
values:
-
tag: flag
type: bool
examples:
---
Optionally enable/disable software endstops, then report the current state.
With software endstops enabled, moves will be clipped to the physical boundaries from `[XYZ]_MIN_POS` to `[XYZ]_MAX_POS`.