<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/</id><updated>2020-02-27T15:48:13.276000Z</updated><subtitle>Recent posts to Raspberry Pi B+ modbus RTU</subtitle><entry><title>Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/?limit=25#6494" rel="alternate"/><published>2020-02-27T15:48:13.276000Z</published><updated>2020-02-27T15:48:13.276000Z</updated><author><name>Torsten Wagner</name><uri>https://forge.codesys.com/u/torsten-wagner/</uri></author><id>https://forge.codesys.com5ed459d513ac83b872a2d4326cb606c4b463dfe3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;HY Edwin,&lt;/p&gt;
&lt;p&gt;I found`ve my mistake.&lt;br/&gt;
I thougt there was an Bus error but the Bus was still working i just used the wrong parameters.&lt;/p&gt;
&lt;p&gt;thanks for your help&lt;/p&gt;
&lt;p&gt;Greetings &lt;br/&gt;
Torsten&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/?limit=25#202f" rel="alternate"/><published>2020-02-27T15:48:10.973000Z</published><updated>2020-02-27T15:48:10.973000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comf50346c1db1c61af09503a51bc3dce0908fe1ba3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;this sounds for me like your connected slave does not support the configured function codes.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/?limit=25#5a5f" rel="alternate"/><published>2020-02-27T15:48:10.022000Z</published><updated>2020-02-27T15:48:10.022000Z</updated><author><name>Torsten Wagner</name><uri>https://forge.codesys.com/u/torsten-wagner/</uri></author><id>https://forge.codesys.com725b4f93e83b139158df523dfeee34bb344e816f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi ,&lt;/p&gt;
&lt;p&gt;I tried with an other Terminal and now i get the Error &lt;/p&gt;
&lt;p&gt;"ILLEGAL_FUNCTION"&lt;/p&gt;
&lt;p&gt;On the Modbus Slave&lt;/p&gt;
&lt;p&gt;BR &lt;br/&gt;
Torsten&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/?limit=25#4947" rel="alternate"/><published>2020-02-27T15:48:07.797000Z</published><updated>2020-02-27T15:48:07.797000Z</updated><author><name>Torsten Wagner</name><uri>https://forge.codesys.com/u/torsten-wagner/</uri></author><id>https://forge.codesys.com99bc4b082bf77deaa34cbfef072df01c461c2a20</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin&lt;/p&gt;
&lt;p&gt;I tried it with an Control Win&lt;br/&gt;
but there is no Comunication on the Port&lt;/p&gt;
&lt;p&gt;also not at the start of the application.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Torsten&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/?limit=25#8eb2" rel="alternate"/><published>2020-02-27T15:48:06.915000Z</published><updated>2020-02-27T15:48:06.915000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com9fea8f3a5bd1ba27c79a1e7c5becab71a17c25d8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Thorsten,&lt;/p&gt;
&lt;p&gt;RESPONSE_TIMOUT means:&lt;br/&gt;
Either the answer from the slave occure to late or the answer does not come to the iec code...some how&lt;br/&gt;
Could you check by a sniffing tool if the response is on the serial line?&lt;br/&gt;
Another check might be:&lt;br/&gt;
Using Control Win for a quicktest (if your pc have a Serial Interface or a usb-to-serial interface)&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/?limit=25#4984" rel="alternate"/><published>2020-02-27T15:48:06.107000Z</published><updated>2020-02-27T15:48:06.107000Z</updated><author><name>Torsten Wagner</name><uri>https://forge.codesys.com/u/torsten-wagner/</uri></author><id>https://forge.codesys.comfc9a9354dea9f688ee35d61f943516a4f029eb28</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hy, &lt;br/&gt;
here is the &lt;br/&gt;
Screenshot&lt;/p&gt;
&lt;p&gt;BG&lt;br/&gt;
Torsten&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Pic.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1062"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/?limit=25#1463" rel="alternate"/><published>2020-02-27T15:48:03.880000Z</published><updated>2020-02-27T15:48:03.880000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com5a70a173ce0faba6d63a31c9df32732f35f71ca6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;could you give a screenshot of the non working project of the device tree when you are online?&lt;br/&gt;
Please add the Slavename of the modbus slave to the watchwindow.&lt;br/&gt;
You should see the error there.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/?limit=25#07d7" rel="alternate"/><published>2020-02-27T15:48:03.067000Z</published><updated>2020-02-27T15:48:03.067000Z</updated><author><name>Torsten Wagner</name><uri>https://forge.codesys.com/u/torsten-wagner/</uri></author><id>https://forge.codesys.com7f8ed3666f285952063e383abaa3aebd01c51077</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;I&lt;code&gt;ve Checkt my Serial Comunication with the Raspberry and it works.
I&lt;/code&gt;ve used the Serial Projekt out of these Forum.&lt;/p&gt;
&lt;p&gt;Write Works and Read also.&lt;br/&gt;
But in my other brojekt the Modbus doesnt work I get an working Master but the Slave has an Error.&lt;br/&gt;
What could that be.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Torsten&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/?limit=25#4415" rel="alternate"/><published>2020-02-27T15:48:02.241000Z</published><updated>2020-02-27T15:48:02.241000Z</updated><author><name>Ledrunner</name><uri>https://forge.codesys.com/u/ledrunner/</uri></author><id>https://forge.codesys.comab60922854d4047b6d5d4af7c820721e6ed7e4dd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Solved, was space in string Linux.Devicefile=/dev/ttyUSB. Master now is run.&lt;br/&gt;
But I have other problem. Everything is work (slave device responded), registers is wrote and read. But the Modbus slave now give the message Bus Failure. What could be this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry Pi B+ modbus RTU</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0bc496f0b7/?limit=25#f808" rel="alternate"/><published>2020-02-27T15:47:59.856000Z</published><updated>2020-02-27T15:47:59.856000Z</updated><author><name>Ledrunner</name><uri>https://forge.codesys.com/u/ledrunner/</uri></author><id>https://forge.codesys.coma26bd628a731d3b8d375b58af0ac4f55d852ef0b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everyone. I have a problem. I have USB - 485 converter with cp21xx (I see them in sudo dmesg). I can to send packets from raspberry to another computer. Is it possible to try to make a raspberry master using a standard CODESYS bus configurator. Will it work? Now I have bus failure. &lt;br/&gt;
1. Raspi B+&lt;br/&gt;
2. Codesys 3.5 SP6&lt;br/&gt;
3. Raspberry control 2.1&lt;br/&gt;
4. USB-485 cp21xx Silicon Labs&lt;/p&gt;
&lt;p&gt;PS: I add in sudo nano /etc/CODESYSControl.cfg&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[SysCom]&lt;/span&gt;&lt;br/&gt;
Linux.Devicefile=/dev/ttyUSB&lt;br/&gt;
portnum := COM.SysCom.SYS_COMPORT1;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>