Ok, here it it. First off I'm self teaching myself how to program so bare with me. We have an existing Waste Neutralization system at our facility. We have 3 tanks. Pit A , Pit B, and Surge Tank. All of our waste throughout our facility dumps into Pit B, from there once the level in Pit B rises to a pre-determined level, it then transfers its level into the surge vessel which is basically a hold tank while Pit A is batched with Sulfuric Acid and Caustic to get the pH level in Pit A within the required range for us to pump it out.
Here is my question, I have been asked to add an addition valve (FCV_889) downstream from our existing dump valve (FCV_827) ,and add a additional second valve FCV_900 (Water Flush valve) that will be tee-ed into the tranfer line and flush the transfer line with potable water and clean and saturate our pH probe. So 2 new Valves will be installed. Once FCV_827 closes from either Pit A being empty or the pH range went "out of range" FCV_889 will remain open for 40 seconds, and Water Flush Valve FCV_900 will also open, but for 40 seconds. After 30 seconds FCV_889 closes, and after 40 seconds FCV_900 closes. ( the 10 second difference between the 2 valves FCV_889 & FCV_900 allows the transfer line to fill with clean water
I have uploaded the program files.
In the program file 5, "LAD 5 DIG-OUTPUT" on rung 7 you will see that when the B14:0 XIC bit is true Output O:10/7 is energized opening FCV_827.
I added rungs 8 - 13 for allow the valves (FCV_889, FCV_900) to Open / Close at the desired time 30 seconds and 40 seconds.
In rung 8, B14:0 XIC Latches FCV_889 open until it times out from T4:61 and unlatches in Rung 12.
Will rungs 8 - 13 do the job?
My fear is that once the XIO B14:0/6 becomes true, does what I want it to in the rungs following rung 9, it will be a "loop" until XIC B14:0/6 becomes true again.
Thanks for any help
John B.