Skip to content
nm156 edited this page Feb 17, 2012 · 30 revisions

This wiki is intended to provide various instructions on how to use Grbl. Please feel free to contribute more up-to-date.

Supported G-Code Commands

How to Stream G-Code Programs to Grbl

For Linux:

Last updated: 2012-01-31 by Atrixium. (Tested on Linux Mint 9 (Ubuntu 10.04))

Method One: Python Streaming Script:

  • Download simple_stream.py Python script.
  • Open the script in a plain text editor and change the following line to reflect your system:

s = serial.Serial('/dev/tty.usbmodem1811',9600)

  • In place of tty.usbmodem1811 you should put the name of your Arduino device, on my system this is ttyACM0
  • The script looks for and reads gcode from a file named grbl.gcode, you should create this file and put the gcode you want to execute in it.
  • Open a terminal window where your Python script is and execute the Python script with the following command:

./simple_stream.py

  • You should now see the gcode being streamed to grbl along with 'ok' messages and your machine should begin moving

For Mac:

Last updated: To be done.

For Windows:

CNCinfusion - currently under development in C# https://github.com/nm156/CNCInfusion Last updated: Feb 16 2012 by nm156

Clone this wiki locally