Bit status of integers in Graphic Builder 800xA 6.0
How can we get status of individual bits of an integer in Graphic builder. In help, ToBinaryString is mentioned but graphic builder doesn't accept this function when I use it in Expression Editor. How can the status of bits be retrieved from this integer. I am receiving this integer from Generic OPC object: control connection and I don't want to take it to control builder.
Answers
Hi,
It's possible to get status of individual bits in PG2. Browse the integer variable and follow it with #Bit(Bit Number). Bit number starts from 0.
Add new comment