Jump to content

Template:Networking manual Modbus serial RutOS: Difference between revisions

Line 109: Line 109:
----
----


In order to test the functionality, you will need to set up a server (you can run a server on the same computer you use as a slave simulator).
In order to test the functionality, you will need to set up a server.


There are many ways how you can create a server to which Modbus will send data to. In this example we are going to be using Windows 10 computer and Hercules app, which you can download  [https://www.hw-group.com/product-version/hercules here], to create a test server. Download, install the app and apply the configuration below:
There are many ways how you can create a server to which Modbus will send data to. In this example we are going to be using a Beeceptor's Mock server. If you don't have a Beeceptor account yet – create it or login via Google account.


<table class="nd-othertables_2">
<table class="nd-othertables_2">
     <tr>
     <tr>
         <th width=300; style="border-bottom: 1px solid white;></th>
         <th width=300; style="border-bottom: 1px solid white;></th>
         <th width=800; style="border-bottom: 1px solid white"; rowspan=2>[[File:Modbus serial rut955 5.png|border|class=tlt-border|left]]</th>
         <th width=800; style="border-bottom: 1px solid white"; rowspan=2>[[File:BeeceptorServer.png|border|class=tlt-border|right]]</th>
     </tr>
     </tr>
     <tr>
     <tr>
         <td style="border-bottom: 4px solid white>
         <td style="border-bottom: 4px solid white>
# Select '''TCP Server''' tab.
# Specify your desired mock server's '''URL'''.
# Enter '''Port''' (In this example default 80 is used).
# Press on '''Create Mock Server'''.
# Click '''Listen'''
         </td>
         </td>
     </tr>
     </tr>