PLC control of constant pressure water supply