ModbusPoll is a commercially available software from Witte Software.


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

All SME devices implement the MODBUS TCP/IP protocol. The Rheonics SME device allows 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

The default TCP port and slave ID cannot be modified by the user. There is no need to configure the port in RCP, since by default it is 502.

2. Intro to ModbusPoll tool TCP/IP

2.1. Click the "Connection" tab and select "Connect".

Open the Connection tab

Figure 1. Open the Connection tab.

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

Setting in Modbus TCP/IP

Figure 2. Setting in Modbus TCP/IP.

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

Modbus TCP/IP server setup

Figure 3. Modbus TCP/IP server setup.

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

Opening the Modbus instruction Read/Write Definition

Figure 4. Opening the Modbus instruction "Read/Write Definition".

2.5. Once the "Read/Write Definition" screen is open, set all the parameters as shown below:

Set read/write function for Modbus TCP/IP

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

2.6. The data from address 40 up to 49 appears on the screen; this data corresponds to parameter 0. See the reference below for the mapped parameters.

Parameter address input registers

Figure 6. Parameter Address Input Registers.


3. Correcting data types of registers and endianness

3.1. Right-click on the parameter to fix a value that is readable; a special menu will appear. Select "Format".

Menu editor for data format

Figure 7. Menu editor for data format.

3.2. Pay attention to the correct format of each parameter.

All options for data display

Figure 8. All options for data display.

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

Selecting the appropriate data type

Figure 9. Selecting the appropriate data type.


References

Download links