Clearing current program

A while ago there was a topic, that I can’t currently find, that was asking if there was a way to clear the current program with a button. At the time the consensus was that it wasn’t possible.

It turns out that it can be done by writing a stand alone app that uses the Centroid API. The down side is that you have to build/start a standalone app. The upside is that you have much greater control over the display.

Right now I have been extensively modifying some of the macros. I use the auxiliary display app, to put up some debug state, and keep track of what tests I need to run and document the result. Its not really in a state where I can share.

Eventually I will probably go with a second monitor to display this.

If there is enough interest I will clean it up a bit for public consumption and put it up on github.

Yes that was (how do you clear a loaded job).

I created an empty text file and saved it as CLEAR.cnc. It clears the last program. Is this what you were referring to?

I was referring to creating an application that puts a button on the screen that performs the clearing function.

You could do that with the Centroid API if you wanted. it would be a fair amount of work for just that feature though

I use a helper app that runs on my Windows CNC machines (Avid and a standalone laser) that securely pushes g-code from my posts running on a Mac through the centroid API. Wasn’t that much work (for claude) and is super convenient.

I did something similar.

The Deskproto 8 software didn’t allow the tool change to be configured the way I wanted it so I created an app that converted from a file that wouldn’t run to a file that does tool changes correctly. While I was there I put the clear job button in.

I too have found that the AI coding makes this pretty easy.