$30 should be 1000 and generally you don’t change that and instead you vary the power in your application which generates your gcode.
I think ortur uses the same 32bit controller and firmware on their Laser Master and Laser Master 2 products and if so, this is what my configuration looks like and the only thing which would be different is the bed size and maybe end stop settings.
$130 and $131 are the bed dimensions.
$30 is your S-Max and as you can see, my Laser Maser/LM is 160x150 and S-Max is 1000
$0=20
$1=50
$2=0
$3=1
$4=0
$5=0
$6=0
$10=1
$11=0.050
$12=0.002
$13=0
$20=1
$21=1
$22=1
$23=7
$24=600.000
$25=3000.000
$26=100
$27=2.000
$30=1000
$31=0
$32=1
$33=250.000
$100=80.000
$101=80.000
$102=80.000
$110=9000.000
$111=9000.000
$112=9000.000
$120=2200.000
$121=1800.000
$122=2500.000
$130=160.000
$131=150.000
$132=1.000
$$
$0=20 (Step pulse time, microseconds)
$1=50 (Step idle delay, milliseconds)
$2=0 (Step pulse invert, mask)
$3=1 (Step direction invert, mask)
$4=0 (Invert step enable pin, boolean)
$5=0 (Invert limit pins, boolean)
$6=0 (Invert probe pin, boolean)
$10=1 (Status report options, mask)
$11=0.050 (Junction deviation, millimeters)
$12=0.002 (Arc tolerance, millimeters)
$13=0 (Report in inches, boolean)
$20=1 (Soft limits enable, boolean)
$21=1 (Hard limits enable, boolean)
$22=1 (Homing cycle enable, boolean)
$23=7 (Homing direction invert, mask)
$24=600.000 (Homing locate feed rate, mm/min)
$25=3000.000 (Homing search seek rate, mm/min)
$26=100 (Homing switch debounce delay, milliseconds)
$27=2.000 (Homing switch pull-off distance, millimeters)
$30=1000 (Maximum spindle speed, RPM)
$31=0 (Minimum spindle speed, RPM)
$32=1 (Laser-mode enable, boolean)
$33=250.000
$100=80.000 (X-axis travel resolution, step/mm)
$101=80.000 (Y-axis travel resolution, step/mm)
$102=80.000 (Z-axis travel resolution, step/mm)
$110=9000.000 (X-axis maximum rate, mm/min)
$111=9000.000 (Y-axis maximum rate, mm/min)
$112=9000.000 (Z-axis maximum rate, mm/min)
$120=2200.000 (X-axis acceleration, mm/sec^2)
$121=1800.000 (Y-axis acceleration, mm/sec^2)
$122=2500.000 (Z-axis acceleration, mm/sec^2)
$130=160.000 (X-axis maximum travel, millimeters)
$131=150.000 (Y-axis maximum travel, millimeters)
$132=1.000 (Z-axis maximum travel, millimeters)
ok
[GC:G1