<?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[TCP&#x2F;IP Data Source, Talking to MOXA Serial RS232?]]></title><description><![CDATA[<p dir="auto">Hey Guys, long time no chat, Mango works so well I haven't had to touch the system I put in for running an irrigation system.</p>
<p dir="auto">Now I have a case where I have the following setup:</p>
<p dir="auto">Mango -&gt; TCP/IP Data Source -&gt; Moxa Ethernet to RS232 Converter -&gt; Solar Reg (RS232)</p>
<p dir="auto">I've tried a few things but struggling to get my head around the syntax required, I just don't get any response. The Moxa is in TCP Server  Mode which connects to the serial port and waits for instruction from the TCP Port 4001.</p>
<p dir="auto">I have to send the regulator the following commands for example:</p>
<p dir="auto">AA 55 AA 55 AA 55 EB 90 EB 90 EB 90</p>
<p dir="auto">I had a look at the wiki and tried a couple of things on there related to both serial data source and TCP/IP data source with no luck.</p>
<p dir="auto">Any help would be much appreciated thanks :)</p>
<p dir="auto">Cheers<br />
Dan</p>
]]></description><link>https://forum.mango-os.com/topic/2018/tcp-ip-data-source-talking-to-moxa-serial-rs232</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 23:36:29 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/2018.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 14 Nov 2015 22:44:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TCP&#x2F;IP Data Source, Talking to MOXA Serial RS232? on Mon, 16 Nov 2015 20:40:43 GMT]]></title><description><![CDATA[<p dir="auto">Hi Woody, thanks for that. I will investigate further.<br />
I think we'll definitely have more luck with the newer regs that support just straight MODBUS over IP, much easier to setup ;)</p>
<p dir="auto">Cheers<br />
Dan</p>
]]></description><link>https://forum.mango-os.com/post/10560</link><guid isPermaLink="true">https://forum.mango-os.com/post/10560</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 16 Nov 2015 20:40:43 GMT</pubDate></item><item><title><![CDATA[Reply to TCP&#x2F;IP Data Source, Talking to MOXA Serial RS232? on Mon, 16 Nov 2015 20:38:32 GMT]]></title><description><![CDATA[<p dir="auto">Perhaps Wireshark can help you with this troubleshooting.</p>
<p dir="auto">Shooting from the hip.....</p>
<p dir="auto">We suspect maybe the issue is in sending HEX values.  Since the datasource uses Strings maybe you are trying to send binary values but they are being transmitted as ASCII characters.</p>
<p dir="auto">Pretty sure the data source converts the Read command and Write command to the UTF-8 charset.  This makes sending 0xAA (170 decimal)  a problem because there is no UTF-8 char for that value.</p>
]]></description><link>https://forum.mango-os.com/post/10559</link><guid isPermaLink="true">https://forum.mango-os.com/post/10559</guid><dc:creator><![CDATA[Woody Beverley]]></dc:creator><pubDate>Mon, 16 Nov 2015 20:38:32 GMT</pubDate></item><item><title><![CDATA[Reply to TCP&#x2F;IP Data Source, Talking to MOXA Serial RS232? on Mon, 16 Nov 2015 04:44:59 GMT]]></title><description><![CDATA[<p dir="auto">Hi Duncan, thanks for your reply. I too have a lot of MGate MODBUS units around, this setup unfortunately is direct serial and not MODBUS.<br />
We are using NPort 5150's to convert RS232 serial to Ethernet, there is no MODBUS involved here. The Moxa listens on port 4001.<br />
If it was MODBUS I'd probably have no issues as we've done it before many times. The regulator we need to talk to only talks serial.<br />
The later models do support MODBUS but we are wanting to talk serial for the old ones.</p>
<p dir="auto">Regards<br />
Dan</p>
]]></description><link>https://forum.mango-os.com/post/10558</link><guid isPermaLink="true">https://forum.mango-os.com/post/10558</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Mon, 16 Nov 2015 04:44:59 GMT</pubDate></item><item><title><![CDATA[Reply to TCP&#x2F;IP Data Source, Talking to MOXA Serial RS232? on Mon, 16 Nov 2015 04:35:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi Dan,</p>
<p dir="auto">I presume you are using one of the Moxa MGate series Modbus TCP gateways. We use these devices extensively with Mango and they are fairly easy to setup.<br />
My advice is to ensure you have the correct wiring on the DB9 from your RS232 device to your Mgate. On the Moxa Mgate DB9 pin 2 is RxD, Pin 3 is TxD and pin 5 is ground.<br />
Download and install the Mgate manager software. Configure the Mgate accordingly RTU slave or ASCI Slave.<br />
Ensure you have the correct settings in the Serial section that corrspond to your RS232 device.<br />
Ensure you have the correct IP settings. Save this configuration to the Mgate device. Check your IP settings on Mango as well.<br />
Download a copy of Modscan or similar and test your Modbus connectivity. If you cant see any data then Mango cant either. The default port is 502 (TCP) on both Mango and the Mgate.</p>
<p dir="auto">Cheers</p>
<p dir="auto">Duncan</p>
]]></description><link>https://forum.mango-os.com/post/10557</link><guid isPermaLink="true">https://forum.mango-os.com/post/10557</guid><dc:creator><![CDATA[duncan]]></dc:creator><pubDate>Mon, 16 Nov 2015 04:35:15 GMT</pubDate></item></channel></rss>