Failed Homing

Hello, please help. I use Lightburn 2.1.04, Neje soft v6.8.5., everything is updated. I have a problem with the axes. The laser does not go home. I send a screenshot from Ligburn and a test in Neje soft.
Also, one glitch that causes the laser to stop during engraving and not finish the work.
Please advise.

LightBurn console: ALARM:8

Navádění selhalo. Cyklu se nepodařilo vymazat koncový spínač při rozjezdu. Zkuste zvýšit nastavení odtahu nebo zkontrolujte zapojení.

ok

Grbl 1.1f [‘$’ for help]

[MSG: GRBL offline working: GRBL Offline Work | NEJE Wiki ]

[MSG:‘$H’|‘$X’ to unlock]

[MSG:Caution: Unlocked]

ok

<Idle|MPos:0.000,0.000,-1.000,0.000|Bf:100,1500|FS:0,0|Pn:PXZ>

$23=1

ok

<Idle|MPos:0.000,0.000,-1.000,0.000|Bf:100,1500|FS:0,0|Pn:PXZ>

Neje test: screenshot