<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus RTU over TCP/IP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/</id><updated>2020-12-13T09:41:05.806000Z</updated><subtitle>Recent posts to Modbus RTU over TCP/IP</subtitle><entry><title>Modbus RTU over TCP/IP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/?limit=25#0aa6" rel="alternate"/><published>2020-12-13T09:41:05.806000Z</published><updated>2020-12-13T09:41:05.806000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/</uri></author><id>https://forge.codesys.comf4209561702daf77fdc6b02413141e724e8c086f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Now you can adds channel to communicate with your slave Modbus RTU by modbus function 3,4,6,16 etc .... (look on attachment4)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus RTU over TCP/IP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/?limit=25#33d4" rel="alternate"/><published>2020-12-13T09:35:29.840000Z</published><updated>2020-12-13T09:35:29.840000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/</uri></author><id>https://forge.codesys.come486b98b292917104dede6023dfbd06ffc9d0685</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you want communicate with Modbus RTU slave by Modbus TCP you should connected RS485 to device server and Ethernet to yours Codesys device. Next in codesys you should add Ethernet adapter (IP addres like you use to connect by Codesys environment- look on attachement1), next add Modbus TCP Master (look on attachement2), next you can add several Modbus TCP Slave's.&lt;br/&gt;
For example if you want communicate with slave 9600/8 / N / 1 and number 2, you should add add Modbus TCP Slave like in attachement3. Unit ID is the same like number Modbus RTU Slave. Device only convert Modbus TCP to RTU and other side.&lt;br/&gt;
To above settings you should setting first port in device like in attachement .&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus RTU over TCP/IP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/?limit=25#588d/be1e" rel="alternate"/><published>2020-12-12T22:28:52.126000Z</published><updated>2020-12-12T22:28:52.126000Z</updated><author><name>ristokarmas</name><uri>https://forge.codesys.com/u/ristokarmas/</uri></author><id>https://forge.codesys.com9b0d2ac468f8dbb420c50eebe7933694b1255492</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Damina177&lt;br/&gt;
I want to use this "cheap" solution but it`s Lantronix x port embedded into device. Can you please send me this example how you communicate with RTU slave by TCP?&lt;/p&gt;
&lt;p&gt;BR.Risto&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus RTU over TCP/IP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/?limit=25#588d" rel="alternate"/><published>2020-12-10T17:32:40.057000Z</published><updated>2020-12-10T17:32:40.057000Z</updated><author><name>damian177</name><uri>https://forge.codesys.com/u/damian177/</uri></author><id>https://forge.codesys.comdfd141425c02ad6b25c00926389e73e3f47623ed</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Do you want use modbus RTU encapsulation on Ethernet ? Or do you want use modbusRTU &amp;lt;=&amp;gt; modbus TCP ? This can be do by MGAte MOXA devices (rich solution). Recently I used cheap solution (https://pl.aliexpress.com/item/32903944684.html)&lt;br/&gt;
This can be work in both mention configuration. In attachements I send example how I do communication    with modbus RTU Slave  by Modbus TCP.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus RTU over TCP/IP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/?limit=25#901b" rel="alternate"/><published>2020-12-06T11:03:40.098000Z</published><updated>2020-12-06T11:03:40.098000Z</updated><author><name>ristokarmas</name><uri>https://forge.codesys.com/u/ristokarmas/</uri></author><id>https://forge.codesys.comc860a6be27c9d1e73c3ae84452fac111e5d42b48</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;ok, thank you anyway. Will use socat to virtualize port.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus RTU over TCP/IP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/?limit=25#13ac" rel="alternate"/><published>2020-12-06T10:42:04.062000Z</published><updated>2020-12-06T10:42:04.062000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comd83028c925b50354ff821dcda10de1c21b2f12d7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;"Modbus RTU over TCP" isn't really one of the Modbus standards. I don't know how to help you further, sorry.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus RTU over TCP/IP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/?limit=25#5239" rel="alternate"/><published>2020-12-05T22:24:22.476000Z</published><updated>2020-12-05T22:24:22.476000Z</updated><author><name>ristokarmas</name><uri>https://forge.codesys.com/u/ristokarmas/</uri></author><id>https://forge.codesys.com8c505dffffe3bc7310b0ca02df4382690234b955</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;User manual of that device?&lt;br/&gt;
If i`m using some mb sotware where i can choose rtu over tcp everything works fine. One option is to create virtual com port and use it as mb com port. But i was hoping there is good option to do all code and config inside CodeSys.&lt;br/&gt;
Cant find any information about that issue.&lt;/p&gt;
&lt;p&gt;There is possibility to set mb Slave, com port under mb TCP Slave. Looks like the option i need, but cant find any documentation and will recive "TCP communication error" after i configure any slave channel.&lt;/p&gt;
&lt;p&gt;BR.&lt;br/&gt;
Risto&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus RTU over TCP/IP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/?limit=25#e49c" rel="alternate"/><published>2020-12-05T18:06:30.277000Z</published><updated>2020-12-05T18:06:30.277000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comd5c7819209ed281ce2e348bb9a7e27985620ae2c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is there a user-manual? Is there a part number?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus RTU over TCP/IP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a095fc26ec/?limit=25#a2c7" rel="alternate"/><published>2020-12-05T17:07:08.167000Z</published><updated>2020-12-05T17:07:08.167000Z</updated><author><name>ristokarmas</name><uri>https://forge.codesys.com/u/ristokarmas/</uri></author><id>https://forge.codesys.com74146038d8d73e01056b473ee6c30a42cd87ec1e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have device where serial data is mirrored into TCP port(Lantronix Xport). There is also Modbus possible but it`s MB RTU over TCP. Is there any good way to use mb rtu protocol over tcp? &lt;/p&gt;
&lt;p&gt;Best Regards,&lt;br/&gt;
Risto&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>