<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Johnson decade counter not working</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/518236ee02/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/518236ee02/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/518236ee02/</id><updated>2020-02-27T14:00:18.193000Z</updated><subtitle>Recent posts to Johnson decade counter not working</subtitle><entry><title>Johnson decade counter not working</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/518236ee02/?limit=25#6baa" rel="alternate"/><published>2020-02-27T14:00:18.193000Z</published><updated>2020-02-27T14:00:18.193000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.com7327bbca4c58afab3d039d7844e8a79808557a27</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is due too updating of FBs I/O in the same cycle task. &lt;br/&gt;
I bet your previous hardware was not updating in the same cycle a block outputs with the Matching inputs.&lt;/p&gt;
&lt;p&gt;You may want to use some memories to save the previous state of each output and use them as input. Then update the memories after your counter code.&lt;/p&gt;
&lt;p&gt;EDIT : Just by Curiosity, why would you use such a counter ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Johnson decade counter not working</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/518236ee02/?limit=25#ad75" rel="alternate"/><published>2020-02-27T14:00:17.917000Z</published><updated>2020-02-27T14:00:17.917000Z</updated><author><name>rudolsto</name><uri>https://forge.codesys.com/u/rudolsto/</uri></author><id>https://forge.codesys.com3a4539c3b5d1604632b5e74fbb3b929b3437f688</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi forum &lt;br/&gt;
I have been trying to make me a Johnson Decade counter with the Oscat FF_DRE function block.&lt;br/&gt;
when i connect all five FF in a chain i allways get ALL of the outputs identical.&lt;br/&gt;
have done this in CFC as a POU or as a FB in a POU.&lt;br/&gt;
strange, as when i made my own decade counters years ago with digital IC's this was a simple task.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: DecCounter.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4088"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>