List of G code for control of Adventurer 3 that has been found so far
G code list
Indicates the start of communication, and adds S1 after the command. Send with M601 S1.
Indicates the end of communication. After sending this command, the network is disconnected.
Retrieve information about the device. FlashPrint is sent after sending M601, and the following reply will come.
CMD M115 Received.
Machine Type: FlashForge Adventurer III
Machine Name: Adventurer III
X: 150 Y: 150 Z: 150
Tool Count: 1
Retrieve end stop information. The following reply will come.CMD M119 Received.
Endstop: X-max:0 Y-max:0 Z-max:0
Status: S:1 L:0 J:0 F:0
Endstop is set to 1 when the limit switch on each axis is pressed.
If any operation is being performed on the device side, MachineStatus and MoveMode will be PAUSED. In addition, BUILDING_FROM_SD and MOVING are set during modeling.
With the retrieval of the information about temperature, return will come as follows.
CMD M105 Received.
T0:14 /0 B:1/1
Printing status. The following reply will come.
CMD M27 Received.
SD printing byte 0/100
- LED on command
M146 r255 g255 b255 F0
- LED off command
M146 r0 g0 b0 F0
RGB needs to be lowercase. In addition, although the value of rgb was changed to something other than 0 or 255 before, there was no change in the actual color of the LED. It may only recognize display and erase.
Data output from SD file. Printing is started after sending this command.
Print stop command.
M28 File size It is sent by the command of file name (probably the save file name in Adventurer 3). When ok is received from the device side, data transfer is performed every 4112 bytes thereafter. After the transfer, the device side sends back the success or failure of the transfer. If the file size is not divisible by 4112, the file is padded with 0x00 and sent.
File transfer complete command.
Stop heating command.
Chassis fan ON command.
Chassis fan OFF command.
Get current nozzle position
CMD M114 Received.
X:80.0406 Y:-74.9949 Z:153 A:0 B:0
The contents of A and B are unknown.
Emergency stop command.
In FlashPrint, it is sent by the stop button on the printer operation screen.
Motor current stop.
The motor is energized.
Use the current position as the origin.
Machine name change.
However, this instruction did not seem to be interpreted on the device side, and the machine name was not actually changed.
It is a command that was issued during interaction with FlashPrint, but I do not know what it means.
G-code-In RepRap, it was “Set peel move parameters”.
Nozzle bed movement command.
Bed temperature setting.
Nozzle temperature setting.
Basic flow of commands when printing
Data are transferred at M28 to M29, and printing is started at M23.
If you want to stop the molding, send M26. If it is M112, a nozzle etc. will not stop at the place now (unverified).
Since communication with the device has to be repeated within 10 seconds, the condition of the device is monitored by M119, M105 and M27 even after the M28 is sent.