G-code interpretation

Hey yall! Working on a senior project. I was wondering if Carbide 3D would allow me to insert g-code into the system, bypassing the user interface completely and run in the background without having to touch it?

Are you asking if you can send G-Code to the machine without a G-Code Sender, like Carbide Motion, or G-Sender, et.al. ??

I don’t think so. You still need something to send it to the machine. And I think it uses a serial/TTY interface, so it needs to understand xON/xOFF, communicate at a specific baud rate (115,200).
I think the boards are limited to (probably 32k) memory to store incoming commands, so the interface needs to be able to pause when the memory is full (xOFF), and send more when there is available space (xON).

But as long as you have a TTY interface, it should be possible. You would need to make sure your G-Code conforms to the version of GRBL you have on your machine.

But most interfaces have Pause, Stop, Reset etc… buttons to help you when something goes wrong, like a broken tool, missed steps on an axis, or a dull tool needing to be changed.

Can you give more detail about your project?

You may use pretty much any communication / control program you wish — the Grbl folks have a list:

and usually gctrl is used to test sending large files — it’s a CLI program — is that what you want?

Or, it’s “just” a serial interface — you can use a serial program of your choice.

Sadly cant give more info on project because of NDAs but essentially trying to use a software that allows us read g-code we insert into it and run for users to utilize without having to do all the controls and user-interface stuff. Instead they’d be using the CNC machine its integrated to and run programs through there. We’ve considered Carbide and Universal G-code sender (UGS) and want to know which is best and fastest to use for this without touching the g-code through that software. Thanks!

You have a Carbide machine?

There are controllers that can do what you want. You can also make or purchase “offline” controllers for Grbl based machines that can run preloaded gcode.
Depending on what you’re doing, you might need to write your own interface.

That said, once the gcode is created it can be run

If you just want a single “play” button to run whatever it is you’re doing, you’re back to writing the interface.

@neilferreri Gotcha. No, I have a Nomad-3 CNC machine and want to run g-code throught carbide motion 3D.

While Carbide Motion used to have a web interface which was accessible by programs, that was removed for the sake of better performance/simplicity — there are two different axes here:

  • simplicity of usage — that’s the raison d’être of Carbide Motion
  • programmability/customizability — beyond Quick Actions, that is not something which CM is set up for

since you’re trying to add simplicity by programming, I’d recommend one of the (unsupported) 3rd party options such as Universal G-code Sender or bCNC — I’m curious though, we’ve tried very hard to make CM simple — what is so complex that a separate front-end is warranted?

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.