User Tools

Site Tools


Sidebar


User's Manual & Quick Start Guide

Specifications

Where to Purchase

Donations & Support

Replacements Parts & Information

Mods & Improvements

How-to

Troubleshooting

Maintenance

WiFi

Web UI

Slicer Stuff

Firmware

Downloads

Donations & Support



Looking for the Monoprice MP Mini Delta Wiki?

g-code

G-code


Standard Marlin compatible G-codes can be found at the RepRap wiki: G-code.
Not all standard G-code are supported by the MP Select Mini.

Extended G-code

See the Extended G-code Table for G-code that is more or less specific to the MP Select Mini & Malyan printers.


Sending G-code

There are a few ways to send G-code commands to the printer. This page will not go into detail on how to use these methods but should be enough to point you in the right direction.

USB

The printer uses a Micro-B USB 2.0 cable. When connecting to the printer make sure to use a good quality cable that is meant for data transfer. Using a Micro-B USB cable that came with your phone, tablet, or even the included USB cable may work but are usually not the best cables to trust for reliable & consistent data connection between the printer and the other device such as a laptop, desktop computer, or Raspberry Pi. Using a Micro-B USB 2.0 cable with a ferrite bead may help but should not be necessary.

Sending G-code over USB is not the only way to send G-code but is probably the easiest. Many slicer programs have the ability to send G-code to the printer via USB. See your slicer documentation for this feature.

Programs like Printrun (Pronterface) and Repetier-Host are easy to use and don't require much set up. There are precompiled versions of Printrun for Windows that can be used without installation and only require selecting the correct COM port to connect to the printer.

MicroSD Card

G-code can be sent to the printer by saving the commands to a .gcode file. Copy the .gcode onto a microSD card and select the file from the Print menu.

WiFi

Web Browser Address Bar

While the MP Select Mini V1/V2 is connected to WiFi you may use the format http://PRINTERS_IP_ADDRESS/set?code=G-CODE_COMMAND to send a single line of code g-code using a web browsers address/URL bar. See the examples in the following code block.

Format: http://PRINTERS_IP_ADDRESS/set?code=G-CODE_COMMAND

http://192.168.20.113/set?code=G1 X53
http://192.168.20.113/set?code=M563 S6
http://192.168.20.113/set?code=G1 X Y

When a command is sent and received successfully the browser should display `Ok`, `OK`, or `ok`. Additional g-code commands can be sent one after another using the same format.

Custom Web UI

You may also send g-code commands using a custom Web UI.
More information can be found on the Web UI page.

g-code.txt · Last modified: 2018/01/17 01:25 by Matthew Upp