<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Strange behaviour with CNDR block]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I have 2 CNDR blocks that are configured the same and receive nearly the same input. However, one at some point now outputs 0 while the other still works as expected.</p>
<p dir="auto">This may have happened after the input value (from a tank that was filled to capacity) was at 100%, possibly exceeding 19.5 (mA from a 4-20 mA sensor). Before that, both blocks worked well.</p>
<p dir="auto">The only thing that i noticed is that n is set to 12 while there are only 11 pairs but that does not explain why the CNDR blocks behave differently.</p>
<p dir="auto">In the same task, there are other CNDR blocks (for different tanks) that are all working as expected.</p>
<p dir="auto">CNDR26_3<br />
input u: 16.027<br />
output y: 2157.79</p>
<p dir="auto">CNDR26_4<br />
input u: 16.12<br />
output y: 0</p>
<p dir="auto">Block configuration from mdl file:</p>
<p dir="auto">Block {<br />
BlockType               Reference<br />
Name                    "CNDR26_3"<br />
Ports                   [1, 2, 0, 0, 0]<br />
Position                [885, 3728, 915, 3752]<br />
SourceBlock             "analoglib/CNDR"<br />
n                       12<br />
SATF                    on<br />
up                      "[ 00.0 01.5 03.5 05.5 07.5 09.5 11.5 13.5 15.5 "<br />
"17.5 19.5]\n"<br />
yp                      "[ 0 183 403 647 910 1188 1476 1772 2075 2385 28"<br />
"65]\n"<br />
FontSize                10<br />
#GUID                   964d76ea-d8e2-45f0-a78e-21c1e06a887c<br />
}<br />
Block {<br />
BlockType               Reference<br />
Name                    "CNDR26_4"<br />
Ports                   [1, 2, 0, 0, 0]<br />
Position                [885, 3768, 915, 3792]<br />
SourceBlock             "analoglib/CNDR"<br />
n                       12<br />
SATF                    on<br />
up                      "[ 00.0 01.5 03.5 05.5 07.5 09.5 11.5 13.5 15.5 "<br />
"17.5 19.5]\n"<br />
yp                      "[ 0 183 403 647 910 1188 1476 1772 2075 2385 28"<br />
"65]\n"<br />
FontSize                10<br />
#GUID                   283035dd-135a-4eb9-b58f-b7d97c0258a4<br />
}</p>
<p dir="auto">System: Wago PFC-200.<br />
I'm trying not to reset the system as long as possible to make sure a small issue with REST is fixed.</p>
<p dir="auto">Cheers,<br />
Richard</p>
]]></description><link>https://forum.rexygen.com/topic/31/strange-behaviour-with-cndr-block</link><generator>RSS for Node</generator><lastBuildDate>Sat, 05 Sep 2026 21:12:50 GMT</lastBuildDate><atom:link href="https://forum.rexygen.com/topic/31.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 29 Apr 2019 16:05:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Strange behaviour with CNDR block on Thu, 02 May 2019 06:31:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi Richard,</p>
<p dir="auto">sorry, my mistake. You are right - both arrays have 11 items.<br />
But still the size need to comply with parameter <em>n</em>. Once you change it to 11 it should do the trick.</p>
<p dir="auto">Please, let me know.</p>
<p dir="auto">Cheers, Tomas</p>
]]></description><link>https://forum.rexygen.com/post/80</link><guid isPermaLink="true">https://forum.rexygen.com/post/80</guid><dc:creator><![CDATA[cechurat]]></dc:creator><pubDate>Thu, 02 May 2019 06:31:15 GMT</pubDate></item><item><title><![CDATA[Reply to Strange behaviour with CNDR block on Tue, 30 Apr 2019 09:04:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi Tomas,</p>
<p dir="auto">The last number in the yp parameter is 2865 (this is straight from the mdl file that seems to limit line lenghts to 80).</p>
<p dir="auto">The values below are copied from the block properties in Rexygen Studio:</p>
<p dir="auto">[ 00.0 01.5 03.5 05.5 07.5 09.5 11.5 13.5 15.5 17.5 19.5]</p>
<p dir="auto">[ 0 183 403 647 910 1188 1476 1772 2075 2385 2865]</p>
<p dir="auto">There is a space before the first pair, but i count 11 in both.</p>
<p dir="auto">Cheers,<br />
RIchard</p>
]]></description><link>https://forum.rexygen.com/post/79</link><guid isPermaLink="true">https://forum.rexygen.com/post/79</guid><dc:creator><![CDATA[rluteijn]]></dc:creator><pubDate>Tue, 30 Apr 2019 09:04:12 GMT</pubDate></item><item><title><![CDATA[Reply to Strange behaviour with CNDR block on Tue, 30 Apr 2019 07:38:28 GMT]]></title><description><![CDATA[<p dir="auto">Hi Richard,</p>
<p dir="auto">thanks for reporting the issue. The problem is that <em>up</em> and <em>yp</em> arrays should have <em>n</em> items but your <em>up</em> array has only 11 items, <em>yp</em> 12 items. Please, fix it so they all have same length and it will work well.</p>
<p dir="auto">We have already implemented array length checking for those parameters and it won't compile unless all lengths are correct. The fix will be part of new release.</p>
<p dir="auto">Thank you for understanding.</p>
<p dir="auto">Cheers, Tomas</p>
]]></description><link>https://forum.rexygen.com/post/77</link><guid isPermaLink="true">https://forum.rexygen.com/post/77</guid><dc:creator><![CDATA[cechurat]]></dc:creator><pubDate>Tue, 30 Apr 2019 07:38:28 GMT</pubDate></item></channel></rss>