Couple of questions here... On the P4 is it possible

1. To get more lines for programmable logic or when you hit 32 lines you cant expand the P4 anymore with custom logic?
2. Is it possible to make logic based on another outlet? Say if I click off on one outlet the other one turns off (like if the return pump is turned off the skimmer stops)
3. How can I make logic on flow meter. If flow is below xx lph or 0 then turn off a socket.