EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
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
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.
Link copied. Please paste this link to share this article on your social media post.
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.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-27 06:27 PM
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.
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.
Link copied. Please paste this link to share this article on your social media post.
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
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.
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.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.