<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to missing files while creating offline boot application</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e70e5c672/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e70e5c672/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1e70e5c672/</id><updated>2022-02-16T12:41:05.836000Z</updated><subtitle>Recent posts to missing files while creating offline boot application</subtitle><entry><title>missing files while creating offline boot application</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e70e5c672/?limit=25#78a5" rel="alternate"/><published>2022-02-16T12:41:05.836000Z</published><updated>2022-02-16T12:41:05.836000Z</updated><author><name>oswin</name><uri>https://forge.codesys.com/u/oswin/</uri></author><id>https://forge.codesys.com4d6da0e48c60a88e1c9ef618a48d16b2df705350</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, thanks for your solution, it worked perfectly for me.&lt;br/&gt;
How did you get the GUID for the command?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>missing files while creating offline boot application</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e70e5c672/?limit=25#7433" rel="alternate"/><published>2020-02-27T14:48:11.452000Z</published><updated>2020-02-27T14:48:11.452000Z</updated><author><name>Thomas233</name><uri>https://forge.codesys.com/u/thomas233/</uri></author><id>https://forge.codesys.comcb812b9445563c762fc012d6655dc0b985011afe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I think the reason for this behavior is because Lenze modified the command to create a boot app in their IDE GUI, but not in the script engine.&lt;/p&gt;
&lt;p&gt;In system.commands i found two commands to create a boot application.&lt;br/&gt;
One seems to be the command called with IScriptApplication2.create_boot_application Method documented in the API. With this i only get the .app and crc. files and not the ecat_master_0_boot.xml.&lt;/p&gt;
&lt;p&gt;But the second command is named "Erzeuge Bootapplikation für Lenze Geräte" seems to be the euqivalent to the GUI button.&lt;br/&gt;
I called it like this and it works and creates all the files in the output path:&lt;br/&gt;
system.commands&lt;span&gt;['{4913bcdd-6e61-43d9-ac60-e4c8c82ac405}']&lt;/span&gt;.execute(path)&lt;/p&gt;
&lt;p&gt;Only downsite: I dont know if this supports the other two bool parameters (bool update_compile_info,bool write_visu_files). I tried to call it with (path,True,True) but didn't work.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>missing files while creating offline boot application</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e70e5c672/?limit=25#0b70" rel="alternate"/><published>2020-02-27T14:48:09.887000Z</published><updated>2020-02-27T14:48:09.887000Z</updated><author><name>Thomas233</name><uri>https://forge.codesys.com/u/thomas233/</uri></author><id>https://forge.codesys.comf54e94fffcc05b4988695cb24c9cd967e9f0c6ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I want to create the files for a boot application with a script for later software deployment on one or multiple plc.&lt;br/&gt;
I use the function: "app.create_boot_application(path,True,True)"&lt;br/&gt;
So long this works great. I get the application.app, application.crc files and visu files etc.&lt;/p&gt;
&lt;p&gt;But when i have ethercat in the project this boot application does not run the ethercat.&lt;br/&gt;
I assume that with the script engine not all files for the boot application are created. Because when i use the UI-button to create the bootapplication i get an additional File:&lt;br/&gt;
&lt;em&gt;ecat_master_0_boot.xml&lt;br/&gt;
and Folders:&lt;br/&gt;
&lt;/em&gt;ParameterSets&lt;br/&gt;
&lt;em&gt;PlcParameterSet&lt;br/&gt;
&lt;/em&gt;ProfileData&lt;br/&gt;
*SoftPlcParameter&lt;/p&gt;
&lt;p&gt;Is there a way to get this with scripts?&lt;/p&gt;
&lt;p&gt;(I am using Lenze PLC Designer 3.15 working on Codesys 3.5.9)&lt;/p&gt;
&lt;p&gt;Thanks and best regards.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>