The laser module keeps hitting the edge when returning to HOME

1) Check if the limit cable is loose. If it is loose, tighten the cable.

2) Check whether the limit position is too far back. When homing, the laser cannot touch the limit and keeps hitting the edge. If so, adjust the limit position so that it is triggered just when returning to Home. Mini:

MiniS: