Home position is -890

Hello,
After update to 1.1h (original .hex from vendor) my homing is broken.
First docking to wrong dirrection so i change $2 mask to correct dirrection homing move.
But home possition is -890 of origin and laser go to 0 when i set laser posion to left corner in ligtburn.

concole
<Idle|MPos:-899.000,-899.000,-1.000|FS:0,0|WCO:0.000,0.000,0.000>
ok
<Idle|MPos:-899.000,-899.000,-1.000|FS:0,0|Ov:100,100,100>
ok

gcode
$$
$0=10
$1=25
$2=5
$3=0
$4=0
$5=0
$6=0
$10=5
$11=1.000
$12=0.002
$13=0
$20=0
$21=1
$22=1
$23=11
$24=80.000
$25=3000.000
$26=250
$27=1.000
$30=1000
$31=0
$32=1
$100=161.000
$101=161.000
$102=400.000
$110=15000.000
$111=15000.000
$112=80.000
$120=125.000
$121=125.000
$122=80.000
$130=900.000
$131=900.000
$132=200.000
ok

Can anyone help me set $2,$3 correct to have 0 possition on home possition?

Those parameters are not for setting Home direction. They control machine motion when a move is commanded (Gcode or Jog buttons)

Search the forum for the G10 Gcode command. It will look something like G10 L2 P1 xxx yyy zzz. There plenty of examples for setting this.

Some additional things to the ones Mike already mentioned:

Usually, you never change $2 to change the motor direction, always change $3. Make sure that the arrow buttons work correctly. If not, change $3 until those work correctly.
If homing is not working correctly then, change $23 until that works as well.

Regarding zero positioning:

  • Home
  • Send “G10 L20 P1 X0 Y0”
  • Set $10=0

Thanks guys for yours quick response.
Problem was in .hex from chines vendor. If i compile own firmware with HOMING_FORCE_SET_ORIGIN enabled, its worked good.
Its solved and working good now.