Tczjr5,
The Silo Simulator program that I posted above needs one more rung to make it fill the box completely (I:1/4 indicates full every time) without ever having a spill. In the materials handling industry it is called a "dribble mode" for the solenoid valve. After reaching the Nearly Full level, the Dribble Mode takes over and pulses the solenoid slowly until the box is Full. Add one internal relay bit to control the dribble mode.