Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

OPC Connection with Matrikon OPC Tunneller

More
30 Jul 2017 19:20 #5384 by support
Matrikon OPC Tunneller's ProgID is invalid, because it contains colons (':'). For rules about ProgIDs, see e.g. msdn.microsoft.com/en-us/library/windows/desktop/dd542719(v=vs.85).aspx .

The colons cause it to be misinterpreted when used in place of server URI string (the "Tunneler:" part is considered to be a scheme name). In order to resolve this, use
DAVtqResult[] vtq = client.ReadMultipleItems(
    new ServerDescriptor("", "Tunneller:172.33.1.5:Matrikon.OPC.SiemensPLC.1"), 
    tags);
Best regards

Please Log in or Create an account to join the conversation.

More
19 Jul 2017 16:08 #5374 by jmolina
Hi, I'm testing your software with Matrikon OPC servers. The results are very good with simulators and normal OPC servers, but when I tried to connect to an OPC Server throught Matrikon OPC Tunneller, the code doesn't return anything. Could be an sintaxys problem?, this is my code
var client = new EasyDAClient();
DAItemDescriptor[] tags = new DAItemDescriptor[2];
tags[0] = new DAItemDescriptor("TCP CHANNEL>F20>DB11:DINT:72");
tags[1] = new DAItemDescriptor("TCP CHANNEL>F20>DB11:DINT:60");
DAVtqResult[] vtq = client.ReadMultipleItems("Tunneller:172.33.1.5:Matrikon.OPC.SiemensPLC.1", tags);

Do you have experience to use your connectors with Tunneller? What is the correct way to use ReadMultipleItems with tunneller? Is necessary to put only the CLSID? The OPC Siemens is online and the TAGS are fine.

Thanks in advance. :(
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.042 seconds