Spindle not starting with UGS [Solved]

I have a X-Carve and when using UGS the spindle will not start , all other commands seem to work & the spindle WILL start with Easel… Any ideas?? I’ve tried versions 1.08 & nightly builds of UGS…



Which Software you’re working. If it is Vcarve, there is modified post processor you can use.

Yes it is Cut2D that I am using I am outputting GCODE using the X-Carve GCode from Cut2D I’m not aware of the post processor …However issuing the M3 or M4 command direct from UGS does not work either.



Direct command didn’t work on my UGS either. That’s why I add M03 to start, M05 to stop. M04 doesn’t work. That’s for different spindles to turn counter clockwise. Simply open post processor file with note, add commands to beginning end ending.

Here is what is currently in the PP file:
begin HEADER


I would assume that would work, are you saying add M03 to the top say before the T1?


I’m away from my work PC. Let me look for modified post processor several times previously.

No Problem, thanks for the help!


Try this;


And This one for mm.


Depending on how you have your Grbl set up you may need to send a spindle speed (something like S1000) along with the M3 command.

Ahh the speed entry fixed the direct command! Thanks I’ll try the new post processor tomorrow. It may well be that i need to specify a spindle speed in Cut2d as well…

Thanks both of you


OK Those fixed things!! Thanks


Very interesting…

I wired mine up… edited the Postp file and it starts automagically like it should, but won’t stop.

I can issue the m5 command from UGS and it turns off. It’s like it is being ignored.

What program are you using to generate the G-code?

Vcarve desktop.

I took the .pp file provided earlier in this thread and it didn’t work. I put the power off in the FOOTER section. I can’t see where it’s being sent to XC from the UGS console. I even tried hiding it in the line where it sends the carriage to home.

When I look at the .gcode file, I don’t even see where the power on part is in there. I’m pretty sure I’m editing the correct .pp file since I used the “open data directory” option form VC. It’s almost as if it’s not being put in the gcode file, but I’m not 100% sure of that.

Use one of the post processors in this thread. Scroll down to find them.

Put it in this directory (change for your program and version):

C:\ProgramData\Vectric\VCarve Pro\V8.0\My_PostP

1 Like

Phil - I used my VC 9.0 to open up the data directory (the xcarve pp file was already there). I edited the file and saved it in Notepad. I did an upgrade from 8.5 to 9.0 several months ago so I wonder if somehow it’s still using the v8.5 PP file instead? I expected to see the M commands in the .gcode file but didn’t. I’m not quite sure how the spindle is getting turned on without it. Maybe it’s squirreled away somewhere and I’m not seeing it.

I updated the existing one so I didn’t need to change the PP when exporting… When I get home tonight, I’m gonna move the new PP’s I downloaded from the recommended thread and will rename them as you suggest. That is a good idea and am a little miffed I didn’t think of that. lol

1 Like

OK. It’s still not working, but I have more info…

1st - I was editing the file in PostP and not MyPostP so it wasn’t working…

2nd - downloaded the Vectric_X_carve pp files and put them in the MyPostP directory for9.0

I had to restart VC before it would recognize it.

I start a carve and the spindle fires up, does it’s thing, returns to home and still runs. The gcode window displays:



Skipping line: M30

**** Finished sending file in 00:00:16 ****

The m5 was never sent despite it being in the .gcode file.

IF I hit the red stop button in UGS while it is carving, the spindle will power off.

If I look at the gcode file, the last lines are:
G0 Z0.5010
G0 X0.0000 Y0.0000

This is very odd.

Everything works fine in Easel, too.

Looks like it might be an issue with UGCS. @WillWinder

Starting to look that way. I tried it on both the Sep and late Nov builds and it neither worked.