<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Counter input 8 bit to 32 bit</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0a586af1d8/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0a586af1d8/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/0a586af1d8/</id><updated>2020-02-27T16:46:22.524000Z</updated><subtitle>Recent posts to Counter input 8 bit to 32 bit</subtitle><entry><title>Counter input 8 bit to 32 bit</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0a586af1d8/?limit=25#6ffd" rel="alternate"/><published>2020-02-27T16:46:22.524000Z</published><updated>2020-02-27T16:46:22.524000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com633e5a2f01ab6d6254d8dc4161fe28f251a14d78</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; scott_cunningham&lt;/p&gt;
&lt;p&gt;Make a small FB that has an UINT. Add 256 to the UINT whenever you see counter &amp;lt; old counter. Set old counter = counter.  This will catch the rollover.  Then when UINT &amp;gt; 10000, you have 1 liter.  You could even make a liter counter and roll over your UINT every 10000 counts.   This way you can make a FB give you liters instead of worrying about counting.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Counter input 8 bit to 32 bit</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0a586af1d8/?limit=25#6590" rel="alternate"/><published>2020-02-27T16:46:19.979000Z</published><updated>2020-02-27T16:46:19.979000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.comb98dd99add8ece5f7c8b714456ef25ebe4a38df2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; eser_&lt;/p&gt;
&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;I have a eaotn XN-322-16DIO-PC05 modul. And there is 2 counter inputs.&lt;br/&gt;
So when i recieve 10000 pulses form counter input  it means that i have 1 lt water.&lt;br/&gt;
But my counter input is one byte. And it returns to 0 after 255.&lt;br/&gt;
Is there is any way to change my byte counter to ınt or word?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>