CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary
https://forum.codesys.com/viewtopic.php?f=11&t=9492
Page 1 of 1

Author:  Tim.Manning [ Thu Jan 31, 2019 10:44 pm ]
Post subject:  PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary

Hi,

I am attempting to perform a PLCopenXML import into Codesys. The source of the XML file is a PLCopenXML export from KW.

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.

I am attaching the XML file in a zipped file to this post. The program POUs that fail are:

PRESSURE_DATA
VALVE_CONTROL
VALVE_MONITOR

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.

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/