For a work product, we have a speed based sensor that uses discrete current levels to create a direction indicating pulse output. On our assembly line, there is a requirement to have a "red rabbit" part that will cause the function check station to reject the red rabbit. There are 6 or so failure modes for the part that manufacturing wants to roll into a single part.