<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to New to CoDeSys.Please help me.</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d5983378a0/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d5983378a0/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/d5983378a0/</id><updated>2020-02-27T20:56:22.218000Z</updated><subtitle>Recent posts to New to CoDeSys.Please help me.</subtitle><entry><title>New to CoDeSys.Please help me.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d5983378a0/?limit=25#5556" rel="alternate"/><published>2020-02-27T20:56:22.218000Z</published><updated>2020-02-27T20:56:22.218000Z</updated><author><name>skycruiser</name><uri>https://forge.codesys.com/u/skycruiser/</uri></author><id>https://forge.codesys.com24f55071eaa791910f1083e5d1295ece1081a734</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yeah I want simple FBD routines.I'm learning fbd so that i'm finally able to implement openCAN on easy215 PLC chip.So can you help me with this objective in mind?Well ST programs would also be fine..&lt;/p&gt;
&lt;p&gt;Take Care.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>New to CoDeSys.Please help me.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d5983378a0/?limit=25#89d9" rel="alternate"/><published>2020-02-27T20:56:20.665000Z</published><updated>2020-02-27T20:56:20.665000Z</updated><author><name>deluxe79</name><uri>https://forge.codesys.com/u/deluxe79/</uri></author><id>https://forge.codesys.com81dc36089b551528bf0813a7f250f6404e1b7c48</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Do you mean example routines built using function block diagram technique? Any particular operation in mind? By the way, I would strongly suggest searching for examples. There is a lot of them in this forum, alternatively google.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>New to CoDeSys.Please help me.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d5983378a0/?limit=25#ee54" rel="alternate"/><published>2020-02-27T20:56:19.243000Z</published><updated>2020-02-27T20:56:19.243000Z</updated><author><name>skycruiser</name><uri>https://forge.codesys.com/u/skycruiser/</uri></author><id>https://forge.codesys.com4b828c32525f59bbe2058dafc47c6ebc663da854</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey Buddy...Thanks a lot for the program.It ran successfully.Can you give me some more progs on fbd.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>New to CoDeSys.Please help me.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d5983378a0/?limit=25#cc96" rel="alternate"/><published>2020-02-27T20:56:15.242000Z</published><updated>2020-02-27T20:56:15.242000Z</updated><author><name>deluxe79</name><uri>https://forge.codesys.com/u/deluxe79/</uri></author><id>https://forge.codesys.com5bac7601b7593d1ac1cbd727cda6f14d27d3177e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It's easy to just toggle blinking of e.g. a led. Try this code in your project.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nv"&gt;PROGRAM&lt;/span&gt; &lt;span class="nv"&gt;PLC_PRG&lt;/span&gt;
&lt;span class="nv"&gt;VAR&lt;/span&gt;
   &lt;span class="nv"&gt;Button1&lt;/span&gt; &lt;span class="nv"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="nv"&gt;IX0&lt;/span&gt;.&lt;span class="mi"&gt;0&lt;/span&gt;   : &lt;span class="nv"&gt;BOOL&lt;/span&gt;&lt;span class="c1"&gt;;          (* A button connected to first digital (binary) input *)&lt;/span&gt;
   &lt;span class="nv"&gt;Led1&lt;/span&gt; &lt;span class="nv"&gt;AT&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt;&lt;span class="nv"&gt;QX0&lt;/span&gt;.&lt;span class="mi"&gt;0&lt;/span&gt;      : &lt;span class="nv"&gt;BOOL&lt;/span&gt;&lt;span class="c1"&gt;;          (* A led connected to first digital (binary) output *)&lt;/span&gt;
   &lt;span class="nv"&gt;Blink1&lt;/span&gt;              : &lt;span class="nv"&gt;BLINK&lt;/span&gt;&lt;span class="c1"&gt;;         (* Make an instance of Blink FB. Found in Utils.lib *)&lt;/span&gt;
   &lt;span class="nv"&gt;Trig1&lt;/span&gt;               : &lt;span class="nv"&gt;R_TRIG&lt;/span&gt;&lt;span class="c1"&gt;;        (* Rising edge detection. Found in Standard.lib *)&lt;/span&gt;
   &lt;span class="nv"&gt;xBlink&lt;/span&gt;              : &lt;span class="nv"&gt;BOOL&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;FALSE&lt;/span&gt;&lt;span class="c1"&gt;; (* TRUE=Blinking enabled, FALSE=Blinking disabled *)&lt;/span&gt;
&lt;span class="nv"&gt;END_VAR&lt;/span&gt;
&lt;span class="o"&gt;---&lt;/span&gt;
&lt;span class="nv"&gt;Trig1&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;CLK&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;Button1&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;IF&lt;/span&gt; &lt;span class="nv"&gt;Trig1&lt;/span&gt;.&lt;span class="nv"&gt;Q&lt;/span&gt; &lt;span class="k"&gt;THEN&lt;/span&gt;                         &lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;If&lt;/span&gt; &lt;span class="nv"&gt;detected&lt;/span&gt; &lt;span class="nv"&gt;a&lt;/span&gt; &lt;span class="nv"&gt;rising&lt;/span&gt; &lt;span class="nv"&gt;edge&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;
   &lt;span class="nv"&gt;xBlink&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;NOT&lt;/span&gt; &lt;span class="nv"&gt;xBlink&lt;/span&gt;&lt;span class="c1"&gt;;                (* Toggle blink state *)&lt;/span&gt;
        &lt;span class="k"&gt;IF&lt;/span&gt; &lt;span class="nv"&gt;NOT&lt;/span&gt; &lt;span class="nv"&gt;xBlink&lt;/span&gt; &lt;span class="k"&gt;THEN&lt;/span&gt;              
          &lt;span class="nv"&gt;Blink1&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;ENABLE&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;FALSE&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;        (* Reset blink routine *)&lt;/span&gt;
          &lt;span class="nv"&gt;Led1&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;FALSE&lt;/span&gt;&lt;span class="c1"&gt;;                (* and output. Doing a OUT=&amp;gt;Led1 does not guarantee to switch led off *)       &lt;/span&gt;
        &lt;span class="nv"&gt;END_IF&lt;/span&gt;
&lt;span class="nv"&gt;END_IF&lt;/span&gt;
&lt;span class="k"&gt;IF&lt;/span&gt; &lt;span class="nv"&gt;xBlink&lt;/span&gt; &lt;span class="k"&gt;THEN&lt;/span&gt;
   &lt;span class="nv"&gt;Blink1&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;ENABLE&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;TRUE&lt;/span&gt;, &lt;span class="nv"&gt;TIMELOW&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;t&lt;/span&gt;&lt;span class="sc"&gt;#500&lt;/span&gt;&lt;span class="nv"&gt;ms&lt;/span&gt;, &lt;span class="nv"&gt;TIMEHIGH&lt;/span&gt;:&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="nv"&gt;t&lt;/span&gt;&lt;span class="sc"&gt;#500&lt;/span&gt;&lt;span class="nv"&gt;ms&lt;/span&gt;, &lt;span class="nv"&gt;OUT&lt;/span&gt;&lt;span class="o"&gt;=&amp;gt;&lt;/span&gt;&lt;span class="nv"&gt;Led1&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;   &lt;/span&gt;
&lt;span class="nv"&gt;END_IF&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>New to CoDeSys.Please help me.</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/d5983378a0/?limit=25#f464" rel="alternate"/><published>2020-02-27T20:56:13.838000Z</published><updated>2020-02-27T20:56:13.838000Z</updated><author><name>skycruiser</name><uri>https://forge.codesys.com/u/skycruiser/</uri></author><id>https://forge.codesys.com01844c1a31b0fc1f9176ef9daa39d94d72099a51</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi to all you techies.&lt;/p&gt;
&lt;p&gt;I'm using EASY215 with CoDeSys.I tried the Traffic light example but had some problems.Can anyone provide me with step by step guide to do programming.Any useful docs will be a great help.Currently I'm in need of a simple program to blink a LED with the press of a button.&lt;/p&gt;
&lt;p&gt;You can even give me sample programs or tell me as to where shall I get them.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>