<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Best practices for querying multiple MODBUS devices</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/503585a387/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/503585a387/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/503585a387/</id><updated>2024-07-31T10:56:43.706000Z</updated><subtitle>Recent posts to Best practices for querying multiple MODBUS devices</subtitle><entry><title>Best practices for querying multiple MODBUS devices</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/503585a387/?limit=25#3145" rel="alternate"/><published>2024-07-31T10:56:43.706000Z</published><updated>2024-07-31T10:56:43.706000Z</updated><author><name>dawidr</name><uri>https://forge.codesys.com/u/dawidr/</uri></author><id>https://forge.codesys.com629e4b3c6be5092a9ccfc181e49b1fe54d42c665</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi! What are the best practices for querying multiple Modbus devices? Single PRG or maybe multiple PRG (so basically multiple thread) per each Modbus device.&lt;br/&gt;
In my current implementation I'm using single PRG and I'm utilizing &lt;code&gt;FbMbMasterMultiQuerySerial&lt;/code&gt; and &lt;code&gt;WagoAppPlcModbus.FbDigitalTwinMbSlaveDevice&lt;/code&gt;. I've the timer with 2 seconds delay there and it was working fine for single device. But now I have three Modbus devices and for two of them I need to run 2/3 queries to get data from all registers. I noticed that the delays for getting the data from the Modbus devices is much bigger right now.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>