Rotrics Manual
ROTRICS.COMDownload CenterGet Help in ForumSubmit a Ticket
English
English
  • Rotrics DexArm User Manual V1.2
  • ✨Getting Started
    • 🎮Hands-on Guide
    • 🎨Writing/Drawing
      • Generate G-code with third-party software
    • 🎇Laser Engraving
      • ❗Important - Safety Guideline
    • 🛸3D Printing
      • Generate 3D Printing G-code with Cura
    • 🦾Teach & Pneumatic
    • 📷Computer Vision
    • 🔄Rotary Module
    • Sliding Rail Kit
      • Sliding Rail Kit Installation Guide
    • Conveyor Belt Kit
      • Conveyor Belt Kit Installation Guide
  • 💻Product Overview
    • 🗺️Product Overview
    • 💾Software - Rotrics Studio
    • 🍴Accessories
      • Touchscreen
  • 🔧FAQ & Troubleshooting
    • ❓FAQs
      • Received an Error message in Rotrics Studio?
      • How to toggle developer tools on Rotrics Studio
      • How to re-calibrated DexArm or reset encoder values?
      • How to upgrade DexArm's firmware?
      • How to upgrade the touchscreen firmware?
      • How to send third-party G-code files with Rotrics Studio?
      • How to replace filament?
      • How to set Wi-Fi?
      • How to change touchscreen language?
      • How to execute SD card files?
      • Why can't I copy G-code files to the Touchscreen directly?
      • How to write/draw with different colors?
      • Why it misses part of the image when drawing?
      • How to level DexArm manually?
      • Why my 3D printing module is clogged?
    • 🔑Troubleshooting
      • “G-code sending task started...” Error
      • Laser module won't light
      • Rotrics Studio "Internal error occurred"
      • Failed to upgrade Rotrics DexArm's Firmware
      • Fix the clogged 3D printing nozzle
      • Replace the cracked case
      • How to Fix a Black Screen after upgrading the firmware?
      • DexArm couldn't connect to my computer
      • DexArm beyond limits/stuck problem
      • DexArm movement accuracy problem
      • The pen doesn't write with ink
      • 3D printing module won't heat up
      • The Arm doesn't move, only filament comes out
      • Software connect problem after safety enclosure installed
      • Safety enclosure wiring changes
  • ⌨API(G-code)
    • Introduction
    • Marlin Original Commands
      • [Marlin] G000-G001 - Linear Move
      • [Marlin] G002-G003 - Arc or Circle Move
      • [Marlin] G004 - Dwell
      • [Marlin] G020 - Inch Units
      • [Marlin] G021 - Millimeter Units
      • [Marlin] G028 - Home and StallGuard
      • [Marlin] G029 - Bed Leveling Manual
      • [Marlin] G090 - Absolute Positioning
      • [Marlin] G091- Relative Positioning
      • [Marlin] G092 - Set Position
      • [Marlin] M003 - Laser On
      • [Marlin] M005 - Laser Off
      • [Marlin] M082 - E Absolute
      • [Marlin] M083 - E Relative
      • [Marlin] M092 - Set Axis Steps-per-unit
      • [Marlin] M104 - Set Hotend Temperature
      • [Marlin] M105 - Report Temperatures
      • [Marlin] M106 - Set Fan Speed
      • [Marlin] M107 - Fan Off
      • [Marlin] M108 - Break and Continue
      • [Marlin] M109 - Wait for Hotend Temperature
      • [Marlin] M114 - Get Current Position
      • [Marlin] M200 - Set Filament Diameter
      • [Marlin] M201 - Set Print Max Acceleration
      • [Marlin] M203 - Set Max Feedrate
      • [Marlin] M204 - Set Starting Acceleration
      • [Marlin] M205 - Set Advanced Settings
      • [Marlin] M400 - Finish Moves
      • [Marlin] M410 - Quickstop
      • [Marlin] M420 - Bed Leveling State
      • [Marlin] M500 - Save Settings
      • [Marlin] M501 - Restore Settings
      • [Marlin] M502 - Factory Reset
      • [Marlin] M503 - Report Settings
      • [Marlin] M504 - Validate EEPROM contents
      • [Marlin] M906 - TMC Motor Current
Powered by GitBook
On this page
  • Description
  • Notes
  • Usage
  • Parameters
  • Examples

Was this helpful?

  1. ⌨API(G-code)
  2. Marlin Original Commands

[Marlin] M420 - Bed Leveling State

📅Update: 2020/10/13

Description

Get and/or set bed leveling state. For mesh-based leveling systems use Z parameter to set the Z Fade Height.

Notes

The "current position" may change in response to M420 Sn.

Usage

M420 [S<bool>] [V<bool>] [Z<linear>]

Parameters

  • [S<bool>] Set enabled or disabled. A valid mesh is required to enable bed leveling. If the mesh is invalid / incomplete leveling will not be enabled.

  • [V<bool>] Verbose: Print the stored mesh / matrix data

  • [Z<linear>] Set Z fade height (Requires ENABLE_LEVELING_FADE_HEIGHT)

    • With Fade enabled, bed leveling correction is gradually reduced as the nozzle gets closer to the Fade height. Above the Fade height no bed leveling compensation is applied at all, so movement is machine true.

    • Set to 0 to disable fade, and leveling compensation will be fully applied to all layers of the print.

Examples

Enable bed leveling:

M420 S1

Disable bed leveling:

M420 S0

Print the stored mesh/matrix data

M420 V
Previous[Marlin] M410 - QuickstopNext[Marlin] M500 - Save Settings

Last updated 4 years ago

Was this helpful?