Lightburn Error 20

I realise the following has been asked numerous times but the solutions given don’t seem to be working for me. Rotary is disabled, settings are correct, have removed laser and reconnected. Atomstack S20 pro is the laser in question, everything was perfect until this.

; LightBurn 1.3.01
; GRBL device profile, absolute coords
; Bounds: X143.67 Y51.75 to X172.41 Y80.25
G00 G17 G40 G21 G54
G90
M4
; Image @ 3000 mm/min, 20% power
M8
G0 X154.87Y51.754
; Layer C00
G91
G1 X1.25F3000S0
G1 X0.501S200
G1 X1.25S0
G1 X0.167Y0.084S0
G1 X-1.25S0
G1 X-0.584S200
G1 X-1.25S0
G1 Y0.083S0
G1 X1.25S0
G1 X0.167S200
G1 X0.334S0
G1 X0.167S200
G1 X1.504S0
G1 X0.585S200
G1 X1.25S0
G1 X0.167Y0.084S0
G1 X-1.25S0
G1 X-0.752S200
G1 X-1.42S0
G1 X-0.168S200

Can you describe the problem, or more accurately, what you were expecting?

The following is showing in the console, it will frame the job but will not start the job

Starting stream

Layer Labels

[MSG:M4 requires laser mode or a reversable spindle]

error:20

Unsupported or invalid g-code command found in block.

On or near line 2:

Job halted

Stream completed in 0:00

ok

ok

Can you please report the value of $32 ?

$32 = 0

Sorry im a noob, have now set to 1 and is working.

Thank you so much for the help, dont know how it happened

No need to apologize. Everyone starts out ‘new’.

Glad your issue is resolved

1 Like

error:20

Comando g-code non supportato o non valido trovato nel blocco.

Sulla linea o vicino alla linea 2:

Job halted

error:20

Unsupported or invalid g-code command found in block.

On or near line 2:

Job halted

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