Difference between revisions of "Modbus Service"
Eric.liang (talk | contribs) |
|||
Line 105: | Line 105: | ||
<span style="font-size:large;"> [[File:Agent modbus handler 11.png|800x600px|Agent modbus handler 11.png]]</span> | <span style="font-size:large;"> [[File:Agent modbus handler 11.png|800x600px|Agent modbus handler 11.png]]</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> | ||
− | + | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | = JSON Format for upload data = |
Revision as of 03:59, 7 May 2018
Contents
Installation
1. Double click Agent_Modbus_Handler_2.0.0.exe to start installation.
2. Click "Next" on the Welcome screen.
3. Select Installation Folder and then click "Next" to continue.
4. Click "Install" on the Ready to Install screen to continue.
5. Installation completed, click "Finish" button to exit the Setup Wizard.
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:
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:
2.3 Set the number of modbus devices and device detail information file.
Example:
2.4 Set the content of device detail information.
Example:
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