How to use RPC in Modbus connector

This guide explains how to use RPC to devices in Modbus connector.

Let’s assume:

  1. We want to write “5.0” into register with number 15421

For the purpose of this tutorial, you need:

  1. Locally installed instance of ThingsBoard platform (In case you are new with ThingsBoard use this ‘how to install’ documentation).
  2. Installed and configured ThingsBoard IoT Gateway and Modbus connector.

Modbus connector RPC configuration

ThingsBoard sending RPC

To send RPC requests to the device through the gateway we will use RPC Debug Terminal from Control widgets bundle.