2 Replies Latest reply on Mar 8, 2018 2:30 PM by rschmitz

    Getting The Value Of a Digital State


      I have a pump (on/off/on/off).  When I bring the PI tag in as a String or Int16, and attempt to find the TagMin, it says that it can't do a summary calculation on non-numeric data.  the underlying data from the PLC is a 1 or 0, and then the digital set displays the text.  All I want is the raw value? 


      Tag Pump1 comes in as <Anything>, probably should be String

      Tag Pump 1 Digital Status comes in as an Int16


      All I want to know is if the value went to "OFF" or 0 in the last 120 minutes.  Seems simple.....