@kelvin6k see https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_SCARA#homing-files.