Universal G Code Sender Basics

We use Universal G Code sender on many of our GRBL machines in the shop.  If you have an X Carve or a Shapeoko 3, you will not be able to run your machine in Easel or Carbide Motion without a delay on the laser ON/OFF command.  The easiest way to get around this is to use Universal G Code sender to run your machine!  You can use this with our inkscape plugin and the laser etch software.  If you plan on doing large images with PicLaser, then we recomend using PicSender.

We will show you how to both download and install it on your machine as well as run it.  Let’s get started!

Downloading Universal-G-Code-Sender

Using Universal-G-Code-Sender

1.Verify that your Java is up to date (or download current java version)

Please note that the latest version of universal-G-code-sender requires Java 7 or higher. While earlier versions of Universal-G-Code-Sender can be ran on Java 6, Java 7 or higher is recommended.

To verify that your java version is up to date open your windows start menu and search “About Java”

NOTE: If no results appear it is likely that you do not have java installed. You should download Java using the link displayed below next to Java’s download page.













Once the window has opened verify that your current java is up to date.

2 version

If your version is java 7 or higher you’re ready to install Universal-G-Code-sender. If not you must first download java to your computer. The free downloadable file for Java can be found at the link listed below.






Java’s Download Page:


2. Downloading Universal-G-Code-Sender.

 The free downloadable file for universal G-code sender can be found at the link listed below.

Universal-G-Code-Sender‘s Download Page:

You will not be able to run this software without first having Java installed on your computer (see previous step). Once you’ve opened the page containing the download for universal G-code sender scroll down “stable builds” and select version 1.0.9 to be downloaded.

3 download page

Opening the file:

 If you are using chrome as your browser the zip file will appear at the bottom of the page. Select this file to be opened.

4 zip file

If you are using Internet Explorer the process is very much the same, but the browser displays the file differently. Select and open the file.

5 open file

Once you have opened the zip file on your computer you must then extract the files by clicking “Extract all”.

6 extract

As shown below Windows 7 will have a slightly different page layout than windows 10. Select “Extract all files” for the file to be extracted to your computer.7 extract all

Before the file can be Extracted to your computer you must first select a destination for it. It is convenient for the file to be placed on the desktop for ease of access.

Select browse to open your computers library.

8 browse

Select your desktop as the destination for you files to be extracted. By doing this your file (universal-G-code sender) will appear as a clickable icon on your desktop.

9 desktop

Once the proper destination has been selected you may place the files by clicking “Extract”.

10 Destination

Now that the files have been extracted to your desktop successfully you may close out your previous windows.



3. Using Universal-G-Code-Sender

UGS (Universal-G-Code-Sender) is an application used to send commands from your computer to your machine. In this tutorial we will discuss the basics of UGS necessary for the operation of your machine.

IMPORTANT: While UGS is an excellent means of sending commands to your machine it is not meant to create G-code or turn images into commands that your machine will understand and replicate. Creating the G-code (a language in which people tell computerized machine tools how to make something) can be done using software such as Inkscape, Laser Etch, Pic Laser, etcetera. Once the G-code has been created it may then be sent to your machine using UGS.

To begin using Universal-G-Code-Sender you must first open the application by double clicking its icon on your desktop. If you do not have UGS see download instructions.

1 icon

Once the window has opened select the com port for your machine. This is the communication interface for your machine and your computer.

To find the desired com port for your machine select Windows “start” then select “devices and printers”. Right click the image representing your device and select “properties” on properties select the “hardware” tab and your devices COM port will be listed under “device functions” (COM#)

2.5 dev

Scroll through your devices and identify the icon that represents your machine.

x controller 2

Once you’ve opened the properties window you can identify which com port is used to communicate with your machine.

2.7 fgdafg

As shown below we are selecting the com port that corresponds with our machine.

2 com port

For our purposes the firmware should be set to GRBL and the baud rate should be 115200.

3 open

4 alarm

In the tabs select “machine control” to open the manual control interface.

WARNING: when your machine is told to “home” it will travel in every axis until it has reached an end stop. Be certain that your end stops are functioning and be prepared to turn off your machine quickly to avoid damaging any hardware.

5 home

Below is the UGS machine control tab. Once you have checked the box labeled “Enable Keyboard Movement” you will be able to jog (move machine using manual operation) your machine in each axis using the corresponding keyboard commands.

Note:  If you do not have limit switches on your machine, then just press the “$X” button to remove the lock on the machine and put the status to green.

Manual Jogging:

Note: While changing the step size and units in this interface will affect commands that are sent manually, this will not change the way that jobs are ran on the machine.

The picture below displays the manual controls for you machine and the keyboard commands that can be used in place of clicking these commands.

6 keys

Now that we have discussed simple jogging commands and homing your machine you should be able to place the tool wherever you choose.

You will need to adjust the Z axis so that your laser tool is positioned 3 inches above the material you wish to engrave or cut.  This is where we focused our laser on our machine.  If you have not focused your machine then follow the instructions located here:

Focusing Your Laser 101


This will require you to measure the distance with a ruler.


21 3 in

After your Z axis has been adjusted to the proper position you may begin jogging the X and Y axis of your machine to the desired location. The location of your X and Y axis is up to your discretion, just make sure that your gantry is free of obstruction and has ample room on the job table to perform your desired task.

Once a suitable position has been found you may set your machines Zero location.

Note: While a machines home position is its position in regards to its end stops the Zero location is the starting point for the machine to perform a task.

7 zero

When you have set your machines Zero location your X, Y, and Z axis should read zero if no movement from this position has been made. By selecting return to zero your machines gantry will return to this exact location from wherever it is on the job table.

22 position

Now that your machine has been zeroed it is time to perform a job using your machine.


Creating a Folder for your G-code

Now we will create a file location for your G-code. This will be the location that you will save all of your G-code for use with your machine.

IMPORTANT: Without a file location you will not be able to store G-code files that you have created for your machine or send G-code files to your machine. Every job that your machine performs is a G-code file. A G-code file is a set of directional commands for each axis as well as spindle (or laser) on/off and power control (for RPMs of you spindle or watt output of your laser) commands.

9 file eplorer

By selecting the file explorer or library you will be opening a vast list of files or storage areas. To be certain that you are creating a File that is accessible on your computer we will first select “Computer” “My Computer” “This PC” or whichever has a picture of a computer on it (not with a globe). Once you have located your computers local storage area we will select a device to create a folder on. Remember this location! For the folder we created I’ve selected “This PC” and local disk (C:)

10 select drive

By doing this you are creating a location to store your G-code files.

11 create file

Since this will be the location that we store our G-code files we will name this folder “Gcode” and click elsewhere on the screen to deselect the folder. You now have an empty folder on your computer to place G-code files for later use.

12 gcode file pic

We have prepared a simple G-code file for your machine using Inkscape. A detailed instruction tutorial on using inkscape is located here:

Inkscape Laser Plug-In

For this tutorial you can click on this file:


This link will open a page displaying a G-code file. This is the coded commands that will be sent to your machine.

Once the page has been opened, right click the document shown and select “save as…”

13 save as

Save the file from the page in the “Gcode” folder we previously created

14 save to folder

After opening UGS connecting your machine and preparing it for a job as shown previously you may access file mode on UGS by clicking the tab as shown below.

15 browse

Once in file mode you will select browse to search your computer for the file saved in the “Gcode” folder we have created

16 dfhd

Select the “WellDone.Gcode.txt” file that you saved in the “Gcode” folder and Open it.

17 gnskjfg

Once the file has been opened on UGS and your machines zero has been set with the laser tool three inches above the material you wish to engrave you may send the file.

Select visualize to view the G-code that will be sent to your machine.



Warning: When the file is sent to you machine and the laser driver is switched to pwm mode ready to receive commands the laser will turn on. please wear your safety goggles while operating the laser. Direct exposure to the beam can blind you in an instant!



If everything was done as instructed your machine should have engraved a thumbs up much like the one shown below!

23 thumb

No comments yet.

Leave a Reply