Skip to Main Content
AVEVA Product Feedback


Status No status
Created by Guest
Created on Nov 6, 2025

Add Function to Determine if a Bit is Active in a Word Value

It would be extremely helpful if a function existed within PI AF where could provided a value/tag reference and a bit number to check and see if its active. The function would return a True or False value if that bit is active. Something like the following. BitCheck('WordPiTag', 2)

In this example it would check the PI tag 'WordPiTag' and see if bit 2 is active or not based on the numeric value. If it is (depending on the value of 'WordPiTag') it returns TRUE. If not it returns FALSE. This would have a lot of applications and potentially save creating multiple PI tags for each bit, then using a calculation to check which if those are true or not. Could instead create one "Word" PI tag and then use this new function to check and see which bits are active within the word.

  • Attach files