<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus slave read/write</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cd53f040a5/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cd53f040a5/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/cd53f040a5/</id><updated>2022-07-22T17:04:13.672000Z</updated><subtitle>Recent posts to Modbus slave read/write</subtitle><entry><title>Modbus slave read/write</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cd53f040a5/?limit=25#d8da" rel="alternate"/><published>2022-07-22T17:04:13.672000Z</published><updated>2022-07-22T17:04:13.672000Z</updated><author><name>rckalex</name><uri>https://forge.codesys.com/u/rckalex/</uri></author><id>https://forge.codesys.com5f65653b6b22d1fec4ee128f42e62137074effa3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Having a similar issue. It seems that having coils and registers enabled maps them over the top of each other. With coils disabled I can write to registers externally but not from within the project. Furthermore when there is no activity for an external modbus the values set externally reset to 0.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus slave read/write</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/cd53f040a5/?limit=25#737f" rel="alternate"/><published>2022-07-11T16:54:55.192000Z</published><updated>2022-07-11T16:54:55.192000Z</updated><author><name>jbarrio</name><uri>https://forge.codesys.com/u/jbarrio/</uri></author><id>https://forge.codesys.com1513f82e93fc78b26df50063455158a28d2ae38d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello:&lt;br/&gt;
I have created a modbus slave that serves data to an external master. The thing is that I am only able to configure it so that:&lt;/p&gt;
&lt;p&gt;1 The teacher writes in the variables that I publish, but from codesys I cannot modify those variables.&lt;br/&gt;
2 Codesys write the variables and the master I see them but the master cannot write them.&lt;br/&gt;
The ideal for me would be that both codesys and the modbus master could write and the other could see the change made.&lt;/p&gt;
&lt;p&gt;Is there a way to achieve this with codesys?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>