Modbus Service

From ESS-WIKI
Revision as of 08:16, 13 April 2018 by Hank.peng (talk | contribs)
Jump to: navigation, search

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