<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[REXYGEN Community Forum / Counter]]></title>
	<link rel="self" href="https://www.rexygen.com/oldforum/extern.php?action=feed&amp;tid=385&amp;type=atom"/>
	<link href="http://www.rexygen.com/oldforum/viewtopic.php?id=385"/>
	<updated>2017-09-13T16:08:41Z</updated>
	<generator>FluxBB</generator>
	<id>http://www.rexygen.com/oldforum/viewtopic.php?id=385</id>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1722#p1722"/>
		<content type="html"><![CDATA[<p>Hi martijnperdaan,</p><p>as far as I can understand you are hopefully looking for &quot;Sample and hold&quot; function, am I right? If yes, have a look at &quot;SHLD&quot; function block - <a href="https://www.rexcontrols.com/media/doc/PDF/ENGLISH/BRef_ENG.pdf#page=142" rel="nofollow">https://www.rexcontrols.com/media/doc/P … f#page=142</a></p><p>If not, try to write your comments in Dutch and I will do my best to answer correctly - the possibilities of Google Translator are unbelievable these days <img src="http://www.rexygen.com/oldforum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>And according to your last post: the digital input can be transformed to pulse by &quot;EDGE_&quot; function block - <a href="https://www.rexcontrols.com/media/doc/PDF/ENGLISH/BRef_ENG.pdf#page=251" rel="nofollow">https://www.rexcontrols.com/media/doc/P … f#page=251</a></p><p>Hope it helps.</p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-09-13T16:08:41Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1722#p1722</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1720#p1720"/>
		<content type="html"><![CDATA[<p>How can I make a pulse from a digitale input ?</p>]]></content>
		<author>
			<name><![CDATA[martijnperdaan]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=82</uri>
		</author>
		<updated>2017-09-12T10:58:03Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1720#p1720</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1717#p1717"/>
		<content type="html"><![CDATA[<p><a href="https://www.rexygen.com/oldforum/img/members/82/minimal_rexlang3.c" rel="nofollow">minimal_rexlang3.c</a><a href="https://www.rexygen.com/oldforum/img/members/82/exec.mdl" rel="nofollow">exec.mdl</a><a href="https://www.rexygen.com/oldforum/img/members/82/EierTeller.mdl" rel="nofollow">EierTeller.mdl</a><a href="https://www.rexygen.com/oldforum/img/members/82/mysql_ioconfig.rio" rel="nofollow">mysql_ioconfig.rio</a></p><p>if you loke at the rexlang fuction blok you she there is a analoge input <br />and there is a formula that give&#039;s a aswer to output 15 </p><p>if digitale input 2 (not drawd yet) is high the analoog input is goiong back to zero but at that moment i has to count the aswere from output 15 whe the answere he alreddy had whit output 15</p><br /><br /><p>sorry for my bad englisch</p>]]></content>
		<author>
			<name><![CDATA[martijnperdaan]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=82</uri>
		</author>
		<updated>2017-09-08T15:09:52Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1717#p1717</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1715#p1715"/>
		<content type="html"><![CDATA[<p>Hi martijnperdaan,</p><p>I&#039;m sorry, I&#039;m still not able to understand what exactly are you trying achieve. Please, can you describe the purpose of the algorithm? What are inputs, outputs, states, etc.? What problem does it solve?</p><p>Your previous post can be implemented using ADD block. What should the output look like in next period? (5.4 + 3.6)+new signal 1 + new signal 2?</p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-09-07T13:49:19Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1715#p1715</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1714#p1714"/>
		<content type="html"><![CDATA[<p>But how do I count signals 1 ( 5.4) and signals 2 (3.6) together when digitale input is high</p><p>Like 5.4 + 3.6</p>]]></content>
		<author>
			<name><![CDATA[martijnperdaan]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=82</uri>
		</author>
		<updated>2017-09-07T06:10:33Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1714#p1714</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1712#p1712"/>
		<content type="html"><![CDATA[<p>Hi martijnperdaan,</p><p>just connect your digital signal to the &quot;UP&quot; input of &quot;COUNT&quot; function block. &quot;EDGE&quot; function block is not necessary in this case because the &quot;COUNT&quot; block reacts only on rising edges.</p><p><span class="postimg"><img src="https://www.rexygen.com/oldforum/img/members/39/counter.png" alt="counter.png" /></span></p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-09-04T11:40:02Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1712#p1712</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1711#p1711"/>
		<content type="html"><![CDATA[<p>can you show me a Example</p>]]></content>
		<author>
			<name><![CDATA[martijnperdaan]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=82</uri>
		</author>
		<updated>2017-08-31T18:09:59Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1711#p1711</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1710#p1710"/>
		<content type="html"><![CDATA[<p>Hi martijnperdaan,</p><p>look at &quot;COUNT&quot; function block (see docs: <a href="https://www.rexcontrols.com/media/doc/PDF/ENGLISH/BRef_ENG.pdf#page=244" rel="nofollow">https://www.rexcontrols.com/media/doc/P … f#page=244</a>). The digital signal connect through &quot;EDGE&quot; function block to &quot;UP&quot; input of &quot;COUNT&quot; function block. &quot;EDGE&quot; will catch only the rising edge of the digital signal (or any edge according to the function block settings).</p><p>Hope it helps.</p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-08-31T08:55:06Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1710#p1710</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1709#p1709"/>
		<content type="html"><![CDATA[<p>he has to count up&#160; like 1+ 1 = 2 when it is high voor the first time the second time he has toe count the answer 2 + 1 = 3 when the input is high at the third time he has to count 3 + 1 = 4 when the input is high</p><p>like that over and over again</p>]]></content>
		<author>
			<name><![CDATA[martijnperdaan]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=82</uri>
		</author>
		<updated>2017-08-30T20:07:44Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1709#p1709</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1708#p1708"/>
		<content type="html"><![CDATA[<p>Hi martijnperdaan,</p><p>thank you for your question. The REX Control System is based on continuous execution. What do you expect to be the output of the function block when the digital input is low? Zero? Last valid value?</p><p>You can use &quot;ADD&quot; function block followed by multiplication &quot;MUL&quot;. The second input of &quot;MUL&quot; will be connected to the digital signal. See attached screenshot.</p><p><span class="postimg"><img src="https://www.rexygen.com/oldforum/img/members/39/add.png" alt="add.png" /></span></p><p>I&#039;m not sure if I understand clearly your problem. Please, can you describe your issue more in general? What is the aim of your current project? I will be happy to help.</p><p>Regards, Tomas</p>]]></content>
		<author>
			<name><![CDATA[tomáš čechura]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=39</uri>
		</author>
		<updated>2017-08-30T07:54:22Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1708#p1708</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Re: Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1707#p1707"/>
		<content type="html"><![CDATA[<p>the input signal can be high for a couple of second bit stil he must count one time <br />not counting and counting untill the signal is low again</p><br /><p>ps sorry for my bad englisch</p>]]></content>
		<author>
			<name><![CDATA[martijnperdaan]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=82</uri>
		</author>
		<updated>2017-08-29T20:30:12Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1707#p1707</id>
	</entry>
	<entry>
		<title type="html"><![CDATA[Counter]]></title>
		<link rel="alternate" href="http://www.rexygen.com/oldforum/viewtopic.php?pid=1706#p1706"/>
		<content type="html"><![CDATA[<p>i am looking for a fuction block that count 2 signals when digitale input is high</p><br /><p>like if a digitale input is high count signal1 + signal2&#160; &#160; &#160; &#160;2 + 2 = 4</p>]]></content>
		<author>
			<name><![CDATA[martijnperdaan]]></name>
			<uri>http://www.rexygen.com/oldforum/profile.php?id=82</uri>
		</author>
		<updated>2017-08-29T20:26:55Z</updated>
		<id>http://www.rexygen.com/oldforum/viewtopic.php?pid=1706#p1706</id>
	</entry>
</feed>
