<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mango with Raspberry pi and PLC]]></title><description><![CDATA[<p dir="auto">I'm doing project using mango, raspberry pi and PLC .My mango software is running on raspberry pi 3 model B computer. PLC is connected to raspberry using USB serial cable. I access raspberry pi using Putty software which is running on my laptop.(Rsapberry pi is connected to my laptop through router). when i run mango on raspberry pi it is working properly. but when  I scan node using Mango interface (I accessed mango interface by using ip and port ) there is no any node detected. (but when i run mango on my laptop it is working properly and Mango can detect nodes).<br />
there is three ports  are automatically detected by mango when it run on raspberry pi. they are /dev/ttyUSB0 , /dev/ttyAMA0 and /dev/ttyS0.</p>
<p dir="auto">can anyone help me ?</p>
<p dir="auto">Thank you</p>
]]></description><link>https://forum.mango-os.com/topic/2508/mango-with-raspberry-pi-and-plc</link><generator>RSS for Node</generator><lastBuildDate>Sat, 11 Jul 2026 21:03:59 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2508.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 25 Oct 2016 03:56:03 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Thu, 14 Sep 2017 16:12:33 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
If You ask about RS485 I assume that You want to communicate via Modbus RTU. In this case, with raspberry pi I prefer solution:</p>
<ol>
<li>Use usb/rs485 converter (like this <a href="https://www.amazon.com/JBtek-Converter-Adapter-ch340T-Supported/dp/B00NKAJGZM" rel="nofollow ugc">https://www.amazon.com/JBtek-Converter-Adapter-ch340T-Supported/dp/B00NKAJGZM</a> - it has drivers included into the kernel) or better - some industrial usb  isolated usb/rs485 converter)</li>
<li>To communicate with the PLC you have to know it's Modbus ID and registers addresses.</li>
</ol>
<p dir="auto">What brand of PLC You want to communicate with?</p>
<p dir="auto">I use RPIs to communicate via rs485 with Power Meters and it works without problems.<br />
Best regards,</p>
]]></description><link>https://forum.mango-os.com/post/15474</link><guid isPermaLink="true">https://forum.mango-os.com/post/15474</guid><dc:creator><![CDATA[przemom]]></dc:creator><pubDate>Thu, 14 Sep 2017 16:12:33 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Thu, 14 Sep 2017 09:52:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chanaka" aria-label="Profile: chanaka">@<bdi>chanaka</bdi></a> Hi, Could you please tell me how to do communication between PLC and Raspberry pi with RS485???</p>
]]></description><link>https://forum.mango-os.com/post/15453</link><guid isPermaLink="true">https://forum.mango-os.com/post/15453</guid><dc:creator><![CDATA[Prathibha]]></dc:creator><pubDate>Thu, 14 Sep 2017 09:52:27 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Tue, 15 Nov 2016 02:25:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/joelhaggar" aria-label="Profile: JoelHaggar">@<bdi>JoelHaggar</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/mihairosu" aria-label="Profile: mihairosu">@<bdi>mihairosu</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/przemom" aria-label="Profile: przemom">@<bdi>przemom</bdi></a> thanks for you all.. I could establish communication between raspberry pi and PLC using raspberry pi GPIO  pins and MAX232 board after lot of efforts. now mango can detect node. i had to change baud rate , parity of PLC as compatible with Raspberry pi.<br />
now everything seems fine. but still i don't know about system reliability.<br />
Thank you</p>
]]></description><link>https://forum.mango-os.com/post/13250</link><guid isPermaLink="true">https://forum.mango-os.com/post/13250</guid><dc:creator><![CDATA[Chanaka]]></dc:creator><pubDate>Tue, 15 Nov 2016 02:25:03 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Mon, 14 Nov 2016 17:33:13 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the tip przemom!</p>
]]></description><link>https://forum.mango-os.com/post/13227</link><guid isPermaLink="true">https://forum.mango-os.com/post/13227</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Mon, 14 Nov 2016 17:33:13 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Mon, 14 Nov 2016 11:16:38 GMT]]></title><description><![CDATA[<p dir="auto">Check if You have permition to access serial device. In terminal write:</p>
<pre><code>id YOURUSERNAME
</code></pre>
<p dir="auto">you should see something like this:</p>
<pre><code>uid=1001(YOURUSERNAME) gid=1001(YOURUSERNAME) groups=1001(YOURUSERNAME),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),109(netdev),110(lxd)
</code></pre>
<p dir="auto">You should be member of the dialout group. If not, write in terminal:</p>
<pre><code>sudo usermod -a -G dialout YOURUSERNAME
</code></pre>
<p dir="auto">it should help.</p>
]]></description><link>https://forum.mango-os.com/post/13220</link><guid isPermaLink="true">https://forum.mango-os.com/post/13220</guid><dc:creator><![CDATA[przemom]]></dc:creator><pubDate>Mon, 14 Nov 2016 11:16:38 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Wed, 26 Oct 2016 16:13:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/chanaka" aria-label="Profile: Chanaka">@<bdi>Chanaka</bdi></a></p>
<p dir="auto">I agree with Joel; I've not had good luck with the scanning feature.  Read an exact point you want and then you can be more sure.</p>
]]></description><link>https://forum.mango-os.com/post/12990</link><guid isPermaLink="true">https://forum.mango-os.com/post/12990</guid><dc:creator><![CDATA[mihairosu]]></dc:creator><pubDate>Wed, 26 Oct 2016 16:13:18 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Wed, 26 Oct 2016 13:59:55 GMT]]></title><description><![CDATA[<p dir="auto">Not all devices will respond to the node scan so you are better off testing the exact slave ID and a register you know on your device.  If that fails then you need to check things like your baud rate.  You should also use a serial adapter with RXTX lights so you can verify something is being transmitted.</p>
]]></description><link>https://forum.mango-os.com/post/12988</link><guid isPermaLink="true">https://forum.mango-os.com/post/12988</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Wed, 26 Oct 2016 13:59:55 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Wed, 26 Oct 2016 12:52:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a> <a class="plugin-mentions-user plugin-mentions-a" href="/user/joelhaggar" aria-label="Profile: JoelHaggar">@<bdi>JoelHaggar</bdi></a> <img src="https://camo.nodebb.org/305dd6a1696dfcc2eff257a51295b0416b46f7b3?url=https%3A%2F%2Fi.imgur.com%2FUreFg32.png" alt="0_1477486283436_m1.PNG" class=" img-fluid img-markdown" /> <img src="https://camo.nodebb.org/b94283a46a3fa507711a77ffa470ee42b8795396?url=https%3A%2F%2Fi.imgur.com%2F10KescN.png" alt="0_1477486290161_m2.PNG" class=" img-fluid img-markdown" /> <img src="https://camo.nodebb.org/c1be792376e737e9b5ed9a9ee15f1b104a63d7fb?url=https%3A%2F%2Fi.imgur.com%2F6jho4ye.png" alt="0_1477486299822_m3.PNG" class=" img-fluid img-markdown" />   there is no any nodes found even it is goes to 100%</p>
]]></description><link>https://forum.mango-os.com/post/12987</link><guid isPermaLink="true">https://forum.mango-os.com/post/12987</guid><dc:creator><![CDATA[Chanaka]]></dc:creator><pubDate>Wed, 26 Oct 2016 12:52:09 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Tue, 25 Oct 2016 05:24:50 GMT]]></title><description><![CDATA[<p dir="auto">You have supplied very little useful information. You have not said your data source, the data source tool you are trying, or the error you are getting. You should check your logs and events for useful messages, as well as the output from the tool that is not working.</p>
<p dir="auto">We cannot help you with a driver problem for your serial converter (if that is the problem), but I suspect anyone who can help here or elsewhere would benefit by knowing things like the make and model number. But, most advice will say use a serial port capture or known test to see if your wires are working. There are lots of ways to do that, including using the Serial Data Source (catch incoming if you're worried about that, or two Serial data sources communicating between two ports).</p>
]]></description><link>https://forum.mango-os.com/post/12971</link><guid isPermaLink="true">https://forum.mango-os.com/post/12971</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 25 Oct 2016 05:24:50 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Tue, 25 Oct 2016 04:52:53 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/phildunlap" aria-label="Profile: phildunlap">@<bdi>phildunlap</bdi></a>  I can't detect Nodes when i run mango in raspberry pi. i think it is occurred due to problem of usb serial communication. because when i use that cable for my laptop i had to install usb drivers manually.</p>
]]></description><link>https://forum.mango-os.com/post/12969</link><guid isPermaLink="true">https://forum.mango-os.com/post/12969</guid><dc:creator><![CDATA[Chanaka]]></dc:creator><pubDate>Tue, 25 Oct 2016 04:52:53 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Tue, 25 Oct 2016 04:45:45 GMT]]></title><description><![CDATA[<p dir="auto">Hi Chanaka,</p>
<p dir="auto">I suspect ttyUSB0 is your serial port?</p>
<p dir="auto">I do not understand what you are asking about.</p>
]]></description><link>https://forum.mango-os.com/post/12968</link><guid isPermaLink="true">https://forum.mango-os.com/post/12968</guid><dc:creator><![CDATA[phildunlap]]></dc:creator><pubDate>Tue, 25 Oct 2016 04:45:45 GMT</pubDate></item><item><title><![CDATA[Reply to Mango with Raspberry pi and PLC on Tue, 25 Oct 2016 04:26:27 GMT]]></title><description><![CDATA[<p dir="auto">In the /classes/env.properties file there is a section for the serial port detection that looks like this:</p>
<pre><code>#Regex used to match serial ports so they show up in the menu
serial.port.linux.regex=((cu|ttyS|ttyUSB|ttyACM|ttyAMA|rfcomm|ttyO|COM)[0-9]{1,3}|rs(232|485)-[0-9])
serial.port.linux.path=/dev/
</code></pre>
<p dir="auto">You might need to adjust the regex that is used.</p>
]]></description><link>https://forum.mango-os.com/post/12967</link><guid isPermaLink="true">https://forum.mango-os.com/post/12967</guid><dc:creator><![CDATA[JoelHaggar]]></dc:creator><pubDate>Tue, 25 Oct 2016 04:26:27 GMT</pubDate></item></channel></rss>