<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/61e4b5048b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/61e4b5048b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/61e4b5048b/</id><updated>2020-06-03T12:00:12.170000Z</updated><subtitle>Recent posts to Modbus problem</subtitle><entry><title>Modbus problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/61e4b5048b/?limit=25#1655" rel="alternate"/><published>2020-06-03T12:00:12.170000Z</published><updated>2020-06-03T12:00:12.170000Z</updated><author><name>francoinf</name><uri>https://forge.codesys.com/u/francoinf/</uri></author><id>https://forge.codesys.com06ce73e50cf5195a0929aecce94c13ac78341635</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Codesys support,&lt;br/&gt;
I have a communication problem with a card (Olimpia Splendid B0372) through the modbus protocol.&lt;br/&gt;
The card works with this setting: modbus ascii, baud 9600, data bits 7, stop bit 1, even parity. By setting this conditions with codesys, I can't communicate.&lt;br/&gt;
I bought a gateway, which allows storage between modbus ascii and modbus rtu (ICP DAS TSH-735), through which I can set up a communication, even if the device&lt;br/&gt;
does not respond correctly in writing (while in reading I have no problems). The card has three registers, at addresses 101, 102 and 103. The operating mode is shown in the datasheet that I send in the attachment (in which it is written that it is necessary to write the registers 101, 102, 103 in sequence).&lt;br/&gt;
In register 101 I can't write anything, while when I go to write in registers 102 and 103, whatever I write, it always inserts the value 0.&lt;br/&gt;
I also tried to write individually in each register, but the situation does not change compared to what I reported above.&lt;br/&gt;
By trying, however, with a modbus test software installed on the computer (Modbus Poll), I can write on the registers.&lt;br/&gt;
Can you advise me how to solve the problem?&lt;br/&gt;
Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>