<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Getting detailed information of a property without export</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0003b61f26/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0003b61f26/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/0003b61f26/</id><updated>2020-02-27T14:56:38.021000Z</updated><subtitle>Recent posts to Getting detailed information of a property without export</subtitle><entry><title>Getting detailed information of a property without export</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0003b61f26/?limit=25#d2b0" rel="alternate"/><published>2020-02-27T14:56:38.021000Z</published><updated>2020-02-27T14:56:38.021000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comc0c5644644e74219d6df958d4d7b12d9f0da96d8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Currently, there are no POU-specific commands available to the scripts. So it is not possible to manipulate properties in any way except the "generic" ones which work for all objects: Import, export, rename, delete, ... Only Devices, Applications and Library Managers have a specific scripting API so far.&lt;/p&gt;
&lt;p&gt;However, it should be relatively easy to implement this, at least for properties implemented in textual languages like ST. (I currently have no idea of how to create a simple scripting API for the manipulation of graphical programming languages.)&lt;/p&gt;
&lt;p&gt;You could try to file this as a requirement via our support department, and then it will be implemented eventually. If you have an Automation Platform license, you could even write a ScriptDriver implementing this yourself. &lt;/p&gt;
&lt;p&gt;Markus&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting detailed information of a property without export</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0003b61f26/?limit=25#da2c" rel="alternate"/><published>2020-02-27T14:56:36.410000Z</published><updated>2020-02-27T14:56:36.410000Z</updated><author><name>Lohr-DCIA-EHE1</name><uri>https://forge.codesys.com/u/lohr-dcia-ehe1/</uri></author><id>https://forge.codesys.coma2780befbefe21103bff43fd0c42b695c36c033f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank for your helpful answer&lt;/p&gt;
&lt;p&gt;Our problem is that we generate a parameter csv-file from an access database and then want to import the parameters as properties of a FB via XML into a Codesys project. In this project parameters shall be modified, deleted or added. It shall be prevented, that unmodified properties will be overwritten, because that changes the signature.&lt;/p&gt;
&lt;p&gt;In your reply to my first question yo said it is not possible to read the details of a property via script.&lt;/p&gt;
&lt;p&gt;But is there a possiblity to control the signature of a property? &lt;/p&gt;
&lt;p&gt;It would be easy for us to delete all the properties and than replace them with the new ones from the database, but keep the signatures of the unchanged properties.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting detailed information of a property without export</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0003b61f26/?limit=25#d2c0" rel="alternate"/><published>2020-02-27T14:56:35.822000Z</published><updated>2020-02-27T14:56:35.822000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com88f52db2cb58508594a61e0a924eb781e83c738a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; M.Schaber&lt;/p&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Lohr_DCIA-EHE1 hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Is is possible with Python to get detailed information of a property (of a function block) without exporting int in XML:&lt;br/&gt;
   1. type INT or DINT&lt;br/&gt;
   2. read-only, write-only, readwrite&lt;br/&gt;
   3. commentary of property&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Currently, this is not yet possible. &lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Zitat:&lt;/strong&gt;&lt;br/&gt;
Is it possible to import a property and its commentary via XML ?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It should be possible to import and export everything the same way as you can import and export via the UI, using the "Project/Import PLCOpenXML" and "Project/Export PLCOpenXML" commands.&lt;/p&gt;
&lt;p&gt;That said, it seems currently impossible to export a Property without the "parent" POU. But I'm not an expert on PLCOpenXML, and so cannot give a definitive answer on that.&lt;/p&gt;
&lt;p&gt;HTH,&lt;br/&gt;
Markus&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Getting detailed information of a property without export</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0003b61f26/?limit=25#f33e" rel="alternate"/><published>2020-02-27T14:56:34.139000Z</published><updated>2020-02-27T14:56:34.139000Z</updated><author><name>Lohr-DCIA-EHE1</name><uri>https://forge.codesys.com/u/lohr-dcia-ehe1/</uri></author><id>https://forge.codesys.com78f1bbbedef62a05fdfa19b77601ec8628beacf7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is is possible with Python to get detailed information of a property (of a function block) without exporting int in XML:&lt;br/&gt;
   1. type INT or DINT&lt;br/&gt;
   2. read-only, write-only, readwrite&lt;br/&gt;
   3. commentary of property&lt;/p&gt;
&lt;p&gt;Is it possible to import a property and its commentary via XML ?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>