After setting open and close positions, the motor does not work

After setting open and close positions, the motor does not work

The screws of fixing the hall components are loose. Program mistakes.