Can I access a bit of an Integer value of an Open Automation Software Tag?

Yes, set the Data Type of the Open Automation Software Tag to Signed Byte, Unsigned Byte, Short Integer, Unsigned Short Integer, Integer, Unsigned Integer, Long, or Unsigned Long. When browsing for a Tag in a client application Bit00 up to Bit63 will be available selection immediately under the Value property.

myTag.Bit00 is an example of providing read and write access to bit 0 of an integer value.

View All FAQs >