<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0677587178/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0677587178/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/0677587178/</id><updated>2020-02-27T13:50:31.278000Z</updated><subtitle>Recent posts to PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary</subtitle><entry><title>PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0677587178/?limit=25#815c" rel="alternate"/><published>2020-02-27T13:50:31.278000Z</published><updated>2020-02-27T13:50:31.278000Z</updated><author><name>Tim.Manning</name><uri>https://forge.codesys.com/u/tim-manning/</uri></author><id>https://forge.codesys.com1e47c8156e2531788c5be66f06ab4db7d483aadb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am attempting to perform a PLCopenXML import into Codesys.  The source of the XML file is a PLCopenXML export from KW.&lt;/p&gt;
&lt;p&gt;It is failing to import three objects (Program POUs).  The error I see is 'Creation of object 'nameofprogrampou' failed.  Reason:  The given key was not present in the dictionary.&lt;/p&gt;
&lt;p&gt;I am attaching the XML file in a zipped file to this post.  The program POUs that fail are:&lt;/p&gt;
&lt;p&gt;PRESSURE_DATA&lt;br/&gt;
VALVE_CONTROL&lt;br/&gt;
VALVE_MONITOR&lt;/p&gt;
&lt;p&gt;I am also getting a lot of other messages and warnings and errors in pre-compile, but I am not concerned with those.  I am pretty certain these are being generated because there are proprietary function blocks and functions in the KW Export.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=4400" rel="nofollow"&gt;MLV_2 3.zip &lt;span&gt;&lt;span&gt;[62.75 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>