<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Flip Flop T. Probably sourcecode issue in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0256dbbf05/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0256dbbf05/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/0256dbbf05/</id><updated>2022-01-11T09:58:47.006000Z</updated><subtitle>Recent posts to Flip Flop T. Probably sourcecode issue in codesys</subtitle><entry><title>Flip Flop T. Probably sourcecode issue in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0256dbbf05/?limit=25#1cc6" rel="alternate"/><published>2022-01-11T09:58:47.006000Z</published><updated>2022-01-11T09:58:47.006000Z</updated><author><name>gatto</name><uri>https://forge.codesys.com/u/gatto/</uri></author><id>https://forge.codesys.com1a5cd2f92c5960e0e248f7fe8e816f11654e6964</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;An other ladder example of FF using xor.&lt;br/&gt;
Programming in ST create a FF is very easy 😊&lt;br/&gt;
Ti saluto ancora, ciao&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Flip Flop T. Probably sourcecode issue in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0256dbbf05/?limit=25#11ad" rel="alternate"/><published>2022-01-11T09:37:20.385000Z</published><updated>2022-01-11T09:37:20.385000Z</updated><author><name>gatto</name><uri>https://forge.codesys.com/u/gatto/</uri></author><id>https://forge.codesys.comf7e8ada8397e4626b2e331d31e1eb44c7b3563fa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Fabrizio,&lt;br/&gt;
looking just a bit of your code, I think the set of u1 is done from w1 but on the branch below reset is done, so the result is zero.&lt;br/&gt;
if you place a contact false on the branch below, you see the set of u1.&lt;br/&gt;
I leave you  an example of flip flop in ladder, hope this can help you.&lt;br/&gt;
Ciao.&lt;br/&gt;
&lt;img src="./attachment/attachment.png" width="50%"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Flip Flop T. Probably sourcecode issue in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0256dbbf05/?limit=250#cba4" rel="alternate"/><published>2022-01-09T10:55:56.377000Z</published><updated>2022-01-09T10:55:56.377000Z</updated><author><name>h-hermsen</name><uri>https://forge.codesys.com/u/hermsen/</uri></author><id>https://forge.codesys.comac1f03fa9a71c0ba64da13e7b708d6951ef2f39d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) There are several bi-stable functions implemented in Standard lib(!)&lt;br/&gt;
    *  SR (SR FF)&lt;br/&gt;
    *  RS (RS FF)&lt;br/&gt;
2) For well implemented ladder patterns I suggest you take a look at&lt;br/&gt;
    * &lt;a href="https://forge.codesys.com/prj/designpatterns/home/Home/#patterns-of-ladder-logic-programming"&gt;https://forge.codesys.com/prj/designpatterns/home/Home/#patterns-of-ladder-logic-programming&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Flip Flop T. Probably sourcecode issue in codesys</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/0256dbbf05/?limit=25#437c" rel="alternate"/><published>2022-01-09T09:34:33.879000Z</published><updated>2022-01-09T09:34:33.879000Z</updated><author><name>fabriziobarbato</name><uri>https://forge.codesys.com/u/fabriziobarbato/</uri></author><id>https://forge.codesys.com9964730f01334cfdf745c4a3c6af7c7e206c89c2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In image two equivalent scheme of Flip Flop Toggle&lt;/p&gt;
&lt;p&gt;In the upper image:&lt;br/&gt;
Sending pulse on "in1" i can't obtain set of "u1" if i prepare "u1=1" sending pulse return it to 0&lt;/p&gt;
&lt;p&gt;In the lower image:&lt;br/&gt;
Sending pulse on "in1" i can't obtain reset of "u1" if i prepare "u1=0" sending pulse return it to 1&lt;/p&gt;
&lt;p&gt;I hope i'm wronging.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>