[ATTENTION] Avoid using FlashForge original firmware G Codes - moonglow/FlashForge_Marlin GitHub Wiki

If you use the Marlin firmware you may also need to change the start/stop G-Codes in your favorite slicer software. Do not copy start/stop G-Codes from original Flashforge/Dremel firmware. Some are dangerous to use, others do nothing, and some will work not as expected. Please read the Marlin G-Codes guide to check which G-Codes are valid for the Marlin firmware.

Example ( original firmware starting G-codes ):

  • M140/M104 - In the original firmware this g-code will wait for temperature to be reached, but using it with the Marlin firmware will not wait for the temperature.

M907 X100 Y100 Z40 A100 B20 - In the original firmware the M907 g-code sets the motor current via raw values, whereas the Marlin firmware M907 g-code uses human readable currents. For example in the Marlin firmware M907 X0.7 Y0.7 Z0.35 E0.7 B0.7 means that the X,Y,E, and B motors will be set to 0.7 Amps and Z motor will be set to 0.35 Amps. If you use this M907 X100 Y100 Z40 A100 B20 with the Marlin firmware you will set maximum values for all motors. This is dangerous because you can overheat the motors and can melt the plastic motor mount. Build v0.11.2 and upper will rise an error if detect of using abnormal value for M907.

Some users have reported issues with g-code incompatibility between the original and Marlin firmware. Please see the following: Issue #9 Issue #23