<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to question opc ua</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca689d54ab/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca689d54ab/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/ca689d54ab/</id><updated>2020-02-27T14:40:59.853000Z</updated><subtitle>Recent posts to question opc ua</subtitle><entry><title>question opc ua</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca689d54ab/?limit=25#fd72" rel="alternate"/><published>2020-02-27T14:40:59.853000Z</published><updated>2020-02-27T14:40:59.853000Z</updated><author><name>Peter.skokanek</name><uri>https://forge.codesys.com/u/peter-skokanek/</uri></author><id>https://forge.codesys.comd95d464e8d1d5d313206a7b2f26b7ed6aaf4acf8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I need to Read/Write variables from Codesys to runing python script. I tested example OPCUA where is changing iConunter variable  in Codesys project and the value of iCounter is printed by means of  OPC UA client "simpleclientRaspi.py". It works well. But I don't need print it I need to use this value in my python script. How can I extract value of iCounter variable?&lt;/p&gt;
&lt;p&gt;Peter&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>question opc ua</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca689d54ab/?limit=25#dfa6" rel="alternate"/><published>2020-02-27T14:40:59.325000Z</published><updated>2020-02-27T14:40:59.325000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comef1df922b534060648bc6d45137b762d339f95fd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;the NodeIDs on OPC UA could have differnet format:&lt;/p&gt;
&lt;p&gt;Numeric, String, Guid, Opaque&lt;/p&gt;
&lt;p&gt;the NodeID is the following:&lt;/p&gt;
&lt;p&gt;typedef struct _OpcUa_NodeId&lt;br/&gt;
{&lt;br/&gt;
    OpcUa_UInt16 IdentifierType;&lt;br/&gt;
    OpcUa_UInt16 NamespaceIndex;&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;union&lt;/span&gt;
&lt;span class="err"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;OpcUa_UInt32&lt;/span&gt;     &lt;span class="nb"&gt;Numeric&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;OpcUa_String&lt;/span&gt;     &lt;span class="n"&gt;String&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;OpcUa_Guid&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt;      &lt;span class="n"&gt;Guid&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="n"&gt;OpcUa_ByteString&lt;/span&gt; &lt;span class="n"&gt;ByteString&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;Identifier&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;}&lt;br/&gt;
OpcUa_NodeId;&lt;/p&gt;
&lt;p&gt;The ID is assigned by the server. Therefore, different IDs are mixed in the server.&lt;/p&gt;
&lt;p&gt;Best Regards&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>question opc ua</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca689d54ab/?limit=25#4cd6" rel="alternate"/><published>2020-02-27T14:40:58.830000Z</published><updated>2020-02-27T14:40:58.830000Z</updated><author><name>jbarrio</name><uri>https://forge.codesys.com/u/jbarrio/</uri></author><id>https://forge.codesys.com23816fb778e0dc9f9c6a99c8413cad9837fe955a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hello:&lt;/p&gt;
&lt;p&gt;After investigating, testing and spending some neurons.&lt;/p&gt;
&lt;p&gt;I have managed to get one of the scadas even if it does not work to discover I can register the points with their full name (thanks a lot for the example edwin helped me a lot).&lt;/p&gt;
&lt;p&gt;a question, there are tags that are defined by string and others that are seen by a number, all have that string and that number or depends on how the server is used or one system or the other?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>question opc ua</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca689d54ab/?limit=25#23d1" rel="alternate"/><published>2020-02-27T14:40:57.383000Z</published><updated>2020-02-27T14:40:57.383000Z</updated><author><name>jbarrio</name><uri>https://forge.codesys.com/u/jbarrio/</uri></author><id>https://forge.codesys.com6821952f330b84dbd6e98dead00b2af39c6f429a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;the scadas are a niagara and another b-scada, niagara needs a license but b-scada is free you can download and try without problem.&lt;/p&gt;
&lt;p&gt;I'm going to try to see if I guess something with the help of an expert&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://scadauniversity.com/Home/Download" rel="nofollow"&gt;http://scadauniversity.com/Home/Download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;thanks edwin.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>question opc ua</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca689d54ab/?limit=25#719a" rel="alternate"/><published>2020-02-27T14:40:56.849000Z</published><updated>2020-02-27T14:40:56.849000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.coma28967d82d267eed40bd0a30193fbf9b137565cf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;'two different scadas' - we try ro reproduce it if you send us links or more information to these products.&lt;br/&gt;
If you compare the NodeId between, OPCUA Expert and the non working scada, you could maybe get an idea &lt;br/&gt;
how to access.... ( I mean with the help of OPCUA expert)&lt;br/&gt;
Maybe this trick here helps to get the correct &lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://www.codesys-blog.com/kommunikation/python-opc-ua-client-mit-codesys-verbinden/" rel="nofollow"&gt;https://www.codesys-blog.com/kommunikat ... verbinden/&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
I have to say that it is anything but trivial how the NodeID is composed. But I found a great trick that saves a lot of time. What annoyed me is the fact that I could not copy the NodeID anywhere. In my tests, I had countless script errors that only arose because I had transmission errors copying out the NodeID (for example, NS4 | String || var | CODESYS Control Win V3 x64.Application.GVL.uiCycleCounter&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>question opc ua</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/ca689d54ab/?limit=25#d638" rel="alternate"/><published>2020-02-27T14:40:56.330000Z</published><updated>2020-02-27T14:40:56.330000Z</updated><author><name>jbarrio</name><uri>https://forge.codesys.com/u/jbarrio/</uri></author><id>https://forge.codesys.com0a68089735d46dc3ea26bd023f90f12f5e7edba8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hello:&lt;/p&gt;
&lt;p&gt;I have tried the opc ua server of codesys with runtime raspberry with uaexpert and it works without problem&lt;/p&gt;
&lt;p&gt;But I tested it with two different scadas and both give me an error in the nodeid (CODESYS control for raspberry pi SL) both return BadNodeIdUnknown, there is some configuration to change this nodeID.&lt;/p&gt;
&lt;p&gt;It is rare that two client opc ua return the same error.&lt;/p&gt;
&lt;p&gt;With a client opc ua test, they work perfectly, and observed that these clients generate an XML schema that codesys does not generate, is there a possibility of this?&lt;/p&gt;
&lt;p&gt;thanks &lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>