<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to STRING_TO_REAL in Twin CAT version 2.11</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1f357dc96a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1f357dc96a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/1f357dc96a/</id><updated>2020-02-27T20:50:35.873000Z</updated><subtitle>Recent posts to STRING_TO_REAL in Twin CAT version 2.11</subtitle><entry><title>STRING_TO_REAL in Twin CAT version 2.11</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/1f357dc96a/?limit=25#8c98" rel="alternate"/><published>2020-02-27T20:50:35.873000Z</published><updated>2020-02-27T20:50:35.873000Z</updated><author><name>tech007</name><uri>https://forge.codesys.com/u/tech007/</uri></author><id>https://forge.codesys.com4fe5ae71e04f6638f7868fa38c100555572ab59e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello People,&lt;/p&gt;
&lt;p&gt;Now, it's working.&lt;/p&gt;
&lt;p&gt;Thanks for your suggestion.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>STRING_TO_REAL in Twin CAT version 2.11</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/1f357dc96a/?limit=25#6058" rel="alternate"/><published>2020-02-27T20:50:31.927000Z</published><updated>2020-02-27T20:50:31.927000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.com5959a3015c40357c0f5a518a2658a63a328245cc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;h2 id="j-works-with-codesys-v23928-in-simulation-mode-and-this-exemple-of-program-is-ok"&gt;J works with CoDeSys V2.3.9.28 in simulation mode and this exemple of program is OK :&lt;/h2&gt;
&lt;p&gt;VAR&lt;br/&gt;
    Chaine:STRING;&lt;br/&gt;
    ValR2:REAL;&lt;br/&gt;
END_VAR&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;Program&lt;br/&gt;
ValR2:=STRING_TO_REAL(Chaine);&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;So :&lt;br/&gt;
- Is this really this operation you want to do ?&lt;br/&gt;
- is there no error in the variables declaration ?&lt;br/&gt;
- Is it possible to use REAL whis your PLC ? (J don't use Twincat)&lt;br/&gt;
- Is there a bug in this PLC ?&lt;br/&gt;
- did you try this in simulation mode ?&lt;/p&gt;
&lt;p&gt;Hope these few ideas can be helpful &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>STRING_TO_REAL in Twin CAT version 2.11</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/1f357dc96a/?limit=25#a555" rel="alternate"/><published>2020-02-27T20:50:30.527000Z</published><updated>2020-02-27T20:50:30.527000Z</updated><author><name>tech007</name><uri>https://forge.codesys.com/u/tech007/</uri></author><id>https://forge.codesys.com3a73c3deb299bdd76616c5e70e7615a142086f55</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello People,&lt;/p&gt;
&lt;p&gt;I am creating one application  using TwinCAT version 2.11.&lt;/p&gt;
&lt;p&gt;In which, i am getting string data as output and my problem&lt;/p&gt;
&lt;p&gt;is that i would like to use this values for controling loop of &lt;/p&gt;
&lt;p&gt;the process.&lt;/p&gt;
&lt;p&gt;So, my question is that how can convert data from STRING to REAL&lt;/p&gt;
&lt;p&gt;values ?&lt;/p&gt;
&lt;p&gt;I tried STRING_TO_REAL but it didn't work.&lt;/p&gt;
&lt;p&gt;I also tried with oscat but i have some problem to use function for &lt;/p&gt;
&lt;p&gt;conversation of string. &lt;/p&gt;
&lt;p&gt;Any suggestion and help would be great.&lt;/p&gt;
&lt;p&gt;Thanks in Advance.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>