<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://forge.codesys.com/prj/codesys-example/event-manager/home/Home/</link><description>Recent changes to Home</description><language>en</language><lastBuildDate>Mon, 28 Sep 2020 11:41:17 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/prj/codesys-example/event-manager/home/Home/feed" rel="self" type="application/rss+xml"></atom:link><item><title>Home modified by mlamp</title><link>https://forge.codesys.com/prj/codesys-example/event-manager/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mlamp</dc:creator><pubDate>Mon, 28 Sep 2020 11:41:17 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.coma1265979db373043a9fc2b3dc644ba036fe10143</guid></item><item><title>Home modified by mlamp</title><link>https://forge.codesys.com/prj/codesys-example/event-manager/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mlamp</dc:creator><pubDate>Mon, 28 Sep 2020 11:40:37 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comf3dbd75d8ecea1dfdbb587bcf5390fbc9ade50b3</guid></item><item><title>Home modified by mlamp</title><link>https://forge.codesys.com/prj/codesys-example/event-manager/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,7 +1,26 @@
-Welcome to your wiki!
+[[download url=https://forge.codesys.com/svn/prj,codesys-example,event-manager,code/EventManager.project label=project]]

-This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: [SamplePage].
+[TOC]

-The wiki uses [Markdown](/prj/codesys-example/event-manager/home/markdown_syntax/) syntax.
+#Event Manager
+This example shows how to receive and send system events like start, stop, login or logout.

-[[members limit=20]]
+##More information
+There are two kinds of registration. One is the registration of an interface function and 
+the other one is the registration of a normal function. The registration is done within the 
+``FB_Init`` method.
+
+- ``EventCallbackFB``:
+The ``ICmpEventCallback`` Interface with the ``EventCallback`` method is implemented here. After the function block was created the ``EventCallback`` method and the event will be registered in the ``FB_Init`` method. If the function block gets deleted the ``FB_Exit`` method is called which unregisters from the event. In case the ``stop`` event occurs the method will save the cause of the event in the ``g_ulStopReason`` variable.   
+
+- ``EventCallbackFunctionFB``: 
+This function block registers login and logout events with the ``EventCallbackFunction`` function. Every time one of the two events occurs the function will be called.
+
+- ``EventCallbackFunction``:   
+Counts the occurred events.
+
+- ``Main``:    
+Here a logout event is generated manually. This event is also caught by the ``EventCallbackFunction`` function and increments the counter by one.
+
+
+[[project_screenshots]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mlamp</dc:creator><pubDate>Wed, 23 Sep 2020 11:34:25 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com51bb9a11d26758032f680cfdb63d80bb254c56d0</guid></item><item><title>Home modified by mlamp</title><link>https://forge.codesys.com/prj/codesys-example/event-manager/home/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/prj/codesys-example/event-manager/home/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;h6&gt;Project Members:&lt;/h6&gt;
	&lt;ul class="md-users-list"&gt;
		&lt;li&gt;&lt;a href="/u/ingo/"&gt;Ingo&lt;/a&gt; (admin)&lt;/li&gt;&lt;li&gt;&lt;a href="/u/mlamp/"&gt;mlamp&lt;/a&gt; (admin)&lt;/li&gt;&lt;li&gt;&lt;a href="/u/robert/"&gt;robert&lt;/a&gt; (admin)&lt;/li&gt;
		
	&lt;/ul&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">mlamp</dc:creator><pubDate>Wed, 23 Sep 2020 11:28:59 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com1e66e1ac0b630a8c0bc874945ccf44e36bee4234</guid></item></channel></rss>