<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Error when importing PLCopen XML data</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/17c635dd5c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/17c635dd5c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/17c635dd5c/</id><updated>2020-02-27T13:49:20.422000Z</updated><subtitle>Recent posts to Error when importing PLCopen XML data</subtitle><entry><title>Error when importing PLCopen XML data</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/17c635dd5c/?limit=25#a730" rel="alternate"/><published>2020-02-27T13:49:20.422000Z</published><updated>2020-02-27T13:49:20.422000Z</updated><author><name>plc-coder</name><uri>https://forge.codesys.com/u/plc-coder/</uri></author><id>https://forge.codesys.com735319317ab6ecfd0c57522950c16f51c4d1437b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a project where I’m generating data in PLCopen XML-format. I want to import the data into CODESYS V3 and have managed to do that successfully for most of the data. I have though encountered a problem when my data is representing a certain kind of branched connection. CODESYS is unable to import the POU and I receive the error message:&lt;/p&gt;
&lt;p&gt;“Creation of object ‘POU_name’ failed. Reason: The given key was not present in the dictionary.”&lt;/p&gt;
&lt;p&gt;What is the meaning of this error message and how can I resolve the problem? Is there something wrong with my input data or is this kind of branched connection forbidden in CODESYS? Currently I use CODESYS V3.5 SP6 Patch 1.&lt;/p&gt;
&lt;p&gt;I made a small example that includes the kind of branched connection that is causing the problem. The PLCopen XML-data can be found attached.&lt;/p&gt;
&lt;p&gt;Thanks in advance!&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=1196" rel="nofollow"&gt;Example_code.xml &lt;span&gt;&lt;span&gt;[4.94 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>