So I am working on a system where I need to change the priority running order of 4 vacuum pumps based 1. On demand 2. based on total run time.
I want to figure out a way to spread wear evenly on a 4 vacuum pump system, that starts and stops pumps based on demand.
This is only my second project from scratch and still very new, so please bear with me. I am confident that I can write the rest of the controls I just cant figure out how to get the logic to work for changing priorities.
I'm using a compactlogix 1769-L24ER on studio5000 (Full) and view5000(for HMI) for this project.
Example
Pump 1=500 hrs
Pump 2=450 hrs
Pump 3=250 hrs
Pump 4= 50 hrs
(differential threshold would be about +100hrs)
So if we need 3 pumps pumps:
So when the system calls for vacuum it would turn pumps on based on demand in the order of pumps
first started is pump 4
second started is pump 3
third started is pump 1
and pump 2 stays off (as its within 100hrs of the high run time).
I was thinking about an array for the 4 pumps and then just use a subroutine to sort the array. But based on what I have read I'm not sure if this is the correct line of thought. I have never done an array before so almost anything is going to be a new learning experience for me.
Thanks in advance for anyone that can or will provide help!
I want to figure out a way to spread wear evenly on a 4 vacuum pump system, that starts and stops pumps based on demand.
This is only my second project from scratch and still very new, so please bear with me. I am confident that I can write the rest of the controls I just cant figure out how to get the logic to work for changing priorities.
I'm using a compactlogix 1769-L24ER on studio5000 (Full) and view5000(for HMI) for this project.
Example
Pump 1=500 hrs
Pump 2=450 hrs
Pump 3=250 hrs
Pump 4= 50 hrs
(differential threshold would be about +100hrs)
So if we need 3 pumps pumps:
So when the system calls for vacuum it would turn pumps on based on demand in the order of pumps
first started is pump 4
second started is pump 3
third started is pump 1
and pump 2 stays off (as its within 100hrs of the high run time).
I was thinking about an array for the 4 pumps and then just use a subroutine to sort the array. But based on what I have read I'm not sure if this is the correct line of thought. I have never done an array before so almost anything is going to be a new learning experience for me.
Thanks in advance for anyone that can or will provide help!