PWM frequency change Via gcode, assigned by layer

IMHO, obviously conflicting with @JohnJohn, I don’t know how you could possibly accomplish this with a K40, not the frequency, but the concept…

These control the lps in a totally different manner than a dsp and that makes doing this moot or maybe even worse, unpredictable.

The pwm does not control tube current on these configurations. It only controls laser enable

A 1kHz pwm is the highest frequency they could possibly use with a dc excited laser…

Check out this post about wiring… I drifted into pwm control of a K40… :face_with_spiral_eyes:

Good luck

:smile_cat: