seadeeare
Member
I have successfully configured an FBC instruction to compare a reference and a current valve setup of 25 valves over a 9 step process. when the valves are not set correctly as per the reference for a particular step in the process i get a value in the result array(s). i would like to use this result to set the corresponding bit in a word allowing me to pass that status (valvesetincorrectly) to my SCADA system.
In one example the result array would have an entry of 17, indicating that valve 17 is set incorrectly for the particular step the process is in. i then want to use that value in the tag valvesetincorrectly.17 and set it to a 1.
Anyone have any ideas on this?
thanks
seadeeare
In one example the result array would have an entry of 17, indicating that valve 17 is set incorrectly for the particular step the process is in. i then want to use that value in the tag valvesetincorrectly.17 and set it to a 1.
Anyone have any ideas on this?
thanks
seadeeare