Difference between revisions of "Modbus Service"

From ESS-WIKI
Jump to: navigation, search
Line 105: Line 105:
 
<span style="font-size:large;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[[File:Agent modbus handler 11.png|800x600px|Agent modbus handler 11.png]]</span>
 
<span style="font-size:large;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[[File:Agent modbus handler 11.png|800x600px|Agent modbus handler 11.png]]</span>
  
<span style="font-size:large;"></span>
+
 
  
 
== EdgeSense Linux Docker version ==
 
== EdgeSense Linux Docker version ==
Line 113: Line 113:
 
$sudo vim Modbus_Handler.ini
 
$sudo vim Modbus_Handler.ini
 
$sudo docker restart service-modbus</pre>
 
$sudo docker restart service-modbus</pre>
<span style="font-size:large;"></span>
+
 
 +
 
 +
 
 +
 
 +
 
 +
= JSON Format for upload data =

Revision as of 03:59, 7 May 2018

Installation

1. Double click Agent_Modbus_Handler_2.0.0.exe to start installation.

2. Click "Next" on the Welcome screen.

Agent modbus handler 02.png



3. Select Installation Folder and then click "Next" to continue.

Agent modbus handler 03.png



4. Click "Install" on the Ready to Install screen to continue.

Agent modbus handler 04.png


5. Installation completed, click "Finish" button to exit the Setup Wizard.

Agent modbus handler 06.png




Configuration

1. Open File Explorer and change target folder to the Modbus Service installation folder.

2. Open and edit the file Mobus_Handler.ini

    2.1 Give a Name for the platform.

    2.2 Set the Protocol.

           For the modbus TCP devices:

           Protocol=Modbus_TCP

           ClientIP=(IP address of Modbus TCP devices)

           ClientPort=(Port of Modbus TCP devices)

           

           Example:

           Agent modbus handler 07.png

            

           For the modbus RTU devices:

           Protocol=Modbus_RTU

           SlavePort=(The serial port's device node of the gateway which connect to Modbus RTU devices)

           Baud=(The baud rate of the serial port)

           Parity=(The parity of the serial port)

            DataBits=(The data bits of the serial port)              

            StopBits=(The stop bits of the serial port)              



           Example:

           Agent modbus handler 08.png



    2.3 Set the number of modbus devices and device detail information file.

           Example:

           Agent modbus handler 09.png




    2.4 Set the content of device detail information.

           Example:

           Agent modbus handler 10.png

           Agent modbus handler 11.png


EdgeSense Linux Docker version

How to config Modbus Service and Restart Service

$cd ${Installed path}/Installer/packages/Plugins/docker-edgesense-image-x86/EdgeSense/EService-Modbus/config
$sudo vim Modbus_Handler.ini
$sudo docker restart service-modbus



JSON Format for upload data