<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Object Oriented extensions for IEC61131 - Bernhard Werner</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e842ddd7e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e842ddd7e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/4e842ddd7e/</id><updated>2020-02-27T14:33:14.320000Z</updated><subtitle>Recent posts to Object Oriented extensions for IEC61131 - Bernhard Werner</subtitle><entry><title>Object Oriented extensions for IEC61131 - Bernhard Werner</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e842ddd7e/?limit=25#6503" rel="alternate"/><published>2020-02-27T14:33:14.320000Z</published><updated>2020-02-27T14:33:14.320000Z</updated><author><name>Maximilian-K</name><uri>https://forge.codesys.com/u/maximilian-k/</uri></author><id>https://forge.codesys.com99268ba0f688452fd2aab226f0cabf6b4d37c6bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;FPawlak,&lt;/p&gt;
&lt;p&gt;Check out this post:&lt;br/&gt;
&lt;a class="" href="http://forum.codesys.com/viewtopic.php?f=11&amp;amp;t=7170" rel="nofollow"&gt;http://forum.codesys.com/viewtopic.php?f=11&amp;amp;t=7170&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Object Oriented extensions for IEC61131 - Bernhard Werner</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e842ddd7e/?limit=25#bf47" rel="alternate"/><published>2020-02-27T14:33:12.925000Z</published><updated>2020-02-27T14:33:12.925000Z</updated><author><name>FPawlak</name><uri>https://forge.codesys.com/u/fpawlak/</uri></author><id>https://forge.codesys.com3dd18a5f40663be786021aceabda8d4543da1ff9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;TimvH hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
See the following link for the article:&lt;br/&gt;
&lt;a class="" href="http://www.3s-software.com/index.shtml?en_publications&amp;amp;news=IEEE_BW_2010" rel="nofollow"&gt;http://www.3s-software.com/index.shtml?en_publications&amp;amp;news=IEEE_BW_2010&lt;/a&gt;&lt;br/&gt;
See the following link for an example with OOP.&lt;br/&gt;
&lt;a class="" href="http://www.3s-software.com/index.shtml?sample_projects/" rel="nofollow"&gt;http://www.3s-software.com/index.shtml?sample_projects/&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi guys,&lt;br/&gt;
I know it's very old topic, but probably still useful. Unfortunately those links are invalid. Does somebody have a copy of this article?&lt;br/&gt;
Thanks a lot.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Object Oriented extensions for IEC61131 - Bernhard Werner</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e842ddd7e/?limit=25#d64d" rel="alternate"/><published>2020-02-27T14:33:12.454000Z</published><updated>2020-02-27T14:33:12.454000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com3f20f2468f9016d3972c55f4cf272e3cfb71489b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;See the following link for the article:&lt;br/&gt;
&lt;a class="" href="http://www.3s-software.com/index.shtml?en_publications&amp;amp;news=IEEE_BW_2010" rel="nofollow"&gt;http://www.3s-software.com/index.shtml?en_publications&amp;amp;news=IEEE_BW_2010&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;See the following link for an example with OOP.&lt;br/&gt;
&lt;a class="" href="http://www.3s-software.com/index.shtml?sample_projects/" rel="nofollow"&gt;http://www.3s-software.com/index.shtml?sample_projects/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Further on you can see the CoDeSys V3 help for general information.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Object Oriented extensions for IEC61131 - Bernhard Werner</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e842ddd7e/?limit=25#8bb2" rel="alternate"/><published>2020-02-27T14:33:11.962000Z</published><updated>2020-02-27T14:33:11.962000Z</updated><author><name>rahulnshinde</name><uri>https://forge.codesys.com/u/rahulnshinde/</uri></author><id>https://forge.codesys.com50a9dd5ea529e2f946e407d3d6eef09f279c5d9b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Where can I find illustrations/examples on using OOPs extensions of Codesys. &lt;br/&gt;
I need help understanding the usage of Interface, methods, property etc. &lt;br/&gt;
What is IMPLEMENTS?&lt;/p&gt;
&lt;p&gt;And spfeif&lt;br/&gt;
You mentioned&lt;br/&gt;
"Did anyone read this article from Bernhard Werner posted on the 3S Home web site? Great article."&lt;/p&gt;
&lt;p&gt;Can you paste the link to this article. I tried to locate but no luck   &lt;/p&gt;
&lt;p&gt;Some help would be really appreciated.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br/&gt;
Rahul.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Object Oriented extensions for IEC61131 - Bernhard Werner</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e842ddd7e/?limit=25#401e" rel="alternate"/><published>2020-02-27T14:33:10.611000Z</published><updated>2020-02-27T14:33:10.611000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com0b4a16dedd1007b19482cfadbbf537d2251c2b43</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I believe you are right. Both rooms implement the same interface ROOM, but off course the objective was to show that 2 different rooms can be declared and used as input for the ROOM_CTRL Function Block.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Object Oriented extensions for IEC61131 - Bernhard Werner</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/4e842ddd7e/?limit=25#27a8" rel="alternate"/><published>2020-02-27T14:33:10.075000Z</published><updated>2020-02-27T14:33:10.075000Z</updated><author><name>spfeif</name><uri>https://forge.codesys.com/u/spfeif/</uri></author><id>https://forge.codesys.com09ee5cd45d91e81d5c6d140df73cd397e5a6002b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Did anyone read this article from Bernhard Werner posted on the 3S Home web site? Great article.&lt;/p&gt;
&lt;p&gt;It seems there is a mistake in the article in figure 4 code. it was defined :&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;Var&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;MyRoom1&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;LightRoom&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;MyRoom2&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;LightRoom&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;MyRoomCtrl&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;ROOM_CTRL&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;end_var&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I believe it should be:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;Var&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;MyRoom1&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;LightRoom&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;MyRoom2&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;Light2Room&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt; &lt;/span&gt;&lt;span class="n"&gt;MyRoomCtrl&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="n"&gt;ROOM_CTRL&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="n"&gt;end_var&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;What do you think? In the example in figure 4 the outcome of calling MyRoomCtrl would have been the same with Room1 and Room2. The inheritance and polymorphism was skipped by not declaring Room2 as Light2Room. If have that wrong please explain.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>