GRBR Settings for VFD Spindle

I have the VFD spindle for my S5P, and have recently switched from CNC routing to Lightburn for laser etching. When switching settings back to CNC, it seems my VFD spindle speed is maxed out, regardless of what my tool path states.

I think this is the $30=1 code in the GRBL settings, but Im not sure.

I thought triggering spindle on/off via MDI prior to running my file would maybe reset the settings, but it still maxed out the RPM when I ran my job.

Any thoughts on what I should adjust so I can use my spindle at different speeds, like I had been?

Thank you

First verify the problem. Also, check $32, since it is a laser specific value. I am assuming you have Carbide Motion available and working.

  • Connect to the machine. No need to initialize, but it won’t hurt either.
  • Go to settings. Hit ‘Show Log’. Check ‘Hide Status Reports’ to reduce the noise.
  • Close settings. Go to the MDI tab, and enter $$ and send that. The Log window will show the result.
  • Look for the values of $30 and $32.

From the MDI tab, you can change these values:

$30=24000
$32=0

I think 24000 is the default value that CM uses for $30. If your spindle has a different maximum speed, you can enter that instead.

You can check them again by entering $$.

If this the solution, you can create a ‘Quick Action’ to execute these commands - although the Quick Actions say they accept GCode, they will actually accept any valid GRBL commands.

Of course, for just 2 commands like this, just typing them into the MDI tab is also pretty easy.

When in doubt run the configuration and that will put you back in the CNC mode.

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