Sending values to Modbus

In this example we'll configure Clarity Gateway to send the value of an Iron Pi analog input to a Modbus output register.

In the page for your Modbus device, scroll down to the Channels To Modbus section and click the + button at the right:

The Create Channel page will appear. First enter the System Tag. This is the tag in Clarity Gateway whose value you want to send to the Modbus device. In this example, we'll enter channel1, which is configured as an analog input:

Then, select the IO Type, Data Type, and Modbus Register.

In this example, we'll select Output Reg, float, and register 0005 respectively. After that, click Save:

Once the channel has been created, you will return to the device page. The new channel should appear in the Channels To Modbus table, showing the value of the system tag on the left and the value sent to the Modbus register on the right:

Last updated