Communication / Control
Please note that GRBL is limited in how long of a line it will accept. If your job is previewing correctly, but not running properly, check to see that line lengths are w/in its limits (50 for older versions, 70 for 0.8c dev or later) as discussed here. Certain programs may trim or round such off automatically (see below). Forum User TonyB has created a JavaScript (wrapped up in HTML so as to open from a local copy in a web browser) to round off decimals in files, available here.
Note that communicating w/ a micro controller is fundamentally the same as using a terminal program to communicate w/ another system. This means that some of the same trouble-shooting techniques and features apply, such as a delay between sending and receiving.[1]
While the new Carbide Motion Board for the Shapeoko 3 affords the option of using Carbide3D's Carbide Motion control software, any G-code program will work.[2]
Also see Grbl Gru on the Previewing G-Code page which now also supports TinyG.[3] (Troubleshooting connection information here: http://www.shapeoko.com/forum/viewtopic.php?f=6&t=4710&p=43501#p43501 )
Communication / Control is at the heart of how a CNC operates, as described in this page.
Most run on Windows or Mac OS X or Linux. Discussion of Raspberry Pi g-code senders for Grbl.
Please vote for the tools you use in the poll.
Discussion of Carbide Motion Machine Control Software, Universal G-Code Sender, ChiliPeppr, and bCNC http://www.shapeoko.com/forum/viewtopic.php?f=6&t=6329&p=49406#p49406
Note that the Windows application GrblGru (listed on the home page and on the Previewing G-Code page) will also communicate with and control a machine. It has also gained the ability to reflash.[4]
Note that Linux users may need to add their account to the “dialout” group to access the serial port.[5] Shapeoko 3 connected to Debian Linux - Install & Setup notes
Troubleshooting techniques for Comm / Control programs[6]:
- Have you tried other gcode senders?
- Do you have a different PC you could use just for testing, like a laptop?
- It could be static electricity as I have had that problem myself, but not with the same symptoms..
- If you try to run the comm/control program and the G-Codes without powering your steppers, will the PC crash then too?
Contents
Grbl
Official list: https://github.com/gnea/grbl/wiki/Using-Grbl
Type | Name/Link | Description |
---|---|---|
G-code sender | Carbide Motion Machine Control Software | The default control program for the Shapeoko 3, any G-code sender which will communicate w/ Grbl will work.[7] Written using QT frameworks. Available for Windows 7 and later, Mac OS X 10.7 and later. Newer version(s) (v2 or later) support the Shapeoko[8] |
G-code sender and previewer | bCNC | Python GRBL CNC command sender, autoleveler and g-code editor. Requires Tkinter and PySerial.[9][10] |
G-code sender and previewer | grblControl | GRBL controller application with G-Code visualizer written in Qt. Includes French translation. Noted as working well on large files.[11] |
G-code sender | GcodeSender | G-code sender by Otto Hermansson |
G-code sender | Grbl-Panel | A control panel for Grbl, allows use of the keyboard or pointer and quickly choosing from a set of values to jog.[12] Has explicit support for offsets/work-coordinate systems and other features from professional systems. Wiki Frequently updated.[13] Current version: https://github.com/gerritv/Grbl-Panel/files/139771/GrblPanel-Release-1.0.9.3.zip |
G-code sender | GCodeTeleporter | Windows tool for sending GCode to CNC machines.
Features include a GCode Viewer/Simulator, GCode Truncater, Gcode Scaler (under dev) and Web Cam support.[15] |
G-code sender | grblfeeder | Nascent Mac OS X app for streaming gcode files to the GRBL Arduino CNC controller. |
G-code sender | Universal CNC Controller | Simple *nix CLI for streaming G-code to and jogging a grbl-controlled machine. Written in Shell as a wrapper to the stream.py python script. Runs on Linux, OSX, and BSD with py-serial installed. Ideal for low-powered hardware such as the Raspberry Pi. |
G-code sender | GCtrl | Processing Script to stream Gcode. c.f. Gcode_Feeder_GUI.pde, Gremote, rsteppercontroller |
G-code sender and previewer | Universal-G-Code-Sender | Java version of GcodeSender by Will Winder. Cross-platform (Win32, Win64, Linux, MacOS). Additional features include: Truncate decimal point precision to a configurable amount, Remove whitespace, Remove comments, Override speed rates, Arc to line conversion. |
G-code sender and previewer | grblgui | Java program w/ support for Android |
G-code sender and previewer | Grbl Controller | Cross-platform graphical Grbl Controller for Mac, Windows and Linux (including the Raspberry Pi) originally written by Kosme, currently maintained by zapmaker. Allows you to jog X, Y, Z, and see the current position. Newer versions include a previewer, v3.4 will trim too-long lines[16]. Has been criticized for how it handles communications. |
G-code sender | grblfeeder | Python serial terminal designed for sending gcode files to a microcontroller running grbl. |
G-code sender (Windows) | 3dpBurner Sender | Designed for GRBL based devices (laser and milling), uses Advanced Character-Counting streaming protocol for better performance.[17] |
G-code sender (Windows) | CNCInfusion | Currently under development in C#. |
G-code sender | GCode Step and Alignment Tool (GSAT, previously GCS) | Cross-platform GCODE debug/step and alignment tool for Grbl 0.8c or later. with features similar to software debugger. For example usage of breakpoints, change program counter (position), stop and inspection/modification of machine variables, step, run. Especially useful for allowing tool changes during operation. c.f., https://github.com/duembeg/gsat
Forum thread: http://www.shapeoko.com/forum/viewtopic.php?f=6&t=1304 Includes WebCam interface.[18] |
G-code sender | GRBLweb | Web-based GCODE sender and controller for GRBL. Multiple serial devices can be connected to control multiple machines --- able to run on a Raspberry Pi (pre-built Raspberry Pi image based on Raspbian running GRBLweb available here).
http://www.instructables.com/id/Control-your-CNC-over-Wi-Fi/ |
G-code sender | grblUI | Simple graphical user interface programmed in Java, using rxtx for serial communication. |
G-code sender | grblgui | Graphical user interface programmed in Java, using rxtx for serial communication and OpenGL 2.0 for rendering. Displays the job duration and remaining time to complete in minutes, current speed, and buffer status graphically on the toolpath, allows toggling feed hold and entering G-Code commands. |
G-code sender | EFL CNC[19] | Software to control 3 axis stepper motors for GCode CNC projects.
Load Gcode file and stream it, can also flash your Arduino UNO. Integrated settings and options dialog box. |
G-code sender and remote web interface | Octoprint for CNC / Grbl by PxT | Communication program which allows submission of jobs, previewing, monitoring and control through a web interface. Unique in being suitable for Grbl as well as 3D printer firmwares. New version will round to 3 decimal places to preclude the too long line problem. Instructions for installing on a Raspberry Pi. Original version. |
browser-gcode-sender/All-in-one Web program | Easel: app.easel.com | Browser-based CAD + CAM + Machine Control app made by Inventables. Design, generate toolpaths, and/or import SVG, preview in 3D and send the job to your machine from one web app. Note that in its setup it may incorrectly calculate the Z-axis step value. $102 should be changed back to the original value of 20. |
G-code sender (3D Printers) | CNCGcodeController | Allows usage of Marlin, &c. for CNC.[20] |
G-code sender | cncjs | A web-based interface for CNC milling controller running Grbl, Smoothieware, or TinyG. Runs on node.js (installed on a Raspberry Pi or other system). https://github.com/cncjs/cncjs[21] |
http://www.serialcominstruments.com/cnc.php SerialComCNC --- German program for Windows for controlling Grbl. https://github.com/grbl/grbl/issues/657
https://github.com/cheton/cnc --- web-based CNC milling controller for the Arduino running GRBL [23]
https://github.com/nsiatras/sourcerabbit-gcode-sender --- cross platform G-Code sender written in Java, can be used on computers with a small amount of RAM and less powerful CPUs. [24]
https://github.com/martin2250/OpenCNCPilot --- video [25]
https://github.com/svenhb/GRBL-Plotter --- supports Grbl 0.9 and 1.1
https://gitlab.com/Pilatomic/grbl-overseer --- touch friendly. Multiplatform (tested on Windows, Linux and Android)
https://github.com/Denvi/Candle
Note that most things listed under Raspberry Pi below will work on other platforms.
CLI
https://github.com/grbl/grbl/blob/master/doc/script/stream.py https://github.com/grbl/grbl/blob/master/doc/script/simple_stream.py
https://github.com/McNugget6750/SimpleG --- Windows CLI sending tool
https://www.npmjs.com/package/clinc --- A minimalist, scriptable command-line interface for GRBL v0.9.[26]
c.f., the Processing script GCtrl (listed above).
Other
https://github.com/Crazyglue/grbl-parser
https://www.mediafire.com/file/ok7nc1t8em983b3/Diba+controller+2.5.01.rar (Windows) --- GUI application for GRBL 0.9J with 2D G-Code visualizer
Laser-specific
http://github.com/arkypita/LaserGRBL https://github.com/arkypita/LaserGRBL/releases [27]
Chrome
Type | Name/Link | Description |
---|---|---|
chrome-gcode-sender | chrome-gcode-sender | gcode sender for the Chrome web browser and ChromeOS computers. github source. |
https://github.com/sir-buckyball/chrome-gcode-sender
Interpreter
Type | Name/Link | Description |
---|---|---|
G-code Interpreter and machine controller | LinuxCNC (formerly EMC2) | Now known as Linux CNC- a free Linux based application for controlling and monitoring CNC machines. It runs from a Live-CD distribution of Linux called LinuxCNC. It is used for machines/drivers working through a parallel port connection, so no USB controller is supported. |
Android
Note also the Chrome sender above under Grbl
https://play.google.com/store/apps/details?id=org.kasdev.cnccommander&hl=en [28]
https://play.google.com/store/apps/details?id=in.co.gorest.grblcontroller github [29]
https://github.com/zeevy/grblcontroller
Type | Name/Link | Description |
---|---|---|
G-code sender (Android) | GRBLDroid | Allows your Android device to control your CNC.[30] |
G-code sender (Android) | TinyG CNC Console | Allows your Android device to control your CNC controller via network, USB host mode (3.1 and up) and USB accessory mode (2.3.4 and up). [31]. |
Raspberry Pi
Several of the comm/control programs run on the Raspberry Pi.
GrblServer is notable for being specific to it and using Node.js: https://github.com/cho45/GrblServer
Similarly, there is New minimal control software: RasPyCNCController, available at: https://github.com/fsantini/rasPyCNCController which has image files available from: http://www.francescosantini.com/threed.html --- now supports touch screens and the Contour Design ShuttleXpress.[32] Has support for Grbl's check mode.
http://opensourceecology.org/wiki/GcodeCommunications#Universal_G-code_Sender_on_Raspberry_Pi [33]
https://github.com/winder/Universal-G-Code-Sender/issues/47 [34] --- instructions for installation: http://www.shapeoko.com/forum/viewtopic.php?f=4&t=7942&p=63292#p63292
https://github.com/cncjs/cncjs Shapeoko 3 XXL + Raspberry Pi 3 + CNCJS + Tablet [35]
Recommended OS: http://wiki.protoneer.co.nz/Raspberry_Pi_CNC#bCNC_.5BPython.5D.5BRecommended.5D [36]
https://www.v1engineering.com/dip-a-toe-in-the-pool-v1pi/ [37]
Multi-Platform
Type | Name/Link | Description |
---|---|---|
browser-gcode-sender | ChiliPeppr | 3D Viewer. Gcode Sender. Jog controls. Has a Serial Port JSON Server you put on device with serial port like Win/Mac/Linux/Raspberry Pi/BeagleBone/etc, but run jobs from your local laptop/desktop browser. Exists as a "Hardware Fiddle" with ability to fork all code. [38] Google forum There are now SPJS downloadables for Pi1 and Pi2.[39]
Workspace for auto-leveling: http://chilipeppr.com/imania [40] metric-only, Imperial not supported[41] limited to 5MB file size due to browser buffer limitations[43] |
G-code sender | Steuersoftware JCNC V1.03 | G-codesender for Grbl and TinyG, with preview of the toolpath.[44] |
G-code sender and previewer | Goko | GCode sender, 4 Axis 3D Viewer, Jog controls, GCode modification, Wrapper, Autoleveler, metric and imperial units.
For TinyG v0.97 and Grbl v0.8 & v0.9 [45] 1.1 support added in v0.3.4.[46] |
Windows Machine Simulation
Grbl Gru supports Grbl and TinyG.[47] --- for Windows users who don't mind closed-source, it should definitely be considered. Listed on the Previewing G-Code page.
TinyG
- tgFX --- A GUI controller for the TinyG motion controller (discontinued, see Chilipeppr instead)
Additional Programs
- https://github.com/GridSpace/grid-host --- part of Kiri:Moto
- https://github.com/welch/shapeoko --- Python utilities to communicate with the Shapeoko desktop CNC machine and its GRBL controller: gcat (send a gcode file to the grbl controller), gdraw (use keypresses to interactively move the shapeoko), gsh (send gcode commands to the grbl controller)
- http://cheton.github.io/cnc.js/ --- a web-based CNC milling controller for the Arduino running GRBL. https://www.npmjs.com/package/cncjs Raspberry Pi instructions: http://community.carbide3d.com/t/shapeoko-3-xxl-raspberry-pi-3-cncjs-tablet/2458 Use with Linux: http://community.carbide3d.com/t/options-for-linux/5863/13
- http://www.caliper2pc.de/download/en_download.html --- interface to connect digital calipers to a PC via USB affords a digital readout.
- https://sourceforge.net/projects/gcodedownloader/
Uncategorized
https://github.com/pknoe3lh/cncgcodecontroller
Obsolete / Moribund / Abandoned?
- G-code sender PythonCNCGUI --- HMI/GUI done in Python using Opengl for graphics is used to interface to modified Grbl CNC code on an Arduino over USB. Operating System Notes: Currently runs well in Linux with Ubuntu and Python2.5. Also in process it now runs in Windows XP 32-bit with Python2.7.
- G-code sender GUIGcodeWriter_1.0.py --- Arduino G Code Sender Program. Python, python serial, and tcl/k (tkinter).[48]
- GrblHoming --- Gcode sender, monitor and homing tool for GRBL for Windows and Linux systems. See also: https://github.com/zapmaker/GrblHoming and https://github.com/zapmaker/GrblHoming/tree/Letartare [49]