ModbusPoll is a commercially available software from Witte GmbH.


1. Intro to Modbus TCP/IP on SME (Rheonics Sensor Electronics)


All SME devices implement a  MODBUS TCP/IP protocol. The Rheonics SME device allows the configuration of the Ethernet IP address, mask, gateway and DNS using the RCP software. Please refer to the RCP software manual for instructions on setting these parameters. The factory default values are shown below. 


DHCP = True

IP address=0.0.0.0

Mask= 0.0.0.0

Gateway = 0.0.0.0

DNS=0.0.0.0

TCP Port= 502

Slave ID = 255


NOTE: The default TCP Port and slave ID can’t be modified by the user. There is no need to configure the port in RCP since by default is 502 


2. Intro to Modbuspoll tool TCP/IP


        2.1. Click the “Connection” tab and select “Connect”. 

 Figure 1. Open the Connection TAB

        2.2. With the new menu open, select the connection for Modbus TCP/IP

 Figure 2. Setting in Modbus TCP/IP

       2.3. Fill every parameter as shown in the red boxes:

 Figure 3. Modbus TCP/IP server setup

        2.4. Go to the “Setup” tab and select “Read/Write Definition”

Figure 4. Opening the Modbus instruction “Read/Write Definition”

        2.5. Once the screen is opened the “Read/Write Definition” option, set all the parameters as shown below: 

Figure 5. Set read/write function for Modbus TCP/IP

        2.6. The data from address 40 up to 49 is going to appear on the screen, this data corresponds to parameter 0. Check the following link for the mapped parameters.


Figure 6. Parameter Address Input Registers


3. Correcting data types of registers and endianness


3.1.  Right-click in the parameter to fix a value that is readable, a special menu is going to appear. Select “Format”

 

Figure 7. Menu editor for data format

3.2. Pay attention to the correct format of each parameter 


Figure 8. All options for data display

3.3. In the sample above, the address 40 corresponds to the following format (Float 32, Depending on the endianness of the host it might be necessary to swap high/low byte and/or the respective registers.)


 Figure 9. Selecting the appropriate data type.

References:


Download links: