User Tools

Site Tools


g-code

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
g-code [2016/11/28 18:15]
Matthew Upp created
g-code [2018/01/17 09:25] (current)
Matthew Upp
Line 2: Line 2:
  
 ====== G-code ====== ====== G-code ======
 +----
 +
 Standard Marlin compatible G-codes can be found at the [[http://​reprap.org/​wiki/​G-code|RepRap wiki: G-code]]. \\ Standard Marlin compatible G-codes can be found at the [[http://​reprap.org/​wiki/​G-code|RepRap wiki: G-code]]. \\
 <wrap lo>//Not all standard G-code are supported by the MP Select Mini.//</​wrap>​ <wrap lo>//Not all standard G-code are supported by the MP Select Mini.//</​wrap>​
  
-===== Extended G-code ​=====+==== Extended G-code ====
 See the [[extended_g-code_table|Extended G-code Table]] for G-code that is more or less specific to the MP Select Mini & Malyan printers. \\ See the [[extended_g-code_table|Extended G-code Table]] for G-code that is more or less specific to the MP Select Mini & Malyan printers. \\
 +
 +----
  
  
Line 13: Line 17:
   * [[g-code#​usb|USB]]   * [[g-code#​usb|USB]]
   * [[g-code#​microSD_card|MicroSD Card]]   * [[g-code#​microSD_card|MicroSD Card]]
-  * [[g-code#​wifi|Wifi]]+  * [[g-code#​wifi|WiFi]]
  
  
-==== USB ====+===== 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 [[https://​en.wikipedia.org/​wiki/​Ferrite_bead|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. \\ 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. \\
Line 22: Line 28:
 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. \\ 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. \\
  
-**Printrun**+ 
 +<WRAP group> 
 +<WRAP column half> 
 + 
 +**Cura 15.04.6** \\ 
 +[[cura_pronterface|Enable Cura 15.04.6 Pronterface UI]] 
 + 
 + 
 +**Printrun** ​\\
 http://​www.pronterface.com/​ \\ http://​www.pronterface.com/​ \\
 http://​reprap.org/​wiki/​Printrun \\ http://​reprap.org/​wiki/​Printrun \\
  
-**Repetier-Host**+ 
 +**Repetier-Host** ​\\
 https://​www.repetier.com/​ \\ https://​www.repetier.com/​ \\
 http://​reprap.org/​wiki/​Repetier-Host \\ http://​reprap.org/​wiki/​Repetier-Host \\
 +\\
 +
 +</​WRAP>​
 +
 +<WRAP column half>
 +
 +{{youtube>​R1VugOTOoGA?​small}}
 +
 +[[https://​youtu.be/​R1VugOTOoGA|How to send G-Code commands with Pronterface]]
 +
 +
 +</​WRAP>​
 +</​WRAP>​
 +
 +
 +===== 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%%''​ \\
 +<​code>​
 +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
 +</​code>​
  
-==== MicroSD Card ==== +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 
-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+\\
  
 +==== Custom Web UI ====
 +You may also send g-code commands using a [[sample_webui#​upload_custom_web_ui|custom Web UI]]. \\
 +More information can be found on the [[sample_webui|Web UI page]].
  
-==== WiFi ==== 
-It is possible to send G-code to the printer over WiFi but this will not be covered here at this time. 
g-code.1480356903.txt.gz · Last modified: 2016/11/28 18:15 by Matthew Upp