revise read mode of LimitSwitch