A Whirlpool directional switch is for trash compactors. The top limit and directional switch WP777811 shuts off the motor when the ram reaches its upper travel limit and controls motor direction to move the ram up and down. It can be used if your trash compactor doesn’t stop at the end of its compacting cycle or is too noisy. It ensures the RAM lowers to compress your trash, then returns to the top position. All you will need to do is unplug the old switch from the electrical wires and plug the new switch in.