Can\'t get OPC DA tag values

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
4 posts • Page 1 of 1
Ayrat
Posts:4
Joined: Sun Sep 13, 2015 12:40 pm

Can\'t get OPC DA tag values

Post by Ayrat »

Hi!

I try to get OPC DA tag value from OPC Server but get value with bad quality.
When I try to write value in tag i get message in Log Viewer "WARNING, 54, Unexpected state, IOTransCont, outputTrans, Outstanding transaction for: (Type: 218 Sys: 1 Dp: 470 El: 2 : _original.._value)".

My local OPC Server supports OPC DA 2.05 and works pretty good with all old projects.
I added OPC Client manager to project, configured it, edited config file and restarted OPC Client manager.
Then I created DP type with int Element-Type inside, created DP and inserted periphery address config, set Server and Group properties, but can't browse Item ID correct (In my OPC Server I have a few nodes and tags in them, bun WinCC OA finds only node names but no tags).

Please, tell me what I'm doing wrong and how to solve this problem.

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Can\'t get OPC DA tad values

Post by Gertjan van Schijndel »

Which OPC server are you using? Was this OPC server working correctly with older WinCC OA projects?
Are the values from the OPC server always bad? Even after a general query? Or only after writing a value?
Do you see the written value in the OPC server? If so, the in/out transaction timeout can be disabled with the config entry 'IOTransactionTimeout = 0'.

Ayrat
Posts:4
Joined: Sun Sep 13, 2015 12:40 pm

Re: Can\'t get OPC DA tag values

Post by Ayrat »

I'm using Alpha Server OPC Server. I 'm trying to move my project from ICONICS Graphworks32 + Alpha Server to WinCC OA + Alpha Server.
Values from OPC Server is always bad.
There are several screenshots of how I configured OPC Client manager for my project.

https://drive.google.com/open?id=0B2A2p ... jJJc184ZE0

0: OPC Client manager in Console window.
1: OPC Client manager configuration.
2: OPC Client manager configuration.
3: Popup with string fro [opc] section in config file.
4: What's in config file.
5: Browsing OPC Server items in WinCC OA.
6: Configuration of DP _address property.
7: DP's _original property value.
8: Tags in my OPC Server (with nodes).
9: Tag value in OPC Client. true in forth column is value, 216 in fifth column is quality.

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Can\'t get OPC DA tag values

Post by Gertjan van Schijndel »

In your screenshot of the DPE's _original config I see a valid value (but written by an user interface).

Could you provide screenshots of the original with the general query bit set (the G behind Query)? And the invalid value, including the mapped opc bits (quality, substatus and limits) on the userbits?

4 posts • Page 1 of 1