Simple Animation Question

Hello. I am having a small issue with animations.

I can change the visibility of an object in real time by assigning it to a 'bit' tag, but find that using GETBIT to look at a bit within a word tag does NOT update during real time, only when the screen is 'started'.

I am monitoring the word, and it updates as it should.

Is there any way to 'force' the screen to update (or at least the animation to update) if the monitored tag updates?

Parents Reply
  • May I ask what version of Plant SCADA you are using? GETBIT and GetTagValue are not a standard Plant SCADA expressions to my knowledge.

    BITAND is a built-in expression for bitwise AND. In Plant SCADA any integer expression that returns a value not equal to 0 is evaluated as TRUE, so in your case (YourTag BITAND 1) would be TRUE if bit 0 of YourTag is high.

    TagRead() is a built-in Cicode function that reads the current value of a tag. This is a blocking function however and therefore cannot be used in animations.

Children