- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-04-21 03:25 AM . Last Modified: 2023-05-03 12:14 AM
Individual bit from OPC INT
Hi,
I am trying to read specific bit of OPC server item which is VT_I2.
If I create Advanced OPC Analog 16bit Integer point I get good quality decimal value.
What I need is individual value of specific bit, 1st, 2nd...7th.
How do I achieve this?
I tried creating Advanced OPC Digital point Boolean type and tried reading specific array element.
No success.
Any suggestion is appreciated.
- Labels:
-
SCADA
- Tags:
- OPC INT
Link copied. Please paste this link to share this article on your social media post.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-04-21 03:33 AM
If you create an Advanced OPC Digital Point and set the "Data Type" to "16-bit Integer", the "Number of Bits" to 1 and the "Bit Offset" to the required bit (0 to 15) then it will extract the required individual bit from the integer value.
Andrew Scott, R&D Principal Technologist, AVEVA
Link copied. Please paste this link to share this article on your social media post.

Posted: 2021-07-27 06:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-27 06:27 PM
ClearSCADA Advanced OPC driver with OFS tested and confirmed a Digital Point configured with ItemID.bit offset also works.
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-04-21 03:33 AM
If you create an Advanced OPC Digital Point and set the "Data Type" to "16-bit Integer", the "Number of Bits" to 1 and the "Bit Offset" to the required bit (0 to 15) then it will extract the required individual bit from the integer value.
Andrew Scott, R&D Principal Technologist, AVEVA
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-04-21 05:55 AM
As simple as that! I´m pretty new to GeoScada, I´m still learning.
I was mislead by these ARRAY type of data types.
Many thanks.
Link copied. Please paste this link to share this article on your social media post.

Posted: 2021-07-27 06:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-27 06:27 PM
ClearSCADA Advanced OPC driver with OFS tested and confirmed a Digital Point configured with ItemID.bit offset also works.
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2023-05-21 07:59 PM
It does not work with multi-bits when doing a write (Control method write to byte value) from ClearSCADA to PLC (M580). Example: Bits=2, bit offset=10. Instead it always writes to Bits 0 & 1 of the corresponding PLC word.
Link copied. Please paste this link to share this article on your social media post.

