In your dishwasher there is a turbidity sensor.
This sensor is suppose to senses the dirt level in the water.
The sensor uses a beam of infrared light directed from one probe and read by the other.
The sensor is designed to disable the drain operation by interrupting the circuit of the main motor winding with a relay.
The relay is in series with the winding.
The sensor will activate the relay if the water is sufficiently clean to warrant skipping the next drain and reusing the wash water.
The sensor may not be sensing the dirt level.
Here is a link to your dishwasher model MDB7100aww. |