<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									G-Code - LocalAd.com ForumLA Forum				            </title>
            <link>https://localad.cc/community/g-codes/</link>
            <description>LocalAd.com ForumLA Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 03 Aug 2026 12:56:12 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>codes</title>
                        <link>https://localad.cc/community/g-codes/codes/</link>
                        <pubDate>Sun, 10 Oct 2021 17:03:31 +0000</pubDate>
                        <description><![CDATA[G-commands

 

G0 &amp; G1: Move

G0: Rapid move
G1: Controlled *(linear) move
 

G2 &amp; G3: Controlled Arc Move

G2: Clockwise arc move
G3: Counter-clockwise arc move
 

G...]]></description>
                        <content:encoded><![CDATA[<div class="headerContainer">
<h2 id="Section_G_commands" class="header">G-commands</h2>
</div>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G0_G1_Move" class="header">G0 &amp; G1: Move</h5>
</div>
<p><strong><a href="https://duet3d.dozuki.com/Wiki/G0">G0</a></strong>: Rapid move</p>
<p><strong><a href="https://duet3d.dozuki.com/Wiki/G1">G1</a></strong>: Controlled *(linear) move</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G2_G3_Controlled_Arc_Move" class="header">G2 &amp; G3: Controlled Arc Move</h5>
</div>
<p><strong><a href="https://duet3d.dozuki.com/Wiki/G2">G2</a></strong>: Clockwise arc move</p>
<p><strong><a href="https://duet3d.dozuki.com/Wiki/G3">G3</a></strong>: Counter-clockwise arc move</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G4_Dwell" class="header">G4: Dwell</h5>
</div>
<p><strong><a href="https://duet3d.dozuki.com/Wiki/G4">G4</a></strong>: Pause the machine for a period of time, in milliseconds or seconds</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G10_Tool_Temperature_Setting" class="header">G10: Tool Temperature Setting</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G10">G10</a>: (P parameter with R or S parameter) Sets active and standby tool temperatures</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G10_Set_workplace_coordinate_offset_or_tool_offset" class="header">G10: Set workplace coordinate offset or tool offset</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G10">G10</a>: (XYZUVWABC and L parameters) Sets tool offset or coordinate system origin (absolute or relative current position) for specific tool</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G10_Retract" class="header">G10: Retract</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G10">G10</a>: (no parameters) Retracts filament then performs any zlift/hop according to settings of M207</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G11_Unretract" class="header">G11: Unretract</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G11">G11</a>: Unretracts/recovers filament after undoing any zlift/hop according to settings of M207</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G17_Select_XY_plane_for_arc_moves" class="header">G17: Select XY plane for arc moves</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G17">G17</a>: Sets XY as the active plane for interpreting the tool path of an arc (G2 or G3)</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G18_Select_XZ_plane_for_arc_moves" class="header">G18: Select XZ plane for arc moves</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G18">G18</a>: Sets XZ as the active plane for interpreting the tool path of an arc (G2 or G3)</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G19_Select_YZ_plane_for_arc_moves" class="header">G19: Select YZ plane for arc moves</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G19">G19</a>: Sets YZ as the active plane for interpreting the tool path of an arc (G2 or G3)</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G20_Set_Units_to_Inches" class="header">G20: Set Units to Inches</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G20">G20</a>: Units from this command onwards are in inches</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G21_Set_Units_to_Millimeters" class="header">G21: Set Units to Millimeters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G21">G21</a>: Units from this command onwards are in millimeters</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G28_Home" class="header">G28: Home</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G28">G28</a>: Move all axes, or the specified ones, to establish a known position for them, for example by moving an axis motor until an endstop switch is triggered</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G29_Mesh_bed_probe" class="header">G29: Mesh bed probe</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G29">G29</a>: Uses a Z probe to measure the bed height at 4 or more points to determine its tilt and overall flatness, then enables mesh compensation so that the nozzle will remain parallel to the bed</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G30_Single_Z_Probe" class="header">G30: Single Z-Probe</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G30">G30</a>: Uses a Z probe to measure bed height at a single point</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G31_Set_or_Report_Current_Probe_status" class="header">G31: Set or Report Current Probe status</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G31">G31</a>: Sets Z probe parameters or reports status</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G32_Run_bed_g_macro" class="header">G32: Run bed.g macro</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G32">G32</a>: Runs macro file bed.g. This macro can be used to probe the bed and then perform auto calibration of a delta printer, perform bed levelling by moving the Z leadscrews independently, or display the manual corrections needed to the bed levelling screws.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G38_2_to_G38_5_Straight_Probe" class="header">G38.2 to G38.5: Straight Probe</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G38.2">G38.2</a>: Probe toward workpiece, stop on contact, signal error if failure</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G38.3">G38.3</a>: Probe toward workpiece, stop on contact</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G38.4">G38.4</a>: Probe away from workpiece, stop on loss of contact, signal error if failure</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G38.5">G38.5</a>: Probe away from workpiece, stop on loss of contact</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G53_Use_machine_coordinates" class="header">G53: Use machine coordinates</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G53">G53</a>: Causes all coordinates in movement commands on the remainder of the current line of GCode to be interpreted as machine coordinates, ignoring any coordinate offset of the workplace coordinate system currently in use, and also ignoring any tool offsets</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G54_to_G59_3_Select_coordinate_system" class="header">G54 to G59.3: Select coordinate system</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G54">G54</a>: selects coordinate system 1</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G55">G55</a>: selects coordinate system 2</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G56">G56</a>: selects coordinate system 3</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G57">G57</a>: selects coordinate system 4</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G58">G58</a>: selects coordinate system 5</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G59">G59</a>: selects coordinate system 6</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G59.1">G59.1</a>: selects coordinate system 7</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G59.2">G59.2</a>: selects coordinate system 8</p>
<p><a href="https://duet3d.dozuki.com/Wiki/G59.3">G59.3</a>: selects coordinate system 9</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G60_Save_current_position_to_slot" class="header">G60: Save current position to slot</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G60">G60</a>: Saves current position to slots 0, 1 or 2</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G90_Set_to_Absolute_Positioning" class="header">G90: Set to Absolute Positioning</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G90">G90</a>: All coordinates from this command onwards are absolute, relative to the origin of the machine</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G91_Set_to_Relative_Positioning" class="header">G91: Set to Relative Positioning</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G91">G91</a>: All coordinates from this command onwards are relative to the last position.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_G92_Set_Position" class="header">G92: Set Position</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/G92">G92</a>: Sets position of axes by manually specifying values for the axis positions</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h2 id="Section_M_commands" class="header">M-commands</h2>
</div>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M0_Stop_or_Unconditional_stop" class="header">M0: Stop or Unconditional stop</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M0">M0</a>: After finishing any moves left in buffer, runs either cancel.g or stop.g, then sets motors to idle and turns heaters off (unless specified not to)</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M1_Sleep_or_Conditional_stop" class="header">M1: Sleep or Conditional stop</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M1">M1</a>: After finishing any moves left in buffer, runs either cancel.g or sleep.g, then turns off all motors and heaters</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M3_Spindle_On_Clockwise_CNC_specific_Laser_on_Laser_specific" class="header">M3: Spindle On, Clockwise (CNC specific)/ Laser on (Laser specific)</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M3">M3</a>: In CNC mode turns on spindle clockwise, in Laser mode turns on laser power</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M4_Spindle_On_Counterclockwise_CNC_specific" class="header">M4: Spindle On, Counterclockwise (CNC specific)</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M4">M4</a>: Turns on spindle counterclockwise</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M5_Spindle_Off_CNC_specific_laser_off_Laser_specific" class="header">M5: Spindle Off (CNC specific), laser off (Laser specific)</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M5">M5</a>: In CNC mode turns off spindle, in Laser mode turns off laser power</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M17_Enable_all_stepper_motors" class="header">M17: Enable all stepper motors</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M17">M17</a>: Enables all stepper motors when used without parameters, or use axes parameters to enable selectively</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M18_Disable_all_stepper_motors" class="header">M18: Disable all stepper motors</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M18">M18</a>: Disables all stepper motors when used without parameters, or use axes parameters to enable selectively</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M20_List_SD_card" class="header">M20: List SD card</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M20">M20</a>: Lists files on the SD card. Use parameters to list files in subdirectories or on secondary SD card</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M21_Initialize_SD_card" class="header">M21: Initialize SD card</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M21">M21</a>: The specified SD card is initialized. If an SD card is loaded when the machine is switched on, this will happen by default. SD card must be initialized for the other SD functions to work.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M22_Release_SD_card" class="header">M22: Release SD card</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M22">M22</a>: The specified SD card is released, so further (accidental) attempts to read from it are guaranteed to fail. Helpful, but not mandatory before removing the card physically.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M23_Select_SD_file" class="header">M23: Select SD file</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M23">M23</a>: The specified file is selected ready for printing.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M24_Start_resume_SD_print" class="header">M24: Start/resume SD print</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M24">M24</a>: The machine prints from the file selected with the M23 command. If the print was previously paused with M25, printing is resumed from that point.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M25_Pause_SD_print" class="header">M25: Pause SD print</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M25">M25</a>: The machine pauses printing at the current position within the file.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M26_Set_SD_position" class="header">M26: Set SD position</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M26">M26</a>: Set the file offset in bytes from the start of the SD card file selected by M23.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M27_Report_SD_print_status" class="header">M27: Report SD print status</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M27">M27</a>: Reports the number of bytes processed in the format bytes processed / bytes total in file</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M28_Begin_write_to_SD_card" class="header">M28: Begin write to SD card</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M28">M28</a>: The specified file is created (or overwritten if it exists) on the SD card and all subsequent commands sent to the machine are written to that file.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M29_Stop_writing_to_SD_card" class="header">M29: Stop writing to SD card</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M29">M29</a>: File opened by M28 command is closed, and all subsequent commands sent to the machine are executed as normal.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M30_Delete_a_file_on_the_SD_card" class="header">M30: Delete a file on the SD card</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M30">M30</a>: The specified file is deleted.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M32_Select_file_and_start_SD_print" class="header">M32: Select file and start SD print</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M32">M32</a>: The specified file is selected from the SD card and starts printing. Does the same as M23 and M24.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M36_Return_file_information" class="header">M36: Return file information</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M36">M36</a>: Returns information for the specified SD card file in JSON format.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M37_Simulation_mode" class="header">M37: Simulation mode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M37">M37</a>: Enters/leaves simulation mode, or runs the specified file in simulation mode allows the electronics to compute an accurate printing time, taking into account the maximum speeds, accelerations etc. that are configured.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M38_Compute_SHA1_hash_of_target_file" class="header">M38: Compute SHA1 hash of target file</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M38">M38</a>: Used to compute a hash of a file on the SD card and returns a hexadecimal string which is the SHA1 of the file.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M39_Report_SD_card_information" class="header">M39: Report SD card information</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M39">M39</a>: Returns information about the SD card in the specified slot in the requested format.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M42_Switch_I_O_pin" class="header">M42: Switch I/O pin</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M42">M42</a>: Switches a general purpose I/O pin.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M73_Set_remaining_print_time" class="header">M73: Set remaining print time</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M73">M73</a>: Generated by some slicers to inform the firmware about the state of the print so that it can provide a better estimate of the remaining print time.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M80_ATX_Power_On" class="header">M80: ATX Power On</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M80">M80</a>: Turns on the ATX power supply from standby mode to fully operational mode using the power supply control pin on the External 5V header.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M81_ATX_Power_Off" class="header">M81: ATX Power Off</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M81">M81</a>: Turns off the ATX power supply. Counterpart to M80.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M82_Set_extruder_to_absolute_mode" class="header">M82: Set extruder to absolute mode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M82">M82</a>: Makes the extruder interpret extrusion as absolute positions.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M83_Set_extruder_to_relative_mode" class="header">M83: Set extruder to relative mode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M83">M83</a>: Makes the extruder interpret extrusion values as relative positions.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M84_Stop_idle_hold" class="header">M84: Stop idle hold</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M84">M84</a>: Stop the stepper motor idle hold on all axes and extruder.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M92_Set_axis_steps_per_unit" class="header">M92: Set axis steps per unit</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M92">M92</a>: Allows programming of steps per mm for motor drives.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M98_Call_Macro_Subprogram" class="header">M98: Call Macro/Subprogram</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M98">M98</a>: Runs the macro in the specified file.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M99_Return_from_Macro_Subprogram" class="header">M99: Return from Macro/Subprogram</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M99">M99</a>: Returns from an M98 call. This is not required to return from the end of a macro and the macro naturally returns at the end of file.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M101_Un_retract_filament" class="header">M101: Un-retract filament</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M101">M101</a>: Same behaviour as G11 (unretract). Supported for compatibility with Simplify3D.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M102_Turn_extruder_on_ignored" class="header">M102: Turn extruder on (ignored)</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M102">M102</a>: Command ignored as it is unnecessary in RRF. Supported for compatibility with Simplify3D.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M103_Retract_filament" class="header">M103: Retract filament</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M103">M103</a>: Same behaviour as G10 without parameters (retract). Supported for compatibility with Simplify3D.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M104_Set_Extruder_Temperature" class="header">M104: Set Extruder Temperature</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M104">M104</a>: Sets the active and standby temperature of the current or specified tool to the temperature specified, and returns control to the host immediately (i.e. before that temperature has been reached by the extruder).</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M105_Get_Extruder_Temperature" class="header">M105: Get Extruder Temperature</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M105">M105</a>: Reports the current and target temperatures of all active heaters.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M106_Fan_On" class="header">M106: Fan On</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M106">M106</a>: Sets fan parameters and turns them on and off.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M107_Fan_Off" class="header">M107: Fan Off</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M107">M107</a>: Deprecated in RepRapFirmware. Use M106 S0 instead.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M108_Cancel_Heating" class="header">M108: Cancel Heating</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M108">M108</a>: Breaks out of an M109 or M190 wait-for-temperature loop, continuing the print job.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M109_Set_Extruder_Temperature_and_Wait" class="header">M109: Set Extruder Temperature and Wait</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M109">M109</a>: Sets extruder temperature and waits until within 2.5°C of target.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M110_Set_Current_Line_Number" class="header">M110: Set Current Line Number</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M110">M110</a>: Sets the current line number in the running Gcode file.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M111_Set_Debug_Level" class="header">M111: Set Debug Level</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M111">M111</a>: Enables or disables debugging features, for the module number specified by the P parameter.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M112_Emergency_Stop" class="header">M112: Emergency Stop</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M112">M112</a>: Any moves in progress are immediately terminated, then RepRap shuts down. All motors and heaters are turned off. It can be started again by pressing the reset button or power cycling the board.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M114_Get_Current_Position" class="header">M114: Get Current Position</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M114">M114</a>: Reports the X, Y, Z and E (and U, V, W, A, B, C if configured) coordinates to the host. The coordinates reported are those at the end of the last completed move.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M115_Get_Firmware_Version_and_Capabilities" class="header">M115: Get Firmware Version and Capabilities</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M115">M115</a>: Request the Firmware Version and Capabilities of the current microcontroller.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M116_Wait" class="header">M116: Wait</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M116">M116</a>: waits for all temperatures, or a specified tool or heater's temperature, and other slowly-changing variables to arrive at their set values.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M117_Display_Message" class="header">M117: Display Message</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M117">M117</a>: Causes the given message to be shown in the status line on an attached LCD or if no LCD is attached, this message will be reported on the web interface.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M118_Send_Message_to_Specific_Target" class="header">M118: Send Message to Specific Target</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M118">M118</a>: Used to send messages to a specific target: USB, PanelDue/UART, HTTP or Telnet</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M119_Get_Endstop_Status" class="header">M119: Get Endstop Status</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M119">M119</a>: Returns the current state of the configured endstops.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M120_Push" class="header">M120: Push</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M120">M120</a>: Push the state of the machine onto a stack. Called automatically when a macro file is run.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M121_Pop" class="header">M121: Pop</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M121">M121</a>: Recover the last state pushed onto the stack.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M122_Diagnose" class="header">M122: Diagnose</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M122">M122</a>: Reports firmware diagnostic information.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M135_Set_PID_sample_interval" class="header">M135: Set PID sample interval</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M135">M135</a>: Deprecated. Sets the PID to measure temperatures and calculate the power to send to the heaters</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M140_Set_Bed_Temperature_Fast_or_Configure_Bed_Heater" class="header">M140: Set Bed Temperature (Fast) or Configure Bed Heater</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M140">M140</a>: Configures heaters as bed heaters and sets active and standby temperatures, turns heaters on and returns control to the host immediately.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M141_Set_Chamber_Temperature_Fast_or_Configure_Chamber_Heater" class="header">M141: Set Chamber Temperature (Fast) or Configure Chamber Heater</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M141">M141</a>: Configures heaters as chamber heaters and sets active and standby temperatures, turns heaters on and returns control to the host immediately.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M143_Maximum_heater_temperature" class="header">M143: Maximum heater temperature</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M143">M143</a>: Configures heater maximum temperatures. When the temperature of the heater exceeds this value a heater error will be triggered.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M144_Bed_Standby" class="header">M144: Bed Standby</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M144">M144</a>: Switch the bed to its standby temperature.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M150_Set_LED_colours" class="header">M150: Set LED colours</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M150">M150</a>: Sets RGB colours and brightness for Dotstar and NeoPixel LEDs.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M190_Wait_for_bed_temperature_to_reach_target_temp" class="header">M190: Wait for bed temperature to reach target temp</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M190">M190</a>: Sets the temperature of the bed and waits for the temperature to be reached.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M191_Wait_for_chamber_temperature_to_reach_target_temp" class="header">M191: Wait for chamber temperature to reach target temp</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M191">M191</a>: Set the temperature of the build chamber and waits for the temperature to be reached.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M200_Set_filament_diameter" class="header">M200: Set filament diameter</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M200">M200</a>: Enables or disables volumetric extrusion per extruder, and sets the filament diameter.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M201_Set_max_acceleration" class="header">M201: Set max acceleration</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M201">M201</a>: Sets the acceleration that axes can do in mm/second^2 for print moves.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M203_Set_maximum_feedrate" class="header">M203: Set maximum feedrate</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M203">M203</a>: Sets the maximum feedrates that axes can do in mm/min.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M204_Set_printing_and_travel_accelerations" class="header">M204: Set printing and travel accelerations</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M204">M204</a>: Sets the maximum acceleration for printing and/or travel moves as a whole.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M205_Set_max_instantaneous_speed_change_in_mm_sec" class="header">M205: Set max instantaneous speed change in mm/sec</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M205">M205</a>: Sets the maximum allowable speed change (sometimes called 'jerk speed') of each motor when changing direction, in mm/sec.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M206_Offset_axes" class="header">M206: Offset axes</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M206">M206</a>: Deprecated. The specified values will be subtracted from the coordinates given in G0, G1 and related commands.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M207_Set_retract_length" class="header">M207: Set retract length</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M207">M207</a>: Sets the retract length used by the G10 and G11 firmware retraction and reprime commands.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M208_Set_axis_max_travel" class="header">M208: Set axis max travel</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M208">M208</a>: The specified values set the software limits for axis travel in the specified direction. The axis limits are also the positions assumed when an endstop is triggered.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M220_Set_speed_factor_override_percentage" class="header">M220: Set speed factor override percentage</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M220">M220</a>: Sets the speed factor override percentage.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M221_Set_extrude_factor_override_percentage" class="header">M221: Set extrude factor override percentage</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M221">M221</a>: Sets extrude factor override percentage for the specified extruder.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M226_Synchronous_Pause" class="header">M226: Synchronous Pause</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M226">M226</a>: Initiates a pause in the same way as if the pause button is pressed, except that execution of all prior GCode commands in the same input stream is completed first.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M260_i2c_Send_and_or_request_Data" class="header">M260: i2c Send and/or request Data</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M260">M260</a>: Send and/or receive data over the i2c bus.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M261_i2c_Request_Data" class="header">M261: i2c Request Data</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M261">M261</a>: Deprecated. Requests data over the i2c bus.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M280_Set_servo_position" class="header">M280: Set servo position</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M280">M280</a>: Set absolute servo position.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M290_Baby_stepping" class="header">M290: Baby stepping</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M290">M290</a>: Applies the specified additional offset to the Z coordinate for all future moves, and to apply the offset to moves that have already been queued if this can be done.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M291_Display_message_and_optionally_wait_for_response" class="header">M291: Display message and optionally wait for response</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M291">M291</a>: Provides a more flexible alternative to M117, in particular messages that time out, messages that suspend execution until the user acknowledges them, and messages that allow the user to adjust axis positions before acknowledging them.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M292_Acknowledge_message" class="header">M292: Acknowledge message</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M292">M292</a>: Sent by the user interface when the user acknowledges a message that was displayed because of a blocking M291 command.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M300_Play_beep_sound" class="header">M300: Play beep sound</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M300">M300</a>: Play beep sound via connected LCD, or if no LCD, via web interface.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M301_Set_PID_parameters" class="header">M301: Set PID parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M301">M301</a>: Sets Proportional (P), Integral (I) and Derivative (D) values for hot end.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M302_Allow_cold_extrudes" class="header">M302: Allow cold extrudes</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M302">M302</a>: Disables temperature restrictions on extrusion and retraction, or sets these temperatures.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M303_Run_heater_tuning" class="header">M303: Run heater tuning</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M303">M303</a>: This command computes the process model parameters (see M307), which are in turn used to calculate the PID constants.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M304_Set_PID_parameters_Bed" class="header">M304: Set PID parameters - Bed</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M304">M304</a>: Sets Proportional, Integral and Derivative values for bed.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M305_Set_temperature_sensor_parameters" class="header">M305: Set temperature sensor parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M305">M305</a>: Sets or reports the parameters for each temperature sensor. If using RRF 3, use M308 instead.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M307_Set_or_report_heating_process_parameters" class="header">M307: Set or report heating process parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M307">M307</a>: Sets or reports the parameters for the heating process model, for each heater.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M308_Set_or_report_sensor_parameters" class="header">M308: Set or report sensor parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M308">M308</a>: Sets or reports the parameters for each connected sensor. If using RRF 2, use M305 instead.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M309_Set_or_report_heater_feedforward" class="header">M309: Set or report heater feedforward</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M309">M309</a>: Sets or reports the feedforward PWM setting for a specified tool. Supported in RepRapFirmware v3.4 and later</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M350_Set_microstepping_mode" class="header">M350: Set microstepping mode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M350">M350</a>: Sets or reports the microstepping mode for each defined axis.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M374_Save_height_map" class="header">M374: Save height map</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M374">M374</a>: Saves the mesh grid parameters and height map into the specified file, or the default file heightmap.csv if no filename was specified.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M375_Load_height_map" class="header">M375: Load height map</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M375">M375</a>: Loads the default grid (without parameters), or grid specified by filename. Equivalent to G29 S1.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M376_Set_bed_compensation_taper" class="header">M376: Set bed compensation taper</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M376">M376</a>: When using bed mesh compensation, specifies the height over which bed compensation tapers. Full bed compensation is applied at Z=0, tapering down to no bed compensation by the specified height.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M400_Wait_for_current_moves_to_finish" class="header">M400: Wait for current moves to finish</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M400">M400</a>: Finishes all current moves and and thus clears the buffer. Same as G4 P0.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M401_Deploy_z_probe" class="header">M401: Deploy z-probe</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M401">M401</a>: Runs macro file sys/deployprobe#.g (where # is the specified probe number) if it exists, otherwise sys/deployprobe.g if it exists.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M402_Retract_z_probe" class="header">M402: Retract z-probe</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M402">M402</a>: Runs macro file sys/retractprobe#.g (where # is the specified probe number) if it exists, otherwise sys/retractprobe.g if it exists.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M404_Filament_width_and_nozzle_diameter" class="header">M404: Filament width and nozzle diameter</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M404">M404</a>: Sets filament width and nozzle diameter. Used for slicers that report filament volume, from which RRF calculates length for job status reporting.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M408_Report_JSON_style_response" class="header">M408: Report JSON-style response</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M408">M408</a>: Reports system parameters in a JSON-style response. Different levels of reporting are available.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M409_Query_object_model" class="header">M409: Query object model</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M409">M409</a>: Reports parameters from the Object Model of RepRapFirmware, which includes firmware configuration, Duet hardware information, and the state of the machine that RRF is controlling.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M450_Report_Printer_Mode" class="header">M450: Report Printer Mode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M450">M450</a>: Report mode the machine is running; FFF (ie 3D printer), Laser or CNC.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M451_Select_FFF_Printer_Mode" class="header">M451: Select FFF Printer Mode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M451">M451</a>: Switches to Fused Filament Fabrication mode for filament printing.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M452_Select_Laser_DeviceMode" class="header">M452: Select Laser DeviceMode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M452">M452</a>: Switches to laser mode and configures laser parameters.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M453_Select_CNC_Device_Mode" class="header">M453: Select CNC Device Mode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M453">M453</a>: Switches to CNC mode.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M470_Create_Directory_on_SD_Card" class="header">M470: Create Directory on SD-Card</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M470">M470</a>: Creates a new directory on the SD-Card, using the specified (or default) path.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M471_Rename_File_Directory_on_SD_Card" class="header">M471: Rename File/Directory on SD-Card</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M471">M471</a>: Rename or move a file or directory.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M486_Object_cancellation" class="header">M486: Object cancellation</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M486">M486</a>: Used to identify objects on the print bed and selectively cancel them if necessary.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M500_Store_parameters" class="header">M500: Store parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M500">M500</a>: Saves current parameters to the sys/config-override.g on the SD card.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M501_Read_stored_parameters" class="header">M501: Read stored parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M501">M501</a>: Set the active parameters to those stored in sys/config-override.g on the SD card.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M502_Revert_stored_parameters" class="header">M502: Revert stored parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M502">M502</a>: Sets all machine parameters to the values defined in config.g, ignoring the config-override.g file so that any changes that were saved by M500 are not applied.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M503_Print_settings" class="header">M503: Print settings</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M503">M503</a>: Reports the current print settings stored in sys/config.g.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M505_Set_configuration_file_folder" class="header">M505: Set configuration file folder</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M505">M505</a>: Following this command, files that would normally be fetched from /sys/ (for example, homing files and system macro files in RepRapFirmware) are fetched from the specified folder instead. This command can be used to allow multiple configurations to be maintained easily.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M540_Set_MAC_address" class="header">M540: Set MAC address</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M540">M540</a>: Sets the MAC address of the machine, creating a unique identifier for the Duet on the network.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M550_Set_Name" class="header">M550: Set Name</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M550">M550</a>: Sets the name of the machine. Also used for mDNS local network discovery.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M551_Set_Password" class="header">M551: Set Password</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M551">M551</a>: Sets the password for network access to the machine.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M552_Set_IP_address_enable_disable_network_interface" class="header">M552: Set IP address, enable/disable network interface</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M552">M552</a>: Sets the IP address of the machine and enables/disables network access.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M553_Set_Netmask" class="header">M553: Set Netmask</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M553">M553</a>: Sets the network mask of the machine.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M554_Set_Gateway_and_or_DNS_server" class="header">M554: Set Gateway and/or DNS server</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M554">M554</a>: Sets the Gateway IP address of the machine.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M555_Set_compatibility" class="header">M555: Set compatibility</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M555">M555</a>: Sets the firmware to a mode where its input and (especially) output behaves similar to other established firmware.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M556_Axis_skew_compensation" class="header">M556: Axis skew compensation</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M556">M556</a>: This tells firmware the tangents of the angles between the axes of the machine. Obtained by printing then measuring a test part.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M557_Set_Z_probe_point_or_define_probing_grid" class="header">M557: Set Z probe point or define probing grid</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M557">M557</a>: Defines the grid used by G29 to create a bed height mesh.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M558_Set_Z_probe_type" class="header">M558: Set Z probe type</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M558">M558</a>: Defines the Z probe type and parameters of operation.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M559_Upload_file" class="header">M559: Upload file</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M559">M559</a>: Upload file, with parameters for file size and CRC-32 check. Was used in RRF 3.1 and earlier to upload files to /sys.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M560_Upload_file" class="header">M560: Upload file</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M560">M560</a>: Upload file, as M559, with terminating string. Was used in RRF 3.1 and earlier to upload files to /www.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M561_Set_Identity_Transform" class="header">M561: Set Identity Transform</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M561">M561</a>: Cancels any bed-plane fitting as the result of probing (or anything else) and returns the machine to moving in the user's coordinate system.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M562_Reset_temperature_fault" class="header">M562: Reset temperature fault</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M562">M562</a>: If the heater has switched off and locked because it has detected a fault, this will reset the fault condition and allow you to use the heater again.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M563_Define_or_remove_a_tool" class="header">M563: Define or remove a tool</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M563">M563</a>: Defines a tool with the specified parameters.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M564_Limit_axes" class="header">M564: Limit axes</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M564">M564</a>: Allows or forbids movement of axes that have not been homed and/or limits movement to within axis boundaries.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M566_Set_allowable_instantaneous_speed_change" class="header">M566: Set allowable instantaneous speed change</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M566">M566</a>: Sets the maximum allowable speed change (sometimes called 'jerk speed') of each motor when changing direction.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M567_Set_tool_mix_ratios" class="header">M567: Set tool mix ratios</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M567">M567</a>: Sets the mix ratio for a tool. When a move command contains a single E value but the current tool uses multiple extruders, each extruder will extrude the amount specified in the E parameter times the mix value for that tool.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M568_Set_Tool_Settings" class="header">M568: Set Tool Settings</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M568">M568</a>: Set tool parameters to values specified. Active and standby temperatures, spindle RPM and heater state.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M569_Set_motor_driver_direction_enable_polarity_mode_and_step_pulse_timing" class="header">M569: Set motor driver direction, enable polarity, mode and step pulse timing</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M569">M569</a>: Sets stepper driver parameters to values specified. Parameters include motor direction, enable, minimum step pulse width, interval, direction setup and hold time, and other stepper driver features.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M569_1_Stepper_driver_closed_loop_configuration" class="header">M569.1: Stepper driver closed loop configuration</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M569.1">M569.1</a>: Set the configuration parameters of a closed loop driver. Supported for drivers attached to Duet 3 Expansion 1HCL board.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M569_2_Read_or_write_stepper_driver_register" class="header">M569.2: Read or write stepper driver register</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M569.2">M569.2</a>: Reads the specified register and returns the value of that register, or if a value is specified, that value is written to the specified register.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M569_3_Read_Motor_Driver_Encoder" class="header">M569.3: Read Motor Driver Encoder</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M569.3">M569.3</a>: Report a current motors encoder position to the host in units of arc degrees (1/360'ths of turns), relative to set reference position.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M569_4_Set_Motor_Driver_Torque_Mode" class="header">M569.4: Set Motor Driver Torque Mode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M569.4">M569.4</a>: Tell one or more motor drivers to apply a specified torque regardless of position.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M569_5_Closed_loop_data_collection" class="header">M569.5: Closed loop data collection</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M569.5">M569.5</a>: Collect performance data from a drive whilst in closed loop mode.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M569_6_Execute_closed_loop_tuning_move" class="header">M569.6: Execute closed loop tuning move</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M569.6">M569.6</a>: Perform a runtime tuning manoeuvre with a closed loop drive.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M569_7_Configure_motor_brake_port" class="header">M569.7: Configure motor brake port</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M569.7">M569.7</a>: Specifies the output port that controls a brake.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M570_Configure_heater_fault_detection" class="header">M570: Configure heater fault detection</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M570">M570</a>: Sets time and temperature parameters for the detection of heater anomalies.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M571_Set_output_on_extrude" class="header">M571: Set output on extrude</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M571">M571</a>: Turns on the defined output pin whenever extrusion is being done, and turns it off when the extrusion is finished.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M572_Set_or_report_extruder_pressure_advance" class="header">M572: Set or report extruder pressure advance</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M572">M572</a>: Sets the pressure advance coefficient for the specified extruder.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M573_Report_heater_PWM" class="header">M573: Report heater PWM</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M573">M573</a>: Gives a running average (usually taken over about five seconds) of the PWM to the specified heater.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M574_Set_endstop_configuration" class="header">M574: Set endstop configuration</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M574">M574</a>: Defines the pin name, position and type of endstop or sensor that the machine has for an axis.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M575_Set_serial_comms_parameters" class="header">M575: Set serial comms parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M575">M575</a>: Sets the communications parameters of the serial comms channel specified.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M576_Set_SPI_comms_parameters" class="header">M576: Set SPI comms parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M576">M576</a>: Sets the communications parameters of the SPI channel.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M577_Wait_until_endstop_is_triggered" class="header">M577: Wait until endstop is triggered</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M577">M577</a>:Wait for a specified endstop switch or input to be triggered.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M578_Fire_inkjet_bits" class="header">M578: Fire inkjet bits</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M578">M578</a>: Fires specified inkjet head using the specified bit pattern. Not enabled in firmware by default.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M579_Scale_Cartesian_axes" class="header">M579: Scale Cartesian axes</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M579">M579</a>: Scales the specified axes by the given amount, to get prints exactly the right size.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M580_Select_Roland" class="header">M580: Select Roland</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M580">M580</a>: Enables/disables Roland mode, which changes output to Roland Machine Language (RML).</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M581_Configure_external_trigger" class="header">M581: Configure external trigger</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M581">M581</a>: Defines parameters for external triggers.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M582_Check_external_trigger" class="header">M582: Check external trigger</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M582">M582</a>: Checks state of specified trigger.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M584_Set_drive_mapping" class="header">M584: Set drive mapping</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M584">M584</a>: Assigns stepper driver numbers to axes, and defines axes as linear or rotational.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M585_Probe_Tool" class="header">M585: Probe Tool</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M585">M585</a>: Allows the current tool's offset to be updated by driving it into a given endstop, on machines with at least one tool probe.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M586_Configure_network_protocols" class="header">M586: Configure network protocols</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M586">M586</a>: Enables/disables network protocols (HTTP, HTTPS, FTP, Telnet, SSH) and configures parameters.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M587_Add_WiFi_host_network_to_remembered_list_or_list_remembered_networks" class="header">M587: Add WiFi host network to remembered list, or list remembered networks</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M587">M587</a>: Adds WiFi network SSID and password to the remembered networks list. Optionally sets IP address, gateway, netmask, DNS server and country code.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M588_Forget_WiFi_host_network" class="header">M588: Forget WiFi host network</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M588">M588</a>: Removes the specified network SSID from the remembered networks list.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M589_Configure_access_point_parameters" class="header">M589: Configure access point parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M589">M589</a>: Configures the Duet to allow WiFi devices to connect directly, as an access point. Settings for SSID, password, IP address and optionally the WiFi channel.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M591_Configure_filament_sensing" class="header">M591: Configure filament sensing</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M591">M591</a>: Configures filament sensing for the specified extruder. The sensor may be a simple filament presence detector, a device that measures movement of filament, or both.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M592_Configure_nonlinear_extrusion" class="header">M592: Configure nonlinear extrusion</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M592">M592</a>: Nonlinear extrusion is a feature that compensates for the increased back pressure from the hot end as extrusion speed increases.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M593_Configure_Input_Shaping" class="header">M593: Configure Input Shaping</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M593">M593</a>: Configures the parameters for input shaping, which is used to reduce ringing (also called ghosting).</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M594_Enter_Leave_Height_Following_mode" class="header">M594: Enter/Leave Height Following mode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M594">M594</a>: Height following mode allows the Z position of the tool to be controlled by a PID controller using feedback from a sensor. See also M951.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M595_Set_movement_queue_length" class="header">M595: Set movement queue length</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M595">M595</a>: Allows the movement queue parameters to be adjusted so that the queue can be lengthened if necessary, or kept short if a long movement queue is not needed and there are other demands on RAM.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M600_Filament_change_pause" class="header">M600: Filament change pause</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M600">M600</a>: Behaves like M226 except that if macro file filament-change.g exists in /sys on the SD card, it is run in preference to pause.g.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M650_Set_peel_move_parameters" class="header">M650: Set peel move parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M650">M650</a>: Sent by nanoDLP to execute a peel move after exposing a layer.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M651_Execute_peel_move" class="header">M651: Execute peel move</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M651">M651</a>: Sent by nanoDLP to execute a peel move after exposing a layer.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M665_Set_delta_configuration" class="header">M665: Set delta configuration</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M665">M665</a>: Set the delta calibration variables, including diagonal rod length, delta radius, printing radius, homed nozzle height and tower postion correction.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M666_Set_delta_endstop_adjustment" class="header">M666: Set delta endstop adjustment</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M666">M666</a>: Sets delta endstops and bed tilt adjustments.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M667_Select_CoreXY_or_related_mode" class="header">M667: Select CoreXY or related mode</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M667">M667</a>: Deprecated. Selects CoreXY or CoreXZ mode. Use M669.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M669_Set_kinematics_type_and_kinematics_parameters" class="header">M669: Set kinematics type and kinematics parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M669">M669</a>: Sets kinematic type (cartesian, CoreXY, CoreXZ, Delta, SCARA, Hangprinter, polar etc) and any extra kinematic parameters.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M670_Set_IO_port_bit_mapping" class="header">M670: Set IO port bit mapping</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M670">M670</a>: Sets the port switching time advance for the specified pins.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M671_Define_positions_of_Z_leadscrews_or_bed_levelling_screws" class="header">M671: Define positions of Z leadscrews or bed levelling screws</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M671">M671</a>: Sets the positions of 2 to 4 leadscrews or bed levelling screws used to raise/lower the bed or gantry. This allows the firmware to perform bed levelling by probing the bed and either automatically moving the leadscrews, or reporting the adjustment to be made. See the G32 command.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M672_Program_Z_probe" class="header">M672: Program Z probe</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M672">M672</a>: Sends configuration data to programmable Z probes such as the Duet3D Smart Effector, for example to set the sensitivity.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M673_Align_plane_on_rotary_axis" class="header">M673: Align plane on rotary axis</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M673">M673</a>: Aligns a plane that is mounted on a rotary axis. To make use of this code it is required to take two probe points via G30 P first.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M674_Set_Z_to_center_point" class="header">M674: Set Z to center point</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M674">M674</a>: Determines the Z center point of a stash that is mounted on a rotary axis. This code is yet to be implemented.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M675_Find_center_of_cavity" class="header">M675: Find center of cavity</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M675">M675</a>: Finds the center of a cavity that can be measured using the configured axis endstop.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M701_Load_filament" class="header">M701: Load filament</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M701">M701</a>: Loads the specified material in the current active tool.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M702_Unload_filament" class="header">M702: Unload filament</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M702">M702</a>: Unloads the previously loaded filament from the current tool.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M703_Configure_filament" class="header">M703: Configure filament</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M703">M703</a>: After assigning a filament to a tool, this command may be used to run /filaments/&lt;filament name&gt;/config.g to set parameters like temperatures, extrusion factor, retract distance.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M750_Enable_3D_scanner_extension" class="header">M750: Enable 3D scanner extension</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M750">M750</a>: Used as an OEM extension to enable scanner functionality in the firmware.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M751_Register_3D_scanner_extension_over_USB" class="header">M751: Register 3D scanner extension over USB</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M751">M751</a>: Used to turn on communication between the 3D printing and a 3D scanner board, when attached to the USB port.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M752_Start_3D_scan" class="header">M752: Start 3D scan</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M752">M752</a>: Initiates a new 3D scan and uploads it to the board's SD card</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M753_Cancel_current_3D_scanner_action" class="header">M753: Cancel current 3D scanner action</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M753">M753</a>: Instruct the attached 3D scanner to cancel the current operation.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M754_Calibrate_3D_scanner" class="header">M754: Calibrate 3D scanner</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M754">M754</a>: Calibrates the attached 3D scanner.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M755_Set_alignment_mode_for_3D_scanner" class="header">M755: Set alignment mode for 3D scanner</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M755">M755</a>: Sends the ALIGN ON/OFF command the attached 3D scanner.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M756_Shutdown_3D_scanner" class="header">M756: Shutdown 3D scanner</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M756">M756</a>: Sends the SHUTDOWN command the attached 3D scanner.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M851_Set_Z_Probe_Offset_Marlin_Compatibility" class="header">M851: Set Z-Probe Offset (Marlin Compatibility)</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M851">M851</a>: Implemented for backwards compatibility with other firmware. It sets the Z probe trigger in the same way as G31 Z-nn (note the sign reversal).</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M905_Set_local_date_and_time" class="header">M905: Set local date and time</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M905">M905</a>: Updates the machine's local date and time or reports them if no parameters are specified.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M906_Set_motor_currents" class="header">M906: Set motor currents</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M906">M906</a>: Sets the peak currents to send to the stepper motors for each axis.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M911_Configure_auto_save_on_loss_of_power" class="header">M911: Configure auto save on loss of power</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M911">M911</a>: When the supply voltage falls below the auto save threshold while a print from SD card is in progress, all heaters will be turned off, printing will be stopped immediately (probably in the middle of a move), the position saved, and the specified command string executed.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M912_Set_electronics_temperature_monitor_adjustment" class="header">M912: Set electronics temperature monitor adjustment</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M912">M912</a>: Adjusts the temperature reading offset of the MCU's on-chip temperature sensor.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M913_Set_motor_percentage_of_normal_current" class="header">M913: Set motor percentage of normal current</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M913">M913</a>: Sets motor currents to a specified percentage of their normal values.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M914_Set_Get_Expansion_Voltage_Level_Translator" class="header">M914: Set/Get Expansion Voltage Level Translator</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M914">M914</a>: This command is supported in the Alligator build of RepRapFirmware only.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M915_Configure_motor_stall_detection" class="header">M915: Configure motor stall detection</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M915">M915</a>: Sets the stall detection parameters and optionally the low-load current reduction parameters for TMC2660, TMC2130 or similar driver chips.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M916_Resume_print_after_power_failure" class="header">M916: Resume print after power failure</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M916">M916</a>: If the last print was not completed and resume information has been saved (either because the print was paused or because of a power failure), then the heater temperatures, tool selection, head position, mix ratio, mesh bed compensation height map etc. are restored from the saved values and printing is resumed.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M917_Set_motor_standstill_current_reduction" class="header">M917: Set motor standstill current reduction</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M917">M917</a>: Sets the percentage of the current set by M906 that is to be used when the motor is stationary but not idle, or moving very slowly.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M918_Configure_direct_connect_display" class="header">M918: Configure direct-connect display</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M918">M918</a>: Configures RepRapFirmware for a directly-connected LCD such as a 12864 or compatible display.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M929_Start_stop_event_logging_to_SD_card" class="header">M929: Start/stop event logging to SD card</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M929">M929</a>: When event logging is enabled, important events such as power up, start/finish printing and (if possible) power down will be logged to the SD card.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M950_Create_heater_fan_spindle_or_GPIO_servo_pin" class="header">M950: Create heater, fan, spindle or GPIO/servo pin</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M950">M950</a>: Used to create heaters, fans, spindles and GPIO ports, and to configure parameters.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M951_Set_height_following_mode_parameters" class="header">M951: Set height following mode parameters</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M951">M951</a>: Height following mode allows the Z position of the tool to be controlled by a PID controller using feedback from a sensor. See also M594.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M952_Set_CAN_FD_expansion_board_address_and_or_normal_data_rate" class="header">M952: Set CAN-FD expansion board address and/or normal data rate</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M952">M952</a>: Expansion boards without address selection switches use a default address. This command can change the address, and the default data rate.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M953_Set_CAN_FD_bus_fast_data_rate" class="header">M953: Set CAN-FD bus fast data rate</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M953">M953</a>: Allows the bandwidth of the CAN bus to be optimised, by increasing the data rate during transmission of CAN-FD data packets by means of the BRS (bit rate switch) feature.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M954_Configure_as_CAN_expansion_board" class="header">M954: Configure as CAN expansion board</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M954">M954</a>: Used to reconfigure the board it is executed on as a CAN-connected expansion board.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M955_Configure_Accelerometer" class="header">M955: Configure Accelerometer</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M955">M955</a>: Configures an accelerometer with specified parameters such as pins, orientation, sample rate, resolution, SPI clock frequency.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M956_Collect_accelerometer_data_and_write_to_file" class="header">M956: Collect accelerometer data and write to file</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M956">M956</a>: Causes the specified number of accelerometer samples to be collected and saved to a .csv file on the internal SD card.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M997_Perform_in_application_firmware_update" class="header">M997: Perform in-application firmware update</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M997">M997</a>: Triggers a firmware update if the necessary files are present on the SD card. Can update firmware on Duet mainboards, Duet 3 CAN-connected expansion boards, WiFi modules and PanelDue.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M998_Request_resend_of_line" class="header">M998: Request resend of line</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M998">M998</a>: Request a resend of the specified line of Gcode.</p>
<div class="clearer"> </div>
<div class="headerContainer"><i class="svg-icon"></i>
<h5 id="Section_M999_Restart" class="header">M999: Restart</h5>
</div>
<p><a href="https://duet3d.dozuki.com/Wiki/M999">M999</a>: Restarts the firmware using a software reset. Can also reboot attached SBC.</p>]]></content:encoded>
						                            <category domain="https://localad.cc/community/g-codes/">G-Code</category>                        <dc:creator>admin</dc:creator>
                        <guid isPermaLink="true">https://localad.cc/community/g-codes/codes/</guid>
                    </item>
							        </channel>
        </rss>
		