3. Transferring GRBL Code to the Machine with Universal Gcode Sender (UGS) #
After generating your G-code file with LaserMagic, you need to transfer this file to your CNC machine. We recommend using Universal Gcode Sender (UGS), a popular open-source software for sending G-code to machines controlled by GRBL.
Prerequisites #
- Ensure Universal Gcode Sender (UGS) is installed.
You can download the latest version here.
Step 1: Loading the GRBL File in UGS #
- Open the GRBL file:
- In UGS, go to
File
>Open
. - Select the
.ngc
file you exported from LaserMagic.
- In UGS, go to
- Preview the GRBL:
- Use the preview window to verify the toolpath.
- Make sure everything is correct before starting the job.
Step 2: Connecting to the Laser Machine #
To connect to your laser machine, select the correct port, set the baud rate (usually 115200
), and ensure the Firmware is set to GRBL
.
Then, connect by clicking the following icon:
Step 3: Sending the GRBL to the Machine #
- Position the machine:
- Use the manual control commands in UGS to position the machine head at the desired starting point.
- You can use commands like
Home
, andX/Y/Z Axis Control
.
- Start the process:
- Click Send (1) to begin sending the GRBL file to the machine.
- Monitor the progress in real-time in the console window.
- If any errors occur, you can pause or stop the process by clicking Pause (3) or Stop (2).
Step 4 : Control and Finish the work #
Once the operation is complete, the machine should return to its original position.
You can use additional commands in UGS to move the machine head or make further adjustments.