<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Code Example Modbus Server</title><link>https://sourceforge.net/p/easymodbustcp-udp-java/wiki/Code%2520Example%2520Modbus%2520Server/</link><description>Recent changes to Code Example Modbus Server</description><atom:link href="https://sourceforge.net/p/easymodbustcp-udp-java/wiki/Code%20Example%20Modbus%20Server/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 27 Nov 2016 07:13:46 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/easymodbustcp-udp-java/wiki/Code%20Example%20Modbus%20Server/feed" rel="self" type="application/rss+xml"/><item><title>Code Example Modbus Server modified by Stefan</title><link>https://sourceforge.net/p/easymodbustcp-udp-java/wiki/Code%2520Example%2520Modbus%2520Server/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,6 +1,6 @@
 ~~~
 package run;
-import ModbusServer.*;
+import de.re.easymodbus.server.*;

 public class run {
    public static void main(String[] args)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan</dc:creator><pubDate>Sun, 27 Nov 2016 07:13:46 -0000</pubDate><guid>https://sourceforge.net5c28f9c6cbda5f2703dca32b61f32d49fdf07204</guid></item><item><title>Code Example Modbus Server modified by Stefan</title><link>https://sourceforge.net/p/easymodbustcp-udp-java/wiki/Code%2520Example%2520Modbus%2520Server/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -13,7 +13,7 @@
        {
            modbusServer.Listen();
        }
-       catch (Exception e)
+       catch (java.io.IOException | Exceptions.ModbusException e)
        {           
        }
    }
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan</dc:creator><pubDate>Sun, 10 Jul 2016 17:26:28 -0000</pubDate><guid>https://sourceforge.net4b1a3361357df4b403d959f3fe170f72921ba132</guid></item><item><title>Code Example Modbus Server modified by Stefan</title><link>https://sourceforge.net/p/easymodbustcp-udp-java/wiki/Code%2520Example%2520Modbus%2520Server/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,3 +1,4 @@
+~~~
 package run;
 import ModbusServer.*;

@@ -5,7 +6,7 @@
    public static void main(String[] args)
    {
        ModbusServer modbusServer = new ModbusServer();
-       modbusServer.setPort(1522);     //Note that Standard Port for Modbus TCP communication is 502
+       modbusServer.setPort(1522);//Note that Standard Port for Modbus TCP communication is 502
        modbusServer.coils[1] = true;
        modbusServer.holdingRegisters[1] = 1234;
        try
@@ -17,3 +18,4 @@
        }
    }
 }
+~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan</dc:creator><pubDate>Sun, 03 Jul 2016 09:44:54 -0000</pubDate><guid>https://sourceforge.netc76752bbdf65664e1e513bce7e4af40d058edd41</guid></item><item><title>Code Example Modbus Server modified by Stefan</title><link>https://sourceforge.net/p/easymodbustcp-udp-java/wiki/Code%2520Example%2520Modbus%2520Server/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;package run;&lt;br/&gt;
import ModbusServer.*;&lt;/p&gt;
&lt;p&gt;public class run {&lt;br/&gt;
    public static void main(String[] args)&lt;br/&gt;
    {&lt;br/&gt;
        ModbusServer modbusServer = new ModbusServer();&lt;br/&gt;
        modbusServer.setPort(1522);     //Note that Standard Port for Modbus TCP communication is 502&lt;br/&gt;
        modbusServer.coils&lt;span&gt;[1]&lt;/span&gt; = true;&lt;br/&gt;
        modbusServer.holdingRegisters&lt;span&gt;[1]&lt;/span&gt; = 1234;&lt;br/&gt;
        try&lt;br/&gt;
        {&lt;br/&gt;
            modbusServer.Listen();&lt;br/&gt;
        }&lt;br/&gt;
        catch (Exception e)&lt;br/&gt;
        {         &lt;br/&gt;
        }&lt;br/&gt;
    }&lt;br/&gt;
}&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stefan</dc:creator><pubDate>Sun, 03 Jul 2016 09:40:16 -0000</pubDate><guid>https://sourceforge.net34ecd18fc0fb129d2b1e86766331cba175b1b0ae</guid></item></channel></rss>