M Codes
detailed information on the m codes you can use will go here. we'll also add replicatorg specific definitions here as well. until then, please see the primer.
The following extra M-Codes were defined for RepRap:
- M101 Extruder on, fwd
- M102 Extruder on, reverse
- M103 Extruder off
- M104 Snn set temperature in degrees Celsius
- M105 get extruder temperature
- M106 turn fan on
- M107 turn fan off
- M108 Snnn extruder speed in PWM
- M108 Pnnn extruder speed in RPM
- M120, M121, M122 Snnn set the PID gain for the temperature regulator
- M123, M124 Snnn set iMax and iMin windup guard for the PID controller
- M126 valve open
- M127 valve close
more codes exist now for controlling build platform temperature, case temperature, a second extruder, and for controlling stepper motors on extruders.