<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus TCP Slave Timing Performance</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6904e7ece2/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6904e7ece2/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/6904e7ece2/</id><updated>2020-02-27T16:15:56.731000Z</updated><subtitle>Recent posts to Modbus TCP Slave Timing Performance</subtitle><entry><title>Modbus TCP Slave Timing Performance</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6904e7ece2/?limit=25#7d32" rel="alternate"/><published>2020-02-27T16:15:56.731000Z</published><updated>2020-02-27T16:15:56.731000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com1149da37518aea0e34861292d64e0a1a67c1a433</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
there is no known change on that,&lt;br/&gt;
but even if you switch back or update the libs should give the result both version behave in the same way.&lt;/p&gt;
&lt;p&gt;How to switch between the versions?&lt;/p&gt;
&lt;p&gt;Rightclick on the modebus device in the device three - update -&amp;gt; show all version... then either SP14 or SPxx what ever you want.&lt;br/&gt;
This switches the library version too.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus TCP Slave Timing Performance</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/6904e7ece2/?limit=25#03c4" rel="alternate"/><published>2020-02-27T16:15:55.914000Z</published><updated>2020-02-27T16:15:55.914000Z</updated><author><name>celliott</name><uri>https://forge.codesys.com/u/celliott/</uri></author><id>https://forge.codesys.come05b2b5422a19ed255bea1d24b8a8d2cb26bbfec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I recently upgraded Codesys from V3.5.14.0 to V3.5.14.20 and the performance of my Modbus TCP Slave devices has degraded where I'm getting around a 5 second poll time, where I was getting around 2 seconds with the previous version.&lt;/p&gt;
&lt;p&gt;Looking at the Modbus TCP Slave object within the watch window, I noticed now the MB_ERRORCODES cycles through either RESPONSE_SUCCESS, RESPONSE_INVALID_HEADER or UNDEFINED.&lt;/p&gt;
&lt;p&gt;I'm running the Modbus TCP Slave device with a cyclic trigger and I've tried changing settings such as timeout, trigger time, etc. I've also tried running via a rising edge trigger, but no improvement observed.&lt;/p&gt;
&lt;p&gt;Also, I'm running Codesys on a Windows 7 64 bit PC and a RP2 single core application where I upgraded both the development environment and RP2 both to V3.5.14.20. The version of the Modbus TCP Slave driver is V3.5.12.0.&lt;/p&gt;
&lt;p&gt;Any ideas on how I can improve the Modbus TCP Slave polling time, I need short as possible to suit my application?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>