I watched the video, didn’t remember anything about these values, it’s mostly on air assist. Could you give me a minute/second into the video to hear what he has to say about changing these?
I have to agree with @misken about it being absolutely impossible.
The S-Value Max is actually a maximum spindle speed settings that are sent to the controller. The only difference is what you send the controller.
With a zero in $31, at 50% power, using S-value max at 10000, it will send an S5000 code, set to 255 it will send an S127. Grbl uses the maximum/minimum spindle speeds, and generates the difference between them linearly.
Each of these produces a 2.5V (50% of 5V) output of the analog output.
If it’s pwm, which is becoming lower cost, produce a 50% pwm to the device. If you’re driving a digital device, such as an led or rf co2, it needs to be a pwm type of output from the controller. Analog or pwm is fine for a glass tube co2.
It’s been a while since I’ve even referenced gcode but I think these are the values that are sent. In any case, we’d all do this and not spend a bunch of money on a more powerful laser. There are plenty of people here that can correct me if I goofed anywhere.
Personally, I think they should advise you to set $31 (minimum spindle speed) to zero. Default grbl outputs about 0.02V (~0.01% power) at minimum spindle unless it’s value is set to zero. You want the laser to turn off, so this needs to be zero.
What this does give you finer control of the output. I have 8 bit and 16 bit controllers. The 16 bit machines give me over 32k steps…
I have yet to find a material that I can do a grayscale engraving with any kind of reasonable range in the black to white gradient. Most of these materials will compress the grayscale rang over a much smaller range.
I don’t know of a material that allows a good grayscale across 255 steps, so I see no real improvement in having 32k steps.
Good luck
