I'm trying to create a PI AF Formula using the digstate function. The following attributes are referenced:
P80 (double value)
Status (on or off)
Tonnes (double value)
The logic should look as follows in traditional PI syntax: if (Status = 'On' and Tonnes > 50) Then P80 else NoOutput()
How do I write the same equation using the digstate function in PI AF equations?