Note: Normally, these commands should be sent in all caps and no spaces. However, when sending them to Pronterface, it will capitalize and format the input appropriately.
Motion, Homing, Troubleshooting, Etc
G0 XxxxYxxxZxxxExxxFxxx - Coordinated movement
G1 XxxxYxxxZxxxExxxFxxx - Coordinated movement
G28 - Home all axis
M17 - Enable power for all stepper motors
M18 - Disable all stepper motors. Same as M84.
M80 - Turn power supply ON
M81 - Turn power supply OFF
M84 - Disable all stepper motors
M114 - Output current position to serial port
M119 - Output endstop status to serial port
M400 - Finish all moves
M999 - Restart after being stopped by error
Pick and Place Specific
M4 - Pick (currently turns on the vacuum pump)
M5 - Place (currently turns off the vacuum pump)
M8 - Actuate ON (TBD, provisioning for drag pin)
M9 - Actuate OFF (TBD, provisioning for drag pin)
M420 RxxxExxxBxxx - Set RGB color of end effector LED ring light. Currently we're using a single-color LED, so only the R needs to be set. E (green) and B (blue) can be ignored / not sent.
M421 RxxxExxxBxxx - Set RGB color of up-looking LED ring light.
3D Printing Specific
M106 - PLA cooling Fan ON (this controls FAN2 on the EMC02 board)
M107 - PLA fan coolingFan OFF
M109 Sxxx - Wait for extruder current temp to be reached. Waits only while heating.
M109 Rxxx - Wait for extruder current temp to reach target temp. Waits when heating and cooling
M140 - Set bed target temp
M190 Sxxx - Wait for bed current temp to reach target temp. Waits only when heating
M190 Rxxx - Wait for bed current temp to reach target temp. Waits when heating and cooling