<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Use of the CPLCHandlerCallback</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f9f47d58a1/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f9f47d58a1/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/f9f47d58a1/</id><updated>2020-02-27T18:56:55.585000Z</updated><subtitle>Recent posts to Use of the CPLCHandlerCallback</subtitle><entry><title>Use of the CPLCHandlerCallback</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/f9f47d58a1/?limit=25#efe1" rel="alternate"/><published>2020-02-27T18:56:55.585000Z</published><updated>2020-02-27T18:56:55.585000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com03dacfa2a9fbf9bd8297eccbb434ea22f5ebfec0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; crthomas1234&lt;/p&gt;
&lt;p&gt;UPDATE:  &lt;/p&gt;
&lt;p&gt;So I found that you do need to overload the class as the Notify() and Destructor() methods are virtual.  Then you can write your own code for the Nofity() method to handle whatever special cases you are looking for.&lt;/p&gt;
&lt;p&gt;In the end, I think the best thing will be to create an event handler for my form control class to listen for Notify() events and then handle them as I need.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Use of the CPLCHandlerCallback</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/f9f47d58a1/?limit=25#ee52" rel="alternate"/><published>2020-02-27T18:56:54.240000Z</published><updated>2020-02-27T18:56:54.240000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com508aec9e4c680daa71b537d3de2842bb2e43f910</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; crthomas1234&lt;/p&gt;
&lt;p&gt;When I am reading through the documentation for the PLC Handler, there is a derivative class for listening for any state change information from the PLC.  However, the documentation does not provide any information on how to use this class.  The documentation states that the PLCHandler state changes will call the Notify() method of the class.  &lt;/p&gt;
&lt;p&gt;What is the correct way to listen for these notification messages?  Do I need to overload the class to create my own notification method?  Since I am writing my application is Visual C++, I would like to create an event handler to raise an event on the Notify method.  &lt;/p&gt;
&lt;p&gt;Can you please provide any documentation or examples on how to use this class?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>