<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/</id><updated>2020-02-28T01:22:49.610000Z</updated><subtitle>Recent posts to OPC</subtitle><entry><title>OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/?limit=25#4b39" rel="alternate"/><published>2020-02-28T01:22:49.610000Z</published><updated>2020-02-28T01:22:49.610000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.comc81811c7ed3250f5efc73a05c702a4d021fd7e8a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Just add a Symbol configuration and downlod the project to the plc&lt;br/&gt;
No additional OPCUA Server configuration is needed.&lt;br/&gt;
(sure the OPCUA Server component must be embedded in the runtime - all CODESYS SL products have the UA Server)&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: OPCUA_ControlWin.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=1720"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/?limit=25#7ede" rel="alternate"/><published>2020-02-28T01:22:47.813000Z</published><updated>2020-02-28T01:22:47.813000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.comfefd62adb65c7b38365de081ebf8c29bc90e1f1a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;OPC with Win2008 or Win2012 Server&lt;/p&gt;
&lt;p&gt;Windows Server 2008&lt;br/&gt;
Windows Server 2012&lt;/p&gt;
&lt;p&gt;Windows Server 2008 &amp;amp; 2012 is not officially supported by 3S.&lt;br/&gt;
The reason is because we do not test the combination.&lt;br/&gt;
But several use this new OS without a known problem.&lt;/p&gt;
&lt;p&gt;see also:&lt;br/&gt;
&lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=22&amp;amp;t=5649&amp;amp;x=10039&amp;amp;p=10052&amp;amp;lan=en" rel="nofollow"&gt;OPC configuration without effect?&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/?limit=25#d584" rel="alternate"/><published>2020-02-28T01:22:42.830000Z</published><updated>2020-02-28T01:22:42.830000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com1dd7e505ec5bf80f4cb935e3faf432ff8bf66668</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Why is my OPC connection slowly if not logged in as admin?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The configuraiton is stored at local user:&lt;br/&gt;
You can change this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Delete OPC-configuration in the registry at current user:&lt;br/&gt;
&lt;span&gt;[HKEY_CURRENT_USER\Software\3S-Smart Software Solutions GmbH\CoDeSys OPC]&lt;/span&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set this new key:&lt;br/&gt;
&lt;span&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\3S-Smart Software Solutions GmbH\CoDeSys OPC\Config]&lt;/span&gt;&lt;br/&gt;
    "StoreConfigInCurrentUser"=dword:00000000&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Store the new configuration with admin rights&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Result: there is only one configuration, and no local copy. Therefore only the adminstrator is able to store a new configuration.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=22&amp;amp;t=5649&amp;amp;x=10040&amp;amp;p=10039&amp;amp;lan=en" rel="nofollow"&gt;Back to FAQ overview&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/?limit=25#d5e8" rel="alternate"/><published>2020-02-28T01:22:41.033000Z</published><updated>2020-02-28T01:22:41.033000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com232b6ab4b12c9e334986af3c707582e5d6a4648f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;How to stert OPCEnum?&lt;/strong&gt;&lt;br/&gt;
For some reasons, OPCEnum is not active.&lt;/p&gt;
&lt;p&gt;OPC Server Browser&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Overview&lt;br/&gt;
The OPC Foundation supplied Server Browser OPCENUM.EXE can reside on any machine, will access the local Component Categories Manger and provides a new interface IOPCServerList which can be marshaled and used by remote clients. This server has a published classid (see below) and can be installed once on any machine which hosts OPC servers. The client still needs to know the nodename of the target machine however he can now create this object remotely and use it's IOPCServerList interface to determine what types and brands of servers are available on that machine.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Information for Users&lt;br/&gt;
The OPC Server Browser (OPCENUM.EXE) and the required proxy/stub (OPCCOMN_PS.DLL) can be obtained from the OPC Foundation Web Site. The EXE and DLL should be copied to the main WINDOWS directory (see the section “Installing OPC Binaries”, above).&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The EXE is installed by running&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;       &lt;/span&gt; &lt;span class="n"&gt;OPCENUM&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;RegServer&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;or&lt;br/&gt;
       ```&lt;/p&gt;
&lt;p&gt;OPCENUM /Service&lt;/p&gt;
&lt;p&gt;&lt;code&gt;to install the server as a service on Windows NT.
The DLL is installed by running&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;REGSVR32 OPCComn_ps.dll&lt;/p&gt;
&lt;p&gt;```&lt;br/&gt;
No further user action is required. Doing the steps above will allow Client programs you have purchased which support this server browser capability to function properly. Note that the OPC Server Browser is designed to allow access by any user regardless of the DCOM security setup.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Information for Server Programmers&lt;br/&gt;
Note that the OPC Foundation provides the OPC Browser Object. OPC Servers should NOT implement this interface. OPC Servers should simply register themselves with the appropriate component category as described on the appropriate OPC Specification.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Information for Client Programmers&lt;br/&gt;
Client programmers should create the OPC Server Browser Object on the target machine by passing its class id (CLSID_OPCServerList as defined in opc_cats.c) to CoCreateInstanceEx. They should obtain the OPCServerList interface (IID_IOPCServerList as defined in opccomn_i.c). They can then use this interface to obtain lists of the available servers for particular component categories. The OPC Component categories for the various OPC Server types are defined in opc_cats.c. The marshalling for this interface is included in the OPCComn_ps.dll.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=22&amp;amp;t=5649&amp;amp;x=10040&amp;amp;p=10039&amp;amp;lan=en" rel="nofollow"&gt;Back to FAQ overview&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/?limit=25#0afb" rel="alternate"/><published>2020-02-28T01:22:36.048000Z</published><updated>2020-02-28T01:22:36.048000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com791934b9daa08267e8e44c4648fb2fd8d2636ce1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Write Error 0x80004005&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Summary&lt;br/&gt;
In redundant mode, the error  0x80004005 occurs while writing&lt;/p&gt;
&lt;p&gt;More information&lt;br/&gt;
E_FAIL and is a generic error, and is thrown by many causes.&lt;br/&gt;
In particular, the OPC Redundancy mode, this error can be delivered to the client, if none of the reports explicitly PLCs "I am master."&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;br/&gt;
If at least one of the master PLC variable is set to true,&lt;br/&gt;
then writing is possible.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=22&amp;amp;t=5649&amp;amp;x=10040&amp;amp;p=10039&amp;amp;lan=en" rel="nofollow"&gt;Back to FAQ overview&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/?limit=25#8fc8" rel="alternate"/><published>2020-02-28T01:22:34.248000Z</published><updated>2020-02-28T01:22:34.248000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.coma14de34c7b279a359134545b5f738c92a2eeec15</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Can I use GSM Modem?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;It is possible, but the connection time can be very long. For this reason the timeouts must should be changed.&lt;br/&gt;
Example:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=22&amp;amp;t=5649&amp;amp;x=10040&amp;amp;p=10039&amp;amp;lan=en" rel="nofollow"&gt;Back to FAQ overview&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 1.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=554"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/?limit=25#22ed" rel="alternate"/><published>2020-02-28T01:22:32.430000Z</published><updated>2020-02-28T01:22:32.430000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com5dbcdc4ea0222a4d5805c1c70a7fcdfbc4b90850</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;span&gt;[b]&lt;/span&gt;How to avoid the problem of failed OPC connections by changed plc ID's?&lt;span&gt;[b]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The best way ist to use IP address or name of plc.&lt;/p&gt;
&lt;p&gt;a) IpAddress ( Tcp/Ip blockdriver:&lt;/p&gt;
&lt;p&gt;Or within the OPCServer.ini file:&lt;br/&gt;
&lt;span&gt;[PLC:PLC1]&lt;/span&gt;&lt;br/&gt;
interfacetype=GATEWAY3&lt;br/&gt;
reconnecttime=15&lt;br/&gt;
waittime=10&lt;br/&gt;
active=1&lt;br/&gt;
logevents=1&lt;br/&gt;
logfilter=15&lt;br/&gt;
gateway=Tcp/Ip&lt;br/&gt;
gatewayaddress=localhost&lt;br/&gt;
gatewayport=1217&lt;br/&gt;
parameters=1&lt;br/&gt;
&lt;span style="color: #FF0000;"&gt;parameter0=IpAddress&lt;/span&gt;&lt;br/&gt;
&lt;span style="color: #FF0000;"&gt;value0=192.168.101.127&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;b) By name:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=22&amp;amp;t=5649&amp;amp;x=10040&amp;amp;p=10039&amp;amp;lan=en" rel="nofollow"&gt;Back to FAQ overview&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 1.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=552"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=553"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/?limit=25#3aa1" rel="alternate"/><published>2020-02-28T01:22:27.413000Z</published><updated>2020-02-28T01:22:27.413000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com47925f8ad00a739e726c4fff0c51d6d491455390</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;It is possible to write a new OPC Client?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Plese see also: &lt;a class="" href="http://forum.3s-software.com/viewtopic.php?f=15&amp;amp;t=3373&amp;amp;x=11732&amp;amp;p=11732&amp;amp;lan=en" rel="nofollow"&gt;Forum&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You'll find a helpful example code here:&lt;br/&gt;
&lt;a class="" href="http://lhcb-online.web.cern.ch/lhcb-onl%20...%20nttutorial" rel="nofollow"&gt;Tutorial&lt;/a&gt;&lt;br/&gt;
&lt;a class="" href="http://lhcb-online.web.cern.ch/lhcb-online/ecs/opcevaluation/opcclienttutorial" rel="nofollow"&gt;lhcb-online&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;opc.idl or opcda.idl can retrieved from "OPC Core Components SDK" from the OPC Foundation (free):&lt;br/&gt;
opc.idl &lt;br/&gt;
opcda.idl can be received from „OPC Core Components SDK“ from OPC-Foundation (&lt;a class="" href="http://www.opcfoundation.org/" rel="nofollow"&gt;http://www.opcfoundation.org/&lt;/a&gt;) for free.&lt;/p&gt;
&lt;p&gt;OPC Example in  c#:&lt;br/&gt;
Forum:&lt;br/&gt;
&lt;a class="" href="http://forum.3s-software.com/viewtopic.php?f=15&amp;amp;t=3373&amp;amp;x=11732&amp;amp;p=11732&amp;amp;lan=en" rel="nofollow"&gt;Forum&lt;/a&gt;&lt;br/&gt;
&lt;a class="" href="http://www.codeproject.com/script/Articles/ViewDownloads.aspx?aid=1135" rel="nofollow"&gt;Codeproject&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=22&amp;amp;t=5649&amp;amp;x=10040&amp;amp;p=10039&amp;amp;lan=en" rel="nofollow"&gt;Back to FAQ overview&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/?limit=25#8770" rel="alternate"/><published>2020-02-28T01:22:25.636000Z</published><updated>2020-02-28T01:22:25.636000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com7ca74b3a316070606e716edb62fda195b134bcf7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;How to configure OPC V3 with PLC V3?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Example:&lt;br/&gt;
    1. Generate the symbolconfig in CoDeSys and download the project to the PLC (ConrtolWin) / select the items which are read/writ able in Symbolconfig. (Compile and download Errorfree the project to the plc)&lt;br/&gt;
    2. Generate OPC Config (Gateway 3 Connection with the same  ID that on scan in CoDeSys: and save as OPCServer.ini&lt;/p&gt;
&lt;p&gt;3. Connect with OPC Client (example Matrikon) / browse the items on CoDeSys.OP.DA&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;But the point were many user fail:&lt;br/&gt;
    1. In OPC Config you must save the OPCConfig.ini in the directory where the OPCConfig.exe is.&lt;br/&gt;
    mytestWago.ini for example will not work (wrong Name) &lt;br/&gt;
    But this is not your case think this was right on your side (as I interpret your screenshots)&lt;br/&gt;
    2. Add the wrong OPC Server&lt;/p&gt;
&lt;p&gt;But the Point is for OPC V3: you have to add OPC.DA in Matrikon not the OPC.02 (this is V2.3)&lt;br/&gt;
&lt;br/&gt;
OK:&lt;/p&gt;
&lt;p&gt;Then it looks like:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=22&amp;amp;t=5649&amp;amp;x=10040&amp;amp;p=10039&amp;amp;lan=en" rel="nofollow"&gt;Back to FAQ overview&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 1.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=546"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=547"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 3.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=548"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 4.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=549"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 5.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=550"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 6.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=551"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>OPC</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/81ebb4cf90/?limit=25#5850" rel="alternate"/><published>2020-02-28T01:22:20.662000Z</published><updated>2020-02-28T01:22:20.662000Z</updated><author><name>Moderator3S</name><uri>https://forge.codesys.com/u/moderator3s/</uri></author><id>https://forge.codesys.com57add8360cd8b5f38074a5be8384339b71bd0336</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;strong&gt;Does CODESYS support OPC UA?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This new feature is scheduled to be release with V3.5 SP5.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>