<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspberry as modbus master: 8N1 (no parity) doesn't work</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1f0ad307e9/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1f0ad307e9/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/1f0ad307e9/</id><updated>2020-02-27T17:09:08.275000Z</updated><subtitle>Recent posts to Raspberry as modbus master: 8N1 (no parity) doesn't work</subtitle><entry><title>Raspberry as modbus master: 8N1 (no parity) doesn't work</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1f0ad307e9/?limit=25#391a" rel="alternate"/><published>2020-02-27T17:09:08.275000Z</published><updated>2020-02-27T17:09:08.275000Z</updated><author><name>landis</name><uri>https://forge.codesys.com/u/landis/</uri></author><id>https://forge.codesys.comed5a333f801f12da7426f816e5f79934ddf9eae0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello to everyone!&lt;br/&gt;
I'm using a Raspberry Pi B+ as a Modbus master device running Codesys runtime, the RS485 is provided by a Raspicomm over the Pi.&lt;br/&gt;
Everything works fine in a configuration with the parity control (8E1) but if i use a configuration without parity control the master does not recognize the response from the slave and give a timeout error.&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://s1050.photobucket.com/user/landis90/media/Codesys%20error%208n1.png.html" rel="nofollow"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Sniffing the comunication between two devices with an RS485 to USB adapter on PC, the message sent from the master and the response from the slave seems to be correct:&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="http://s1050.photobucket.com/user/landis90/media/Codesys%20error%20sniff.png.html" rel="nofollow"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Could anyone help me?&lt;br/&gt;
Thanks in advance&lt;br/&gt;
Alberto&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Bild" rel="nofollow" src="http://i1050.photobucket.com/albums/s405/landis90/Codesys%20error%208n1.png"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Bild" rel="nofollow" src="http://i1050.photobucket.com/albums/s405/landis90/Codesys%20error%20sniff.png"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>