Hi,
that error is telling you that the code executing the homing routine is asking for the axis powered by motor 2 to drive
to its home switch. Clearly you do not have a motor 2.
Most people with a mill or router assign:
motor 0=X axis
motor 1=Y axis
motor 2=Z axis
With a lathe:
motor 0=X axis
motor 1=Z axis
and there is NO motor 2.
Two ways to skin this cat:
1) In configure/Control/Axis_Mapping assign a motor 2, even if you don't have one.....and set that axis to 'Home in Place'
in the Configure/Control/Homing-Softlimits page
2) In the Configure/Control/Homing-Softlimits page assign '0' the Home_order of the unused axis.
Craig