Color Sorting
Challenge
To sort gum packets by color
Solution
The D10 sorts gum packets by color—yellow, blue, or green—using dual-discrete outputs.
The two outputs of the D10 Expert are programmed as follows: yellow is both outputs ON, blue is both outputs OFF, and green is one output ON and one OFF. The output wire of a Q12 sensor is connected to the inhibit wire of the D10 to ensure that the outputs are off when a packet is not present, so the sensor does not erroneously signal that a blue packet is present.