<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Opc ua c#</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/2c0f83e588/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/2c0f83e588/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/2c0f83e588/</id><updated>2020-02-28T03:57:58.438000Z</updated><subtitle>Recent posts to Opc ua c#</subtitle><entry><title>Opc ua c#</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/2c0f83e588/?limit=25#a436" rel="alternate"/><published>2020-02-28T03:57:58.438000Z</published><updated>2020-02-28T03:57:58.438000Z</updated><author><name>Bastler83</name><uri>https://forge.codesys.com/u/bastler83/</uri></author><id>https://forge.codesys.comfa445fb7c9444a28f5b0b3e737ef65f940dfdca8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;br/&gt;
Vielleicht nicht ganz passendes Forum. Wäre trotzdem froh für Hilfe:&lt;br/&gt;
hat hier schon jemand Erfahrungen mit OPC UA und .net C#.&lt;br/&gt;
Versuche einen Client zu programmieren. Komme aber nicht vorwärts. Leider fehlen Tutorials im Netz.&lt;br/&gt;
Hab diverse Beispiele angeschaut. Folgendes hab ich herausgefunden:&lt;br/&gt;
Folgende Verweise sind nötig:&lt;/p&gt;
&lt;p&gt;using Opc.Ua.Client;&lt;br/&gt;
using Opc.Ua.Client.Controls;&lt;br/&gt;
using Opc.Ua.Configuration;&lt;/p&gt;
&lt;p&gt;Diese findet man auf:&lt;br/&gt;
&lt;a class="" href="https://github.com/OPCFoundation/UA-.NET" rel="nofollow"&gt;https://github.com/OPCFoundation/UA-.NET&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Gerne hätti ich ein Button für die Verbindung:&lt;br/&gt;
private void button1_Click(object sender, EventArgs e)&lt;br/&gt;
{&lt;br/&gt;
//Verbindung aufbauen zu opc.&lt;a class=""&gt;tcp://192.168.1.53:4840&lt;/a&gt;&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;Zusätzlich einen für einen Wert schreiben und lesen.&lt;/p&gt;
&lt;p&gt;Als OPC UA Server benutze ich ein Raspi mit CoDeSys (geile Sache!)&lt;/p&gt;
&lt;p&gt;Viellicht hat mir jemand einen "einfachen" Sample Code. beispiele im Netz sind sehr komplex für mein Verständnis.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>