<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Scaling of numbers in text boxes</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ce17fa7904/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ce17fa7904/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/ce17fa7904/</id><updated>2020-02-27T19:16:19.512000Z</updated><subtitle>Recent posts to Scaling of numbers in text boxes</subtitle><entry><title>Scaling of numbers in text boxes</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ce17fa7904/?limit=25#25f3" rel="alternate"/><published>2020-02-27T19:16:19.512000Z</published><updated>2020-02-27T19:16:19.512000Z</updated><author><name>Manfred Werner</name><uri>https://forge.codesys.com/u/manfred-werner/</uri></author><id>https://forge.codesys.com0e7c78324419160ef57a188a4714759772fa36c6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Steve,&lt;/p&gt;
&lt;p&gt;scaling of input (write) values in the visualisation is indeed not possible.&lt;/p&gt;
&lt;p&gt;You can enter minimum and maximum values, but if you have to transform a value with a scaling factor, this must be done within the PLC program.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Scaling of numbers in text boxes</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/ce17fa7904/?limit=25#58ca" rel="alternate"/><published>2020-02-27T19:16:18.288000Z</published><updated>2020-02-27T19:16:18.288000Z</updated><author><name>spfeif</name><uri>https://forge.codesys.com/u/spfeif/</uri></author><id>https://forge.codesys.coma8eb0e0811f0fb0dbd617c3cc526f3d81dadf8e8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Here is what I would like to accomplish.&lt;/p&gt;
&lt;p&gt;All of our variables in the PLC are of type integer. We use no floating point types.&lt;/p&gt;
&lt;p&gt;We would like to use the visualization to be able to change configuration variables online.&lt;/p&gt;
&lt;p&gt;So as an example the speed of the machine may be a percent stored in an integer. The maintanence personel needs to enter a value between 0-100.0.  In the PLC the value 1000 would be stored but displayed to the maintanence personel through the visualization as 100.0. &lt;/p&gt;
&lt;p&gt;I have read that I can multiply,divide,add,subtract vaues in a text box as well as place a minimum and maximum threshold and use sprintf type formats, but this is read only. I can't write values in this text box.&lt;/p&gt;
&lt;p&gt;So is there any way to perform this action with the visualization? I would also like to store values in a file for transfer to other machines.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>