I am working on a program where I have 4 tanks each with the potential for different blends.
I have written logic to interact with wonderware where the supervisor will dictate what blends are in the tank so they will type in this blend code. For the valve to open to fill into the tank I have an input string that will need to match before the valve opens. Once the tank is full and the valve closes I am using the COP to copy a blank blend code into the original blendcode which should clear the inputed blend number and leave the input block blank. This works for a couple of tanks but not all. Could someone take a look at the logic picture attached and see where I am missing the boat. Keep in mind that I am using another rung in logic to match to strings (EQU) which sets the bit BlendCodeOK bit to allow the valve to open. These valves are fail open so the output is off when in the open position.
Thanks RM
I have written logic to interact with wonderware where the supervisor will dictate what blends are in the tank so they will type in this blend code. For the valve to open to fill into the tank I have an input string that will need to match before the valve opens. Once the tank is full and the valve closes I am using the COP to copy a blank blend code into the original blendcode which should clear the inputed blend number and leave the input block blank. This works for a couple of tanks but not all. Could someone take a look at the logic picture attached and see where I am missing the boat. Keep in mind that I am using another rung in logic to match to strings (EQU) which sets the bit BlendCodeOK bit to allow the valve to open. These valves are fail open so the output is off when in the open position.
Thanks RM