Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Using Bit Operators

  • Last UpdatedJul 18, 2023
  • 1 minute read

With a bit operator, you can compare the corresponding bits in two numeric expressions. (A bit is the smallest unit of data a computer can store.)

Operator

Description

BITAND

AND

BITOR

OR

BITXOR

Exclusive OR

For example:

Command

Tag3 = Tag1 BITAND Tag2;

Command

Tag3 = Tag1 BITAND 0xFF;

Command

Tag3 = Tag1 BITOR Tag2;

Command

Tag3 = Tag1 BITXOR Tag2;

See Also

Working with Operators

TitleResults for “How to create a CRG?”Also Available in