-
Notifications
You must be signed in to change notification settings - Fork 0
M110
DO NOT EDIT THIS PAGE. The wiki is being ported to a new documentation system.
Please see Issue #3088 "New Documentation" for more information.
Set the current Line Number.
N500 M110 ; Set the Line Number to 500 (short form, checksum required) N123 M110 N500 ; Set the Line Number to 500 (long form, checksum required) M110 N500 ; Set the Line Number to 500 (short form, no checksum required)
N<num> The new Line Number
If no arguments are given, the Line Number will be set to the Line Number in the N prefix.
Commands sent by host software during a printing session can optionally include a line number and a checksum that Marlin will check for validity. This allows hosts to catch communication errors and retry commands that don't get through. Usually the Line Number starts at 1 and continues sequentially, but if a host is resuming a print job or combining jobs it could start or continue at any point in the sequence. This command allows the Line Number to be set to a new value in such cases.
- Marlin 1.0.2 and earlier do not support the long form of this command.
- The short form of this command is a Marlin-specific feature.
- If hosts use either the
N500 M110orN123 M110 N500form they must also include the*checksum.
Welcome to Marlin
Setting Up Marlin
Features
Configuring Marlin
Reference
GCode in Marlin
Join the Marlin Project
Contributing to Marlin
Coding Standards
Marlin or MarlinDev?
Marlin Branches
Marlin 1.2 Development
Compiling-MarlinDEV-master