<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to REAL in Codesys</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b1b7c0e0d3/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b1b7c0e0d3/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/b1b7c0e0d3/</id><updated>2020-02-28T13:16:31.780000Z</updated><subtitle>Recent posts to REAL in Codesys</subtitle><entry><title>REAL in Codesys</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b1b7c0e0d3/?limit=25#ffeb" rel="alternate"/><published>2020-02-28T13:16:31.780000Z</published><updated>2020-02-28T13:16:31.780000Z</updated><author><name>gravieren</name><uri>https://forge.codesys.com/u/gravieren/</uri></author><id>https://forge.codesys.com1bb6859b5a74982773aed3b8f8dbac6542bae068</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;J Schohaus hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Dann kannst du dein Wert umwandel von RAL_TO_STRING&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;REAL_TO_STRING  &lt;/p&gt;
&lt;p&gt;Gruß Karl&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>REAL in Codesys</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b1b7c0e0d3/?limit=25#54f9" rel="alternate"/><published>2020-02-28T13:16:24.450000Z</published><updated>2020-02-28T13:16:24.450000Z</updated><author><name>J Schohaus</name><uri>https://forge.codesys.com/u/j-schohaus/</uri></author><id>https://forge.codesys.com5fbaef715bb7a394e4072248e7ebfc469c629571</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo mesc&lt;/p&gt;
&lt;p&gt;Real in Codesys sind Float.&lt;br/&gt;
Leg deine Variable yaw mit AT auf die Adresse %ID68&lt;br/&gt;
Dann kannst du dein Wert umwandel von RAL_TO_STRING&lt;/p&gt;
&lt;p&gt;mfG Jochen&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>REAL in Codesys</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/b1b7c0e0d3/?limit=25#88e7" rel="alternate"/><published>2020-02-28T13:16:21.839000Z</published><updated>2020-02-28T13:16:21.839000Z</updated><author><name>mesc</name><uri>https://forge.codesys.com/u/mesc/</uri></author><id>https://forge.codesys.com01daebb3847d6184311bb0f98b149ead45336d21</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Wie wird ein REAL Wert in Codesys interpretiert?&lt;br/&gt;
Ich hätte erwartet, es ist ein Float. Dann würde der Wert 0xBD3A38BF -4.546E-2 entsprechen:&lt;br/&gt;
&lt;a class="" href="http://www.binaryconvert.com/result_float.html?hexadecimal=BD3A38BF" rel="nofollow"&gt;http://www.binaryconvert.com/result_float.html?hexadecimal=BD3A38BF&lt;/a&gt;&lt;br/&gt;
Aber Codesys rechnet die Bytes ganz anders um:&lt;/p&gt;
&lt;p&gt;in Codesys wird daraus der Wert: 9.930815e+008 resp. '993081500.0'&lt;br/&gt;
Die Variable 'yaw' ist als REAL deklariert, %ID68 kommt aus einem eds File und es wird auch als REAL angegeben...&lt;/p&gt;
&lt;p&gt;Kann mir jemand weiterhelfen?&lt;br/&gt;
Danke&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: REAL.PNG" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=758"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>