<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CodeSys 3.5 Displayed Values Concerns</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/325f0db4ba/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/325f0db4ba/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/325f0db4ba/</id><updated>2020-06-19T18:56:05.612000Z</updated><subtitle>Recent posts to CodeSys 3.5 Displayed Values Concerns</subtitle><entry><title>CodeSys 3.5 Displayed Values Concerns</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/325f0db4ba/?limit=25#5395" rel="alternate"/><published>2020-06-19T18:56:05.612000Z</published><updated>2020-06-19T18:56:05.612000Z</updated><author><name>jadchamas</name><uri>https://forge.codesys.com/u/jadchamas/</uri></author><id>https://forge.codesys.com0b6f950603b3c0ca3b9e4e25c1c4455c98860b13</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi aliazz, &lt;/p&gt;
&lt;p&gt;Thanks a lot for your help, I found the solution in the link you sent me, the 'Union sructure' in codesys. &lt;/p&gt;
&lt;p&gt;TYPE uRealBytes :&lt;br/&gt;
  UNION&lt;br/&gt;
    rValue : REAL;    // Needs 4 Bytes in memory&lt;br/&gt;
    abValue:  ARRAY &lt;span&gt;[0..3]&lt;/span&gt; OF BYTE;&lt;br/&gt;
  END_UNION&lt;br/&gt;
END_TYPE&lt;/p&gt;
&lt;p&gt;Special thanks to all of you guys for your help and concern, I really appreciate.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys 3.5 Displayed Values Concerns</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/325f0db4ba/?limit=250#0e92" rel="alternate"/><published>2020-06-19T07:12:44.580000Z</published><updated>2020-06-19T07:12:44.580000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.com4a0cdb6bc48d757820fa1a8ee45abf121d4a53cd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This forum is loaded on this issue:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/e75cc2ca73/?limit=250#3940"&gt;https://forge.codesys.com/forge/talk/CODESYS-V2/thread/e75cc2ca73/?limit=250#3940&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys 3.5 Displayed Values Concerns</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/325f0db4ba/?limit=25#b08b" rel="alternate"/><published>2020-06-19T01:56:15.061000Z</published><updated>2020-06-19T01:56:15.061000Z</updated><author><name>ph0010421</name><uri>https://forge.codesys.com/u/ph0010421/</uri></author><id>https://forge.codesys.com2218b9614a4bcbb302e69a53a006f4cb8d554641</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;br/&gt;
Try creating a UNION between:&lt;/p&gt;
&lt;p&gt;AsBytes: ARRAY&lt;span&gt;[0..3]&lt;/span&gt; OF BYTE;&lt;br/&gt;
AsReal: REAL;&lt;/p&gt;
&lt;p&gt;Map your incoming bytes to AsBytes&lt;span&gt;[0]&lt;/span&gt;, &lt;a class="alink" href="/forge/talk-ru/1/"&gt;[1]&lt;/a&gt;, &lt;a class="alink" href="/forge/talk-ru/2/"&gt;[2]&lt;/a&gt; and &lt;a class="alink" href="/forge/talk-ru/3/"&gt;[3]&lt;/a&gt; and the REAL value should appear in AsReal.&lt;br/&gt;
You may need to change the order 0123 to 2301 in the mapping depending on the device.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys 3.5 Displayed Values Concerns</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/325f0db4ba/?limit=25#9c09" rel="alternate"/><published>2020-06-18T16:33:31.986000Z</published><updated>2020-06-18T16:33:31.986000Z</updated><author><name>jadchamas</name><uri>https://forge.codesys.com/u/jadchamas/</uri></author><id>https://forge.codesys.comccf5746576c2e21157538ba9f8509834ff72361e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I created the variables in GVL as you told me, but I still don't get the values in Real (Screenshot 1), the values are always shown in bytes as in Screenshot 2.&lt;/p&gt;
&lt;p&gt;Could you please explain more how to solve this Offset probem ? why can't I see the real values of the vibration object defined in VSE151?&lt;br/&gt;
Thanks so much.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys 3.5 Displayed Values Concerns</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/325f0db4ba/?limit=25#33bf" rel="alternate"/><published>2020-06-17T23:47:52.353000Z</published><updated>2020-06-17T23:47:52.353000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comdd2cc71b2c1c1c95bde6efd9e6b05101f18cde86</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Make a GVL that has&lt;br/&gt;
VAR&lt;br/&gt;
    VRmsTimeDomain : REAL AT %IB0;&lt;br/&gt;
    VRmsTimeDomainState : BYTE AT %IB4;&lt;br/&gt;
END_VAR&lt;/p&gt;
&lt;p&gt;You can get the correct %IB from the Offset (Relative) column of Screenshot 2.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CodeSys 3.5 Displayed Values Concerns</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/325f0db4ba/?limit=25#da57" rel="alternate"/><published>2020-06-17T20:43:31.565000Z</published><updated>2020-06-17T20:43:31.565000Z</updated><author><name>jadchamas</name><uri>https://forge.codesys.com/u/jadchamas/</uri></author><id>https://forge.codesys.com04af701f6170ae842cc1ddb721958b2fbf25a87f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All, &lt;/p&gt;
&lt;p&gt;Please I would like your help for DWORD Values concatenation which is not displaying the Vibration Sensor Value on Codesys.&lt;br/&gt;
This Vibration Sensor is connected to CodeSys 3.5 via a VSE151 module (Please see attached a Single Line from Screenshot 1)&lt;br/&gt;
The VSE151 displays correct values, but the concern is on Codesys which is displaying Vibration values in Bytes. Others Screenshots are attached showing the mismatch.&lt;/p&gt;
&lt;p&gt;I would like to get the real values in Codesys. Any help would be really appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>