<?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[Hooking with spinwaves system SWGW]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Does anybody got experiance with connecting to Spinwave SWGW gateway  , when working with the gateway i can connect to it via a browser but cannot connect to it from mango , i try to connect to it as a modbus TCP  over the local network.  is there anothr way ?  the definition of port and ip are correct....</p>
<p dir="auto">10nx<br />
--udi</p>
]]></description><link>https://forum.mango-os.com/topic/155/hooking-with-spinwaves-system-swgw</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 05:57:52 GMT</lastBuildDate><atom:link href="https://forum.mango-os.com/topic/155.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 01 Apr 2009 18:36:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Hooking with spinwaves system SWGW on Wed, 08 Apr 2009 10:18:17 GMT]]></title><description><![CDATA[<p dir="auto">Ok<br />
Problem sovled ( also with spinwave's help)</p>
<p dir="auto">the port should be 502 not 80 ,<br />
the offset start at  101 and on .<br />
the data arrive as  2 bytes  bsigned integer .</p>
<p dir="auto">10nx to all<br />
--udi</p>
]]></description><link>https://forum.mango-os.com/post/2535</link><guid isPermaLink="true">https://forum.mango-os.com/post/2535</guid><dc:creator><![CDATA[udi]]></dc:creator><pubDate>Wed, 08 Apr 2009 10:18:17 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking with spinwaves system SWGW on Fri, 03 Apr 2009 07:52:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Reseting the computer and the gateway didn't help situation stayed the same , i cannot see any configuration that suppose to change timeout in the gateway.</p>
<p dir="auto">Best<br />
--udi</p>
]]></description><link>https://forum.mango-os.com/post/2530</link><guid isPermaLink="true">https://forum.mango-os.com/post/2530</guid><dc:creator><![CDATA[udi]]></dc:creator><pubDate>Fri, 03 Apr 2009 07:52:35 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking with spinwaves system SWGW on Fri, 03 Apr 2009 06:44:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Thanks , indeed it seem to progress ,<br />
we now have a new error further down the road ..</p>
<p dir="auto"><em>Error while polling modbus network: No response from network</em><br />
(please see below the extracted error fro the tomcat window)<br />
However i can access the SWGW embedded webserver from the browser at the same time .</p>
<p dir="auto">when activating another application from<br />
<a href="http://www.codeproject.com/KB/IP/Modbus_TCP_class.aspx" rel="nofollow ugc">http://www.codeproject.com/KB/IP/Modbus_TCP_class.aspx</a></p>
<p dir="auto">i get *Modbus slave error: Slave time out! * on the c# application there</p>
<p dir="auto">any ideas ?<br />
10nx</p>
<p dir="auto">** 49,093 (com.serotonin.mango.rt.dataSource.modbus.ModbusDa<br />
taSource.doPoll:131) - Error while polling modbus network<br />
com.serotonin.modbus4j.exception.ModbusTransportException: com.serotonin.io.mess<br />
aging.SendTimeoutException<br />
at com.serotonin.modbus4j.ip.tcp.TcpMaster.send(TcpMaster.java:87)<br />
at com.serotonin.modbus4j.ModbusMaster.sendFunctionGroup(ModbusMaster.ja<br />
va:325)<br />
at com.serotonin.modbus4j.ModbusMaster.send(ModbusMaster.java:268)<br />
at com.serotonin.mango.rt.dataSource.modbus.ModbusDataSource.doPoll(Modb<br />
usDataSource.java:88)<br />
at com.serotonin.mango.rt.dataSource.PollingDataSource.scheduleTimeout(P<br />
ollingDataSource.java:70)<br />
at com.serotonin.mango.util.TimeoutJob.execute(TimeoutJob.java:49)<br />
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)<br />
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j<br />
ava:516)<br />
Caused by: com.serotonin.io.messaging.SendTimeoutException<br />
at com.serotonin.io.messaging.SenderConnection.send(SenderConnection.jav<br />
a:85)<br />
at com.serotonin.io.messaging.SenderConnection.send(SenderConnection.jav<br />
a:92)<br />
at com.serotonin.modbus4j.ip.tcp.TcpMaster.send(TcpMaster.java:83)<br />
... 7 more**</p>
]]></description><link>https://forum.mango-os.com/post/2529</link><guid isPermaLink="true">https://forum.mango-os.com/post/2529</guid><dc:creator><![CDATA[udi]]></dc:creator><pubDate>Fri, 03 Apr 2009 06:44:23 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking with spinwaves system SWGW on Thu, 02 Apr 2009 18:40:15 GMT]]></title><description><![CDATA[<p dir="auto">Duh. I just saw this. Your hostname should be simply "10.2.209.3", not "<a href="http://10.2.209.3/" rel="nofollow ugc">http://10.2.209.3/</a>".</p>
]]></description><link>https://forum.mango-os.com/post/2528</link><guid isPermaLink="true">https://forum.mango-os.com/post/2528</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Thu, 02 Apr 2009 18:40:15 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking with spinwaves system SWGW on Thu, 02 Apr 2009 18:33:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
Considering that the problem might rise from the medium between the MangoM2M and SWGW  , i did the following</p>
<ol>
<li>Restart the computer</li>
<li>shut down the firewall and ant virus</li>
<li>made sure there is a browser connection</li>
</ol>
<p dir="auto">to no avail - the problem still exist ,<br />
both machine are now connected to the same Hub</p>
<p dir="auto">i will try to install on another machine and later on use crosspair Cat5 cable between the machine and the SWGW<br />
i will welcome any debugging idea .<br />
10nx<br />
--udi</p>
]]></description><link>https://forum.mango-os.com/post/2527</link><guid isPermaLink="true">https://forum.mango-os.com/post/2527</guid><dc:creator><![CDATA[udi]]></dc:creator><pubDate>Thu, 02 Apr 2009 18:33:22 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking with spinwaves system SWGW on Thu, 02 Apr 2009 17:54:41 GMT]]></title><description><![CDATA[<p dir="auto">Sometimes Java appears to cache network information. It might have decided on its own that the host is unknown. Can you try restarting Tomcat to see if it works better?</p>
]]></description><link>https://forum.mango-os.com/post/2526</link><guid isPermaLink="true">https://forum.mango-os.com/post/2526</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Thu, 02 Apr 2009 17:54:41 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking with spinwaves system SWGW on Thu, 02 Apr 2009 17:41:04 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
i winder what is the source of the problem - i can surf to the gatway from the same browser that i use for MangoM2m and at the same time i get the following error withing the mango M2m ,<br />
Here is the part from the tomcat window that mention the source of the problem.<br />
can you please outline some steps to take or check?</p>
<p dir="auto">**<br />
INFO  2009-04-02 20:30:10,281 (com.serotonin.mango.rt.dataSource.modbus.ModbusDa<br />
taSource.doPoll:131) - Error while polling modbus network<br />
com.serotonin.modbus4j.exception.ModbusTransportException: java.net.UnknownHostE<br />
xception: <a href="http://10.2.209.3/" rel="nofollow ugc">http://10.2.209.3/</a><br />
at com.serotonin.modbus4j.ip.tcp.TcpMaster.send(TcpMaster.java:64)<br />
at com.serotonin.modbus4j.ModbusMaster.sendFunctionGroup(ModbusMaster.ja<br />
va:325)<br />
at com.serotonin.modbus4j.ModbusMaster.send(ModbusMaster.java:268)<br />
at com.serotonin.mango.rt.dataSource.modbus.ModbusDataSource.doPoll(Modb<br />
usDataSource.java:88)<br />
at com.serotonin.mango.rt.dataSource.PollingDataSource.scheduleTimeout(P<br />
ollingDataSource.java:70)<br />
at com.serotonin.mango.util.TimeoutJob.execute(TimeoutJob.java:49)<br />
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)<br />
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j<br />
ava:516)<br />
Caused by: java.net.UnknownHostException: <a href="http://10.2.209.3/" rel="nofollow ugc">http://10.2.209.3/</a><br />
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)<br />
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)<br />
at java.net.Socket.connect(Socket.java:519)<br />
at java.net.Socket.connect(Socket.java:469)<br />
at java.net.Socket.&lt;init&gt;(Socket.java:366)<br />
at java.net.Socket.&lt;init&gt;(Socket.java:180)<br />
at com.serotonin.modbus4j.ip.tcp.TcpMaster.openConnection(TcpMaster.java<br />
:111)<br />
at com.serotonin.modbus4j.ip.tcp.TcpMaster.send(TcpMaster.java:61)<br />
... 7 more<br />
<strong>INFO  2009-04-02 20:30:10,359 (com.serotonin.mango.rt.dataSource.modbus.ModbusDa<br />
taSource.doPoll:131) - Error while polling modbus network<br />
<em>com.serotonin.modbus4j.exception.ModbusTransportException: java.net.UnknownHostE<br />
xception: <a href="http://10.2.20.3/" rel="nofollow ugc">http://10.2.20.3/</a></em><br />
at com.serotonin.modbus4j.ip.tcp.TcpMaster.send(TcpMaster.java:64)<br />
at com.serotonin.modbus4j.ModbusMaster.sendFunctionGroup(ModbusMaster.ja<br />
va:325)<br />
at com.serotonin.modbus4j.ModbusMaster.send(ModbusMaster.java:268)<br />
at com.serotonin.mango.rt.dataSource.modbus.ModbusDataSource.doPoll(Modb<br />
usDataSource.java:88)<br />
at com.serotonin.mango.rt.dataSource.PollingDataSource.scheduleTimeout(P<br />
ollingDataSource.java:70)<br />
at com.serotonin.mango.util.TimeoutJob.execute(TimeoutJob.java:49)<br />
at org.quartz.core.JobRunShell.run(JobRunShell.java:191)<br />
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.j<br />
ava:516)<br />
Caused by: java.net.UnknownHostException: <a href="http://10.2.20.3/" rel="nofollow ugc">http://10.2.20.3/</a><br />
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)<br />
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)<br />
at java.net.Socket.connect(Socket.java:519)<br />
at java.net.Socket.connect(Socket.java:469)<br />
at java.net.Socket.&lt;init&gt;(Socket.java:366)<br />
at java.net.Socket.&lt;init&gt;(Socket.java:180)<br />
at com.serotonin.modbus4j.ip.tcp.TcpMaster.openConnection(TcpMaster.java<br />
:111)<br />
at com.serotonin.modbus4j.ip.tcp.TcpMaster.send(TcpMaster.java:61)<br />
... 7 more</strong>**</p>
]]></description><link>https://forum.mango-os.com/post/2525</link><guid isPermaLink="true">https://forum.mango-os.com/post/2525</guid><dc:creator><![CDATA[udi]]></dc:creator><pubDate>Thu, 02 Apr 2009 17:41:04 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking with spinwaves system SWGW on Thu, 02 Apr 2009 16:59:45 GMT]]></title><description><![CDATA[<p dir="auto">An UnknownHostException occurs well before you would ever have a problem with HTTP authentication. (Besides, Modbus over TCP doesn't have anything to do with HTTP.) The exception means that the host on which Mango runs can't find the target host (10.2.20.3).</p>
]]></description><link>https://forum.mango-os.com/post/2524</link><guid isPermaLink="true">https://forum.mango-os.com/post/2524</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Thu, 02 Apr 2009 16:59:45 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking with spinwaves system SWGW on Thu, 02 Apr 2009 16:47:47 GMT]]></title><description><![CDATA[<p dir="auto">Hi,<br />
thank you for your response,<br />
However i'm stuck in an earlier stage, i get the error<br />
**Error while polling modbus network: java.net.UnknownHostException: <a href="http://10.2.20.3/" rel="nofollow ugc">http://10.2.20.3/</a> **<br />
when trying to connect from Mango Data Source  to the SWGW via TCP.<br />
i realize there might be a reason for that ,<br />
the <a href="http://10.2.20.3/" rel="nofollow ugc">http://10.2.20.3/</a> port 80 is protected by  username / password<br />
i tried to change that to the default password of Mango but still it gave the same error. the username / password are compulsory and cannot be override</p>
<p dir="auto">is there another basic check or something i can do to ? something to further pinpoint the problem ?</p>
]]></description><link>https://forum.mango-os.com/post/2523</link><guid isPermaLink="true">https://forum.mango-os.com/post/2523</guid><dc:creator><![CDATA[udi]]></dc:creator><pubDate>Thu, 02 Apr 2009 16:47:47 GMT</pubDate></item><item><title><![CDATA[Reply to Hooking with spinwaves system SWGW on Thu, 02 Apr 2009 02:53:20 GMT]]></title><description><![CDATA[<p dir="auto">Hello Udi,</p>
<p dir="auto">Spinwave's comment was this:</p>
<blockquote>
<p dir="auto">There might be an address offset issue. Depending on how Mango works he might have to read holding register 0 or holding register 1 if he wants to read the 1st holding register (aka 4xxx registers).</p>
</blockquote>
<p dir="auto">According to them the hardware supports either Modbus TCP or RTU, both of which Mango also supports. Note that Mango uses 0-indexing of Modbus registers. Hope this helps.</p>
]]></description><link>https://forum.mango-os.com/post/2518</link><guid isPermaLink="true">https://forum.mango-os.com/post/2518</guid><dc:creator><![CDATA[mlohbihler]]></dc:creator><pubDate>Thu, 02 Apr 2009 02:53:20 GMT</pubDate></item></channel></rss>