OPC DA Packet Structure|Classic OPC: DA, A&E, HDA, XML-DA, etc.|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
OPC DA Packet Structure
Avatar
Christopher White
New Member
Members
Forum Posts: 1
Member Since:
01/23/2019
sp_UserOfflineSmall Offline
1
01/25/2019 - 10:04
sp_Permalink sp_Print

I'm trying to understand the packet structure of an OPC DA 3 packet. My issue is that i'm working on a VB program to write OPC tags to a system that will only accept the value if the quality is "Bad - Not Connected" (00001000 binary). The VB program built so far can write the value to the appropriate tag but the quality is "Good" (11000000). With the quality being good the control system on the other end takes no action. If I can capture some packets in wireshark  and try to analyse them it's very difficult because there are thousand of tags, some in good quality and some in bad-not connected at any given time so i can't place exactly where in a packet the quality tags reside. If i knew the packet structure i might be able to use VB to inject bad-not connected into the quality field so the control system accepts the value and acts on it. 

Also, I'm using Advosol OPCDA.NET to tie VB to OPC.

Any help would be greatly appreciated.

Chris 

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 45
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855