Before proceeding with the replacement, ensure that the printer is turned off and disconnect the power to ensure safe operations.
Remove the terminal from the limit switch connection.
Use an M2.0 hex key to remove the screws fixing the casing.
Use an M2.0 hex key to unscrew the screws fixing the limit switch.