The printer is a Tevo Black Widow, has a 8 bit board, MKS 1.4. The original for the printer, replaced drivers with 2130s, Screen+SD for a mini12864 from Bigthreetech, and an orbiter extruder.
Print area is supposed to be X400 x Y250 x Z250.
I did what you told me, send Gcodes manually and saw the problem in the fist step, in the home process, X axis has no physical problem to move, but fails when G28 commando tries to home Z axis, its programmed to go center i think because the printer originally had a BL Touch.
I wanted to modify what it does when i home Z, if i try to home Z only with G28 it does all the axis, X an Y can home alone but not Z, as a temporary fix i will tell the printer in the Start G-code to home X after Z, to have the real coordinates