<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CTD – Change preset value, same variable as current value</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/110023e453/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/110023e453/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/110023e453/</id><updated>2020-02-27T14:02:54.409000Z</updated><subtitle>Recent posts to CTD – Change preset value, same variable as current value</subtitle><entry><title>CTD – Change preset value, same variable as current value</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/110023e453/?limit=25#15e7" rel="alternate"/><published>2020-02-27T14:02:54.409000Z</published><updated>2020-02-27T14:02:54.409000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.come36f6b8f10a1b86e9ad640b4ebce998fdb97a692</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; scott_cunningham&lt;/p&gt;
&lt;p&gt;I think the clearest way would be to use a separate variable for the desired starting value.  If you try your solution, then your AmountDisp value is updated (written to) every PLC scan.  Most likely the user entered value is being overwritten before the LOAD input can be set true.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CTD – Change preset value, same variable as current value</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/110023e453/?limit=25#0daa" rel="alternate"/><published>2020-02-27T14:02:53.426000Z</published><updated>2020-02-27T14:02:53.426000Z</updated><author><name>prplxr</name><uri>https://forge.codesys.com/u/prplxr/</uri></author><id>https://forge.codesys.com5055a96e00ff1c04b1c167ec511de30e056ae6e3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;So, I have a CTD with current value being displayed on a display (modbus). I want to be able to change this value in the display and then load it into the CTD whenever needed. How would I go about doing this?&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: codesys_mar_ctd_amount.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2161"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>