I think scan sensors py works best with track switch feedback relays, back to sensor table to flip lights in a table to drive lights on a panel.? Perhaps a sensor state change to an Arduino listener object. Ir sensors work well for gate crossing or calculating scale speed.
Bob