Stop the war

Stand with Ukraine flag

Support Ukraine

Try it now Pricing
Community Edition
Community Edition Professional Edition Cloud Edge PE Edge IoT Gateway License Server Trendz Analytics Mobile Application PE Mobile Application MQTT Broker
Getting Started Documentation Devices Library Guides Installation Architecture API FAQ
On this page

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.