Laser stops very close to job start

drew a letter T in absolute centre of bed , laser cuts first pass up y axis then starts to go x plus then stops ??
recently installed limit switches on my 3018 pro which has aprox 300x180 work area. configured grbl and homing sequence works fine . homing is front left
job start position is front left
z goes all wall up , hits switch then comes back down a bit
then x moves to far left and y axis table moves to back and triggers that limit switch so home is bottom left 0:0:0 .

here is the g code for this simple request to draw the letter T . i tried masking a simple box , circle etc to see if i could get laser to complete a job .
because i am drawing the job exactly in the centre ogf the bed i cannot see why the job stops no matter what i draw.

; LightBurn 0.9.07
; GRBL device profile, absolute coords
G00 G17 G40 G20 G54
G90
M4
; Cut @ 11.811 in/min, 50% power
M7
G0X5.9528Y3.1477
G1X6.0463S500F11.811
G1Y3.7691
G1X6.2794
G1Y3.8523
G1X5.7206
G1Y3.7691
G1X5.9528
G1Y3.1477
G1X6.0463
G1Y3.7691
G1X6.2794
G1Y3.8523
G1X5.7206
G1Y3.7691
G1X5.9528
G1Y3.1477
G1X6.0463
G1Y3.7691
G1X6.2794
G1Y3.8523
G1X5.7206
G1Y3.7691
G1X5.9528
G1Y3.1477
G1X6.0463
G1Y3.7691
G1X6.2794
G1Y3.8523
G1X5.7206
G1Y3.7691
G1X5.9528
G1Y3.1477
G1X6.0463
G1Y3.7691
G1X6.2794
G1Y3.8523
G1X5.7206
G1Y3.7691
G1X5.9528
G1Y3.1477
G1X6.0463
G1Y3.7691
G1X6.2794
G1Y3.8523
G1X5.7206
G1Y3.7691
G1X5.9528
G1Y3.1477
M9
G1S0
M5
G90
; return to user-defined finish pos
G0 X0 Y0
M2

I pasted the code into an online simulator, and it looks fine.
https://nraynaud.github.io/webgcode/

It’s possible that you don’t have the travel limits in the machine set properly. What are your settings? Type $$ in the console and press enter, paste the results here.

Ok I will do that , Is it possible issue could be the USB cable routed too close to power transformer? What other things can effect USB cable interference?

Waiting for connection…

Grbl 1.1f [’$’ for help]

ok

Homing

ok

Starting stream

error:20

On or near line 3:

Stream completed in 0:00

ok

ok

ok
here is job i tried this morning , just a simple square , only performed 2 sides then stopped?
here is the g code for that :
; LightBurn 0.9.07
; GRBL device profile, absolute coords
G00 G17 G40 G20 G54
G90
M4
; Cut @ 11.811 in/min, 50% power
M7
G0X3.6642Y2.7186
G1Y4.0582S500F11.811
G1X5.2008
G1Y2.7186
G1X3.6642
G1Y4.0582
G1X5.2008
G1Y2.7186
G1X3.6642
M9
G1S0
M5
G90
M2

here is my $$ info:
Waiting for connection…

Waiting for connection…

Grbl 1.1f [’$’ for help]

ok

Homing

ok

$$

$0=10

$1=25

$2=0

$3=4

$4=0

$5=0

$6=0

$10=1

$11=0.010

$12=0.002

$13=0

$20=0

$21=1

$22=1

$23=3

$24=25.000

$25=500.000

$26=250

$27=2.000

$30=1000

$31=0

$32=1

$100=800.000

$101=800.000

$102=800.000

$110=2000.000

$111=2000.000

$112=100.000

$120=20.000

$121=20.000

$122=20.000

$130=300.000

$131=180.000

$132=40.000

ok

error 20 on or near line 3:
“error:20” : _(“Unsupported or invalid g-code command found in block.”),

The 3rd line of actual GCode, counting from 0, is M7. You have M7 air assist enabled in the device settings, and that’s not supported by most GRBL implementations because of a bug in GRBL. The default is M8, so at some point you changed that switch in Edit > Device Settings, near the lower right. Change it back to M8 and that particular problem will stop.

Wow , you guys rock, that fixed the issues. Thanks for the assistance
Turned off air assist ,

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