<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus RTU Response CRC fail</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/227489b557/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/227489b557/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/227489b557/</id><updated>2024-09-19T05:59:40.916000Z</updated><subtitle>Recent posts to Modbus RTU Response CRC fail</subtitle><entry><title>Modbus RTU Response CRC fail</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/227489b557/?limit=25#6106" rel="alternate"/><published>2024-09-19T05:59:40.916000Z</published><updated>2024-09-19T05:59:40.916000Z</updated><author><name>dohy</name><uri>https://forge.codesys.com/u/dohy/</uri></author><id>https://forge.codesys.come4ee667c61d93fa3888c9aabb13622ba5d0509bf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Did you resolve it?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus RTU Response CRC fail</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/227489b557/?limit=25#cb02" rel="alternate"/><published>2021-06-01T11:13:07.110000Z</published><updated>2021-06-01T11:13:07.110000Z</updated><author><name>trittonac</name><uri>https://forge.codesys.com/u/trittonac/</uri></author><id>https://forge.codesys.coma7c924ce312076114e3c32e1eab8d1785e2f8eb0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I am using the demo version of codesys ARM SL and testing the modbus RTU. I encountered the error where the package on the bus is correct, but codesys returns CRC FAIL.&lt;br/&gt;
I am using baud rate 115200, no parity, 8 data bits, 2 stop bits. &lt;br/&gt;
The signal in the attached image is a response to reading input registers (function code 4), length 2. The address of the slave is 0x07. &lt;br/&gt;
I calculated the CRC and it is correct, also shown in the attached image.&lt;br/&gt;
I am aware that the slave devices' response has a bit inserted after the function code, but it is like a third stop bit, and the start bit of the next byte has not occurred yet.&lt;br/&gt;
This bit does not cause any problems in communication with our other systems.&lt;/p&gt;
&lt;p&gt;Any ideas what is causing this problem?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>