<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Retrigger Execution of Initialization Slots</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1064528d2c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1064528d2c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1064528d2c/</id><updated>2021-11-13T06:17:43.500000Z</updated><subtitle>Recent posts to Retrigger Execution of Initialization Slots</subtitle><entry><title>Retrigger Execution of Initialization Slots</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1064528d2c/?limit=25#768e" rel="alternate"/><published>2021-11-13T06:17:43.500000Z</published><updated>2021-11-13T06:17:43.500000Z</updated><author><name>rickj</name><uri>https://forge.codesys.com/u/rickj/</uri></author><id>https://forge.codesys.com5832cc1ce1045aa98c1f7be90832c355bbefa880</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This appears to work as advertised.  However, a visualization screen active in the ide before the reset remains offline after the reset is complete and the PLC come back online.  This behavior has been observed before but had occured only occasionally/randomly. However, this behavior reproducible every time using this method of reset and would appear to be a visualization bug.&lt;/p&gt;
&lt;p&gt;I wonder if it's necessary to do more to ensure that the previously active visu screen comes back online after these resets?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Retrigger Execution of Initialization Slots</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1064528d2c/?limit=25#3178" rel="alternate"/><published>2021-11-13T02:36:52.751000Z</published><updated>2021-11-13T02:36:52.751000Z</updated><author><name>rickj</name><uri>https://forge.codesys.com/u/rickj/</uri></author><id>https://forge.codesys.comb6916675ee03d32ee9b2ed49fc126622320842d8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The CmpApp library seems to support this functionality.  The online help topic below explains what to do. Basically, the CmpApp.AppReset() function is called to perform a Warm/Cold reset, leaving the controller offline.  A 'StopDone' event triggered task is defined that executes the CmpApp.AppStartApplication() function to bring the controller back online.  &lt;/p&gt;
&lt;p&gt;&lt;a href="https://faq.codesys.com/display/CDSFAQ/Automatic+Restart+of+the+Application+after+Resetting+from+IEC+Code" rel="nofollow"&gt;https://faq.codesys.com/display/CDSFAQ/Automatic+Restart+of+the+Application+after+Resetting+from+IEC+Code&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Retrigger Execution of Initialization Slots</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1064528d2c/?limit=25#84d9" rel="alternate"/><published>2021-11-11T01:54:55.398000Z</published><updated>2021-11-11T01:54:55.398000Z</updated><author><name>rickj</name><uri>https://forge.codesys.com/u/rickj/</uri></author><id>https://forge.codesys.combe65a120e7515a24dcdb12d925eac7442c44263a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We've made effective use of the init slot mechanism in our projects.  In our most recent project, the end user is able to configure a number of software objects at runtime, however, such configuration is dependent on sequential execution of methods assigned to initialization slots.  &lt;/p&gt;
&lt;p&gt;I'm looking for a way to retrigger the initialization process from PLC code (visu button press probably), that execute the initialization process that occurs after a warm reset.  There was mention of a PLC Control Library in an old forum thread but it seems to not exist.  &lt;/p&gt;
&lt;p&gt;Is what I'm asking possible?  If so, is there an example, documentation, a library, or any other advice which mat be helpful.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>