Quantcast
Channel: OPC Labs - OPC Labs - Recent Topics - OPC Labs Online Forums
Viewing all articles
Browse latest Browse all 1794

Can't create a simple read on a single tag - by: mikenne

$
0
0
Hi,

I can't seem to establish a simple connection to my kepwareserver using easyUAClient.

I think my adressing is wrong. Can you tell me if this is the correct way ?

my code (C#) Visual Studio:

UAAttributeData attributeData = null;

var easyUAClient1 = new EasyUAClient();

attributeData = easyUAClient1.Read("opc.tcp://192.168.5.64:4840","KEPServerEX;ns=3;s=UAClient.Device1.PLC_1.Memory.IntCounter");

textBox1.Text = attributeData.ToString();


I have attached my 'code' so far:

[File Attachment: 15D12628_2018-05-04.png]

Viewing all articles
Browse latest Browse all 1794

Trending Articles