FlashForge Gcode Protocol (Open)
FlashForge Gcode Protocol (Open)
04 (Partial)
Induction
This document describles the GCode protocol used in Flashfoge Dreamer 3D Printer. PC and mobile devices can
control the printer by GCode.
Please ignore the "~" symbol at the head of the command line.
Supported G Codes
G1 - Linear interpolation
Move to the specified position at the current or specified feedrate.
Parameters
Example
Reply
ok
G4 - dwell
Tells the machine to pause for a certain amount of time.
Parameters
P: dwell time, in ms
S: dwell time, in s
Example
~G4 P10000
~G4 S10
Reply
ok
G28 - Home
Move to the home position.
Parameters
Example
~G28
~G28 X Y
Reply
ok
Parameters
None
Example
~G90
Reply
ok
G91 - Set to Relative Positioning
All coordinates from now on are relative to the last position.
Parameters
None
Example
~G91
Reply
ok
Parameters
Example
~G92 E0
~G92 X10 Y20 Z5
Reply
ok
Example
Send:~M105
Reply(Single): T0: 25/220 B:25/100
ok
Reply(Dual): T0: 25/220 T1: 25/220 B:25/100
ok
Example
Send: ~M114
Reply: X:10 Y:10 Z:10 A:5 B:0
ok
Example
Send: ~M115
Reply: Machine Type: Flashforge Dreamer
Machine Name: My Dreamer
Firmware: V1.40 20140520
SN: 2324-1341-3453
X: 230 Y: 150 Z: 140
Tool Count: 2
ok
Example
Send: ~M119
Reply: Endstop: X-max: 0 Y-max: 0 Z-min: 1
MachineStatus: READY
MoveMode: READY
ok
M112 - Emergency Stop
Emergency Stop, Command buffer will be empty.
Reply
ok
Parameters
Example
~M6 T0
Reply
ok
Parameters
S: (code, option) If present, sets the time limit that we wait for, in s (Default value is 600s)
Example
~M7
Reply
ok
Parameters
Example
~M17
Reply
ok
Parameters
Example
~M17
Reply
ok
Example
~M104 S220 T0
Reply
ok
Parameters
Example
~M140 S100
Reply
ok
Parameters
None
Example
~M106
Reply
ok
Parameters
None
Example
~M107
Reply
ok
Parameters
Example
~M108 T0
Reply
ok
Parameters
Example
~M132 X Y Z A B
Reply
ok
Parameters
Example
Reply
ok