During lift; cab accelerates to full speed over the course of 2 seconds. When the top sensor detects a floor; the cab will decelerate to its slow speed linearly over the distance between the sensors. Then; when the bottom sensor is activated; the slow speed is forced regardless of current speed. When the bottom sensor stops reading; the motor is turned off.