RepRap Firmware G-Codes
The RepRap Firmware does use more G-Codes than other firmware notably because all configuration is done with G-Codes. Another reason is that it does have extended functionalities.
What is presently listed in this page is not the exhaustive list interpreted by RepRap Firmware, only the G-Codes which are specific (yet). This list cover DC42 and Chrishamm fork, which are more complete than the original version. Some G-Codes are common between RepRap Firmware and other firmwares, but with extended syntax or specific interpretation. They will be listed in a specific parapraph
Contents
Codes specific to RepRap Firmware
Macros and physical interfacing
- M98: Call Macro/Subprogram
- M99: Return from Macro/Subprogram
- M577: Wait until endstop is triggered
- M571: Set output on extrude
Heaters
- M135: Set PID sample interval
- M143: Maximum hot-end temperature
- M144: Stand By Your Bed
- M570: Set heater timeout
- M562: Reset temperature fault
- M563: Define or remove a tool
Ethernet communication
- M540: Set MAC address
- M550: Set Name
- M551: Set Password
- M552: Set IP address
- M553: Set Netmask
- M554: Set Gateway
Miscellaneous Configuration
- M555: Set compatibility
- M558: Set Z probe type
- M566: Set allowable instantaneous speed change
- M569: Set axis direction and enable values - Change stepper directions without replug
- M906: Set motor currents
- M574: Set endstop configuration
- M572: Set or report extruder elasticity compensation
- M575: Set serial comms parameters
Web control (DWC)
Firmware configuration
Reporting - also used by DWC
- M36: Return file information
- M122: Diagnose
- M573: Report heater PWM
- M408: Report JSON-style response - Return printer status data
Geometry
- M208: Set axis max travel
- M556: Axis compensation - X/Y angular correction
- M564: Limit axes
- M579: Scale Cartesian axes - X/Y/Z scale compensation for deltas
- M667: Select CoreXY mode
- M668: Set Z-offset compensations polynomial - in development ?