In the spirit of OOP (particularly the "code reuseability" part), I'm going to recycle some puesdo-code I wrote earlier tonight for your problem.
For our example let's create five tags (DINTS would be fine). call them Reg1, Reg2, Reg3, Reg4, and Reg5.
Do this for each of your four pumps:
If...