<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to mobus tcp slave device. read/write holdings with 2 variables.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6a11a874cc/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6a11a874cc/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/6a11a874cc/</id><updated>2024-03-20T06:53:43.136000Z</updated><subtitle>Recent posts to mobus tcp slave device. read/write holdings with 2 variables.</subtitle><entry><title>mobus tcp slave device. read/write holdings with 2 variables.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/6a11a874cc/?limit=25#71dc" rel="alternate"/><published>2024-03-20T06:53:43.136000Z</published><updated>2024-03-20T06:53:43.136000Z</updated><author><name>wbj0t</name><uri>https://forge.codesys.com/u/wbj0t/</uri></author><id>https://forge.codesys.com743afc4d4ee23ba337c15470edb5b755333d2cf3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi there.&lt;br/&gt;
I have an issue to read and set time for the controller. In the issue many registers described as writable by 6/16 functions, and, in this time, also(!) readable! For example: I have time registers: min, hour, day, mon, year. By specifications it is possible check time (so I need always update these varibles in loop) and set time by writing these same registers, BUT how to set, if they will immediatle updated by current time after writing?&lt;br/&gt;
So, I need to separate one address at two variables.&lt;br/&gt;
I have seen option mark: Overlay of the process image by the holding and input register. I understand this so: When I READ by function 3, I will get variable that connected with the same INPUT address and when I WRITE by 6/16 this will change second variable that connected with HOLDING address. BUT, this mark doesnt work, when I write 6/16 and try to get by function 3, I will get written value instead INPUT variable.&lt;br/&gt;
So, what to do?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>