1. Home
  2. RN17X Family Help
  3. RN17x configuration for MODBUS/TCP connection
  1. Home
  2. Developing a radio node
  3. RN17x configuration for MODBUS/TCP connection

RN17x configuration for MODBUS/TCP connection

Thank you for purchasing the DEKIST RN17x.

We will tell you how to configure the Radionode RN171 / RN172 products to link with the developed MODBUS/TCP.

**RN172LC model does not support MODBUS TCP.

This is a method in which RN17X operates as a server and external devices such as PCs and PLCs connect as clients and read information. External device reads RN17X's internal Holding Register information using MODBUS TCP.

1.Setting up RN17X

1. Connect RN17X and PC with USB cable. No separate power source is required. If ConF is displayed on the screen, the USB setup is ready.

2. Run the Radionode Terminal program. If it turns green, it is normal.

3. Enter the password radionode114 and enter the callsol menu.

4. Enter the “1.Network Setup” menu and set up the network.

Select “DHCP [ON]” when using Auto IP.

In general, customers who use MODBUS TCP often use static IPs. If you select “DHCP [OFF]” to use a static IP, you need to set IP Address, GATEWAY Address, DNS1, DNS2, and SUBNET MASK.
If you are using the data destination PLC or PC address as the IP address, you do not need to set up DNS. In this case Please enter the DNS setting as 0.0.0.0. You can prevent unnecessary DNS broadcasting.

5. Enter the “2.System Setup” menu and set the HTTP transmission function.

Select “B.Set Destination of HTTP” to set the default Tapaculo365 Customer Server_*** Change to. Sending to the cloud is OFF.

6. Enter “Q” to exit “2.System Setup” and enter “4.HTTP Destination Setup”. here Settings that prevent transmission to specific serverswill do.

as shown below Enter 0 (zero) for all settings such as DATAIN, CHECKIN, BACKUPIN, etc.do. In this setting, only MODBUS TCP communication is possible without attempting HTTP transmission.
When using HTTP and MODBUS TCP at the same time, set HTTP normally.

7. Enter the “5.MODBUS TCP Setup” menu.
Inside the device, two sockets are created with port 502 and operated in server mode. If normal MODBUS-TCP data is not received, the connection is automatically disconnected. (see timeout value)

  • Data in “HOLDING REGISTER” is updated in real time.
  • Supported formats are 4 BYTE FLOATING POINT and 2 BYTE INTEGER, and read only.
  • 2 In case of BYTE INTEGER format, the number after the decimal point is ignored and only integer values ​​are passed. Transaction ID, Protocol ID, and Unit ID in the header are ignored internally.
  • “3” is used as the function code, and the data does not matter what value is entered.

2.MODBUS TCP operation check

Radzio Modbus Master Simulator Program (RMMS) initial screen

RMMS You can proceed with MODBUS TCP test.
Radzio Modbus Master Simulator (RMMS) Downroad

Connection settings screen

Select Connection> Settings tab, select Modbus TCP for Protocol, enter IP Address and MODBUS TCP port (17) that RN502x is using, and click OK. As for the data transmission period, the timeout and poll period of the general setting can also be set.

Modbus Master Simulator setting screen

If you select File> new tab and a window as shown in the picture above appears, select 17Bit Float for Holding Register and Display options in Device Settings because RN32x supports FORMAT method of 4Bit Float (32 Byte Floating point).

Click the Connect button to load RN17X data.
20.07990.0 Notice that the value of is updated every second.

Updated on January 2023, 1

Was this article helpful?

Related Articles

Leave a Comment