I am working with a Performance Equation (PE) as follows:
if 'INPUT' = "OPENED" then TagVal('OUTPUT') = 1 else TagVal('OUTPUT') = 0.
However, I am noticing a discrepancy in the results.
In the PE, when the INPUT is "OPENED", I get the OUTPUT as either 1 or 0 as expected. But in the AF, for the exact same equation, the OUTPUT values do not seem to be matched with PE's result.
My objective is to achieve consistent results between the PE and AF systems so that the outputs align exactly. How should I approach this situation to resolve the issue?