Category: AXIS
Which of the three INI files is yours?
EDIT -
The search velocity for home is a positive number. It should be negative? But I change it it goes the wrong way.
Your home/limit switch is to the operator's left (towards spindle) - i.e. Z-negative.
If you edit your INI file so that the initial home search is negative, but the Z-axis moves to the right, this suggests your Z-axis motor direction is backwards.
You can change the Z motor direction in INI by changing the sign of the step scale (to positive):
[JOINT_1]
STEP_SCALE = 50799.998
Try changing the motor direction and set your homing direction as negative and latch velocity as positive:
HOME_SEARCH_VEL = (negative number)
HOME_LATCH_VEL= (positive number)
Once you get this sorted, you may also want to adjust your home offset so that the Z-positions are more like 'normal' CNC lathes. "Normal" lathes have G53 Z0 at the extreme limit away from the chuck/spindle. Commanding a 'G53 G0 Z0' will result in the turret/slide moving to the safest position (extreme right end).
If you leave the home position (G53 Z0) near the spindle end you'll have to be very careful about G53 and G28 homing moves since LCNC has no idea what chuck is mounted or what stock is in the chuck.