X/Y Flipped on New Account

I have tried every fix I can find with zero luck. I have tried uninstalling and reinstalling, switching $3=0 to $3=7, and every other easy fix I can find. When I flipped the axis the Y was fixed but the X was not. Z is perfectly fine.

I am using a FoxAlien 20W laser. I wanted to use my FoxAlien controller but with all these issues I switched to my computer (Surface Pro) which did not fix the problem.

Any help would be greatly appreciated.

Grbl 1.1h [‘$’ for help]

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

error:9

G-code locked out during alarm or jog state.

[MSG:Caution: Unlocked]

ok

Homing

[VER:1.1h.20201218:]

[OPT:V,35,254]

Target buffer size found

ok

ok

<Idle|MPos:-377.000,-377.000,-47.000|Bf:35,253|FS:0,0|WCO:-347.000,-367.000,-63.000>

ok

Starting stream

ALARM:3

Reset while in motion. Grbl cannot guarantee position. Lost steps are likely. Re-homing is highly recommended.

On or near line 0:

[MSG:Pgm End]

On or near line 0:

Grbl 1.1h [‘$’ for help]

On or near line 0:

Stream completed in 0:00

[MSG:Check Limits]

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

[MSG:Caution: Unlocked]

ok

ok

<Idle|MPos:-377.000,-377.000,-47.000|Bf:35,253|FS:0,0|WCO:-347.000,-367.000,-63.000>

ok

Starting stream

ALARM:3

Reset while in motion. Grbl cannot guarantee position. Lost steps are likely. Re-homing is highly recommended.

On or near line 0:

[MSG:Pgm End]

On or near line 0:

Stream completed in 0:00

Grbl 1.1h [‘$’ for help]

[MSG:Check Limits]

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

[MSG:Caution: Unlocked]

ok

$$

$0=10

$1=255

$2=0

$3=0

$4=0

$5=0

$6=0

$10=3

$11=0.010

$12=0.002

$13=0

$20=0

$21=1

$22=1

$23=7

$24=25.000

$25=1000.000

$26=250

$27=3.000

$30=10000

$31=0

$32=0

$100=80.000

$101=80.000

$102=1600.000

$110=2000.000

$111=2000.000

$112=500.000

$120=300.000

$121=300.000

$122=30.000

$130=380.000

$131=380.000

$132=50.000

As a start try this setting with your original GRBL settings.
image