X-axis problem at Lightburn with the X-Carve

Good Morning all,
I am back after months of searching for my X-axis problem. (As my work allowed)
X-Carve 1000-1000 year 05-2016
GRBL 1.1h.
Gshield v5.b.
Arduino uno
I renewed the cable from the laser to the g-shield and replaced the laser (identical in construction, manufacturer itself).
Now I have created a second profile for my X-Carve in the GRBL setting in Lightburn. (GRBL-M3 (1.1e or earlier). I know GRBL 1.1h comes after GRBL 1.1e, but I wanted to test it.
I still have the same cutting or engraving problems.
It scores the X axis. It cuts the Y axis perfectly.
I am attaching a G code of a square in GBRL version 1.1h and one in GRBL 1.1e or earlier.
I hope for your help.
Maybe someone has had a similar problem and a solution.

Thanks in advance for your assistance.

Greetings Andre

; LightBurn 0.9.14
; GRBL device profile, current position
; Bounds: X-32 Y-29.5 to X32 Y29.5
G00 G17 G40 G21 G54
G91
M4
; Cut @ 1200 mm/min, 80% power
M8
G0X32Y-29.5
G1X-64S204F1200
G1Y59
G1X64
G1Y-59
M9
G1S0
M5
; return to starting pos
G0 X-32Y29.5
M2

; LightBurn 0.9.14
; GRBL-M3 (1.1e or earlier) device profile, current position
; Bounds: X-149 Y96 to X-109 Y136
G00 G17 G40 G21 G54
G91
; Cut @ 1200 mm/min, 20% power
M8
M5
G0X-109Y96
M3
G1X-40S51F1200
G1Y40
G1X40
G1Y-40
M5
M9
G1S0
; return to starting pos
G0 X109Y-96
M2

**** Connected to COM3 @ 115200 baud ****
Grbl 1.1h [’$’ for help]

$0 = 10 (Step pulse time, microseconds) $1 = 255 (Step idle delay, milliseconds) $2 = 0 (Step pulse invert, mask) $3 = 3 (Step direction invert, mask) $4 = 0 (Invert step enable pin, boolean) $5 = 0 (Invert limit pins, boolean) $6 = 0 (Invert probe pin, boolean) $10 = 115 (Status report options, mask) $11 = 0.020 (Junction deviation, millimeters) $12 = 0.002 (Arc tolerance, millimeters) $13 = 0 (Report in inches, boolean) $20 = 0 (Soft limits enable, boolean) $21 = 0 (Hard limits enable, boolean) $22 = 0 (Homing cycle enable, boolean) $23 = 3 (Homing direction invert, mask) $24 = 25.000 (Homing locate feed rate, mm/min) $25 = 200.000 (Homing search seek rate, mm/min) $26 = 10 (Homing switch debounce delay, milliseconds) $27 = 1.000 (Homing switch pull-off distance, millimeters) $30 = 255 (Maximum spindle speed, RPM) $31 = 0 (Minimum spindle speed, RPM) $32 = 1 (Laser-mode enable, boolean) $100 = 40.000 (X-axis travel resolution, step/mm) $101 = 40.000 (Y-axis travel resolution, step/mm) $102 = 188.976 (Z-axis travel resolution, step/mm) $110 = 8000.000 (X-axis maximum rate, mm/min) $111 = 8000.000 (Y-axis maximum rate, mm/min) $112 = 500.000 (Z-axis maximum rate, mm/min) $120 = 500.000 (X-axis acceleration, mm/sec^2) $121 = 500.000 (Y-axis acceleration, mm/sec^2) $122 = 50.000 (Z-axis acceleration, mm/sec^2) $130 = 780.000 (X-axis maximum travel, millimeters) $131 = 790.000 (Y-axis maximum travel, millimeters) $132 = 100.000 (Z-axis maximum travel, millimeters) ok >>> $G

$G
[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
ok