Error:20 Unsupported or invalid g-code command found in block. On or near line 0:

I have a Atomstack x7 pro with lightburn software. I’m getting this error no matter where I start the laser head.
Would appreciate it if anyone could assist.

Starting stream
Layer C00
error:20
Unsupported or invalid g-code command found in block.
On or near line 0:
Job halted
Stream completed in 0:00
ok
ok
ok

Here are the first couple of lines of our g-code.

; LightBurn 1.1.03
; iLaser device profile, current position
; Bounds: X0 Y0 to X39.67 Y17.78
M101 P381
G00 G17 G40 G21 G54
G91
M4
; Cut @ 6000 mm/min, 20% power
M8
G0 X2.237Y0.944
; Layer C00
G1 X0.265Y-0.24S200F6000
G1 X0.365Y-0.227
G1 X0.392Y-0.171
G1 X0.413Y-0.111
G1 X0.427Y-0.05
G1 X0.471Y-0.023
G1 X0.472Y0.012
G1 X0.644Y0.068
G1 X0.637Y0.115

Thank you

You’re using an iLaser device type. Your laser is a GRBL device type. Go to Devices in Laser window. Then edit your laser and change device type to GRBL. Assuming other choices are correct you can leave those.

2 Likes

Thank you so much Berainlb. It’s working now. #newby

1 Like

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