When designing any kind of logic functionality one must always start with some sort of specification.
To get things rolling an example is needed. With the possibility to read Storage Tanks and control pumps by wire network -
let's make a fluid balancer (for petroleum gas) since that would be handy.
To be useful it should handle both situations of either plenty or scarcity.
intro
Using the opensource program "LogicFriday" a truth-table can be input.
truth
This can be a quite demanding process, to assign each combination of inputs to the output needed.
friday
Combinator build.
Now the inputs are ready, the State machine for the pump control can be designed.
big truth
min
manumap
Overviewlogic
Complete RTF document