PDA

View Full Version : GRBL and UGS ??? I don't understand



MCmec
03-01-2020, 03:02 PM
Hi New to all this CNC stuff. I'm learning but have a question please.

Can we say I am considering building my own CNC router or even buying a frame and adding the electrical bit's my self. I'm thinking about a Arduino UNO controller.

Can anyone tell me the relationship between GRBL and UGS? Do they do the same sort of thing, can anyone explain please?

Mark

Neale
03-01-2020, 06:52 PM
GRBL is motion control software that runs on Arduino. It takes in gcode - think "move cutter to X=10, Y=25" coordinate-type instructions. It turns these into the pulses that the motors need to move the actual machine axes, synchronizing, moving round curves, etc. It's quite a complex task. However, the gcode will usually start on a PC somewhere. This has to be drip-fed into GRBL as GRBL can only hold and deal with a few seconds-worth of gcode and that's where UGS comes in. It is software that runs on a PC and feeds gcode as required to the connected Arduino. It also provides the user interface that lets you select gcode file to run, home the machine (via commands that UGS sends to GRBL), set workpiece zero, and all the other little housekeeping jobs involved in running a CNC machine. No overlap between them - they are complementary and both are needed in a setup like the one you are planning.

MCmec
03-01-2020, 07:14 PM
GRBL is motion control software that runs on Arduino. It takes in gcode - think "move cutter to X=10, Y=25" coordinate-type instructions. It turns these into the pulses that the motors need to move the actual machine axes, synchronizing, moving round curves, etc. It's quite a complex task. However, the gcode will usually start on a PC somewhere. This has to be drip-fed into GRBL as GRBL can only hold and deal with a few seconds-worth of gcode and that's where UGS comes in. It is software that runs on a PC and feeds gcode as required to the connected Arduino. It also provides the user interface that lets you select gcode file to run, home the machine (via commands that UGS sends to GRBL), set workpiece zero, and all the other little housekeeping jobs involved in running a CNC machine. No overlap between them - they are complementary and both are needed in a setup like the one you are planning.

Wow! thank you very much for the detailed reply it has cleared up my query in full. Much appreciated.

Mark