<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to RPI Modbus RTU - two slave device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/244239739d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/244239739d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/244239739d/</id><updated>2022-09-15T10:22:04.770000Z</updated><subtitle>Recent posts to RPI Modbus RTU - two slave device</subtitle><entry><title>RPI Modbus RTU - two slave device</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/244239739d/?limit=25#3abb" rel="alternate"/><published>2022-09-15T10:22:04.770000Z</published><updated>2022-09-15T10:22:04.770000Z</updated><author><name>hartmannl</name><uri>https://forge.codesys.com/u/hartmannl/</uri></author><id>https://forge.codesys.com73007e1ea44475639982625754e81cceb240de30</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I´m new in programming in Codesys. It is possible to add more than one modbus RTU serial device to one COM port?&lt;/p&gt;
&lt;p&gt;In project tree I add Modbus_COM_1 and then Modbus serial device. This device has unity ID 1. I need to add next Modbus serial device (at the same COM port) which have unity ID 2. &lt;/p&gt;
&lt;p&gt;We have PC software that communicate with slave device thru Modbus RTU. This device measure some parameters such as current, voltage, etc. And this software display this parameters. &lt;br/&gt;
For our new project we need display measured data near this slave device. PC software must display the same data. But communication thru modbus RTU allow only one master. &lt;/p&gt;
&lt;p&gt;I connect PC software to Raspberry and then connect Raspberry to our slave device. In Raspberry I use two COM port, one is Master to communicate with slave device, and the second port is slave for PC software. &lt;br/&gt;
In Raspberry (communication port for PC) I need to create same ammount of connected slave device (virtual) as a connectred to second COM port. It is possible?&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>