<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Detect Online change / Download</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a9f08c2a5c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a9f08c2a5c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/a9f08c2a5c/</id><updated>2020-06-03T06:03:04.539000Z</updated><subtitle>Recent posts to Detect Online change / Download</subtitle><entry><title>Detect Online change / Download</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a9f08c2a5c/?limit=25#8c35/74a5/4ef5/a4b5/56c2" rel="alternate"/><published>2020-06-03T06:03:04.539000Z</published><updated>2020-06-03T06:03:04.539000Z</updated><author><name>Ton</name><uri>https://forge.codesys.com/u/ton/</uri></author><id>https://forge.codesys.come5ed0206ebd04017a203b99a4ac42f83722db9bb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Maybe you can use System Events.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://help.codesys.com/webapp/_cds_obj_task_config_sys_event;product=codesys;version=3.5.15.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_cds_obj_task_config_sys_event;product=codesys;version=3.5.15.0&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Detect Online change / Download</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a9f08c2a5c/?limit=250#8c35/74a5/4ef5/a4b5" rel="alternate"/><published>2020-06-02T14:29:03.433000Z</published><updated>2020-06-02T14:29:03.433000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.come39cb4a2485553f9d30484b4556631804e3b158e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the feedback. However, I don't have a solution for you at this time. Maybe someone else has a better solution for this? Then I am all ears for too.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Detect Online change / Download</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a9f08c2a5c/?limit=25#8c35/74a5/4ef5" rel="alternate"/><published>2020-06-02T14:16:49.709000Z</published><updated>2020-06-02T14:16:49.709000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.comd1c3112be6b364ce843cf8f657b374be5770ee97</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Tested not what I want.. I want something regardless where the program has changed the method FB_Exit seems to work as intended but only if I have changed in that particular FB.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Detect Online change / Download</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a9f08c2a5c/?limit=25#8c35/74a5" rel="alternate"/><published>2020-06-02T09:12:53.354000Z</published><updated>2020-06-02T09:12:53.354000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.comc5a77e838dea4ea9ac376ad4080a9606459e084f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;But I want the bit to be set and sent over to another system BEFORE download/online change not after as would be the case with FB_Init?&lt;/p&gt;
&lt;p&gt;But you may have pointed me in a good direction.. What about FB_Exit.. As I understand it this will be called before downloading/online change.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Detect Online change / Download</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a9f08c2a5c/?limit=250#8c35" rel="alternate"/><published>2020-06-02T08:39:34.804000Z</published><updated>2020-06-02T08:39:34.804000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.comff2bd6604688757fb166c640b39724fd2163abbe</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Consider usage of FB_Init&lt;br/&gt;
See CODESYS help for more information on this initialisation mechanism&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Detect Online change / Download</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a9f08c2a5c/?limit=25#2a93" rel="alternate"/><published>2020-06-02T08:13:25.634000Z</published><updated>2020-06-02T08:13:25.634000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.combd78f0daa818b0fe0d932f116ad3edc9a21f75cf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I would like my code to set a bit before an eventual download (Both online change and download).&lt;br/&gt;
Then I would like enough time to send this bit out via RS485 before eventual download/online change..&lt;br/&gt;
I have the RS485 communication going in a task sending reciving much data.The only thing I want is to set a bit and send this out BEFORE the online change / download.&lt;/p&gt;
&lt;p&gt;Is this possible? I see there are suitable event handlers in the task management (Prepare online change, Prepare Download) but when I register these events will the normal program run? And if so for how long? (I would not like putting any RS485 code in the called event just set a bit in the called event. The RS485 code is in another part of the program building complete telegrams and sending them.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>