Clarity Gateway
  • Setup
    • Getting Started
      • Mounting and Wiring
        • Power and Ground Connections
        • Flexible I/O Connections
        • Serial Connections
        • USB and Ethernet
      • Network Layout
      • Accessing Clarity Gateway Web Interface
      • Setting Password
      • Entering License Key
      • Changing the IP address
      • Updating Software
      • 3rd Party Devices
        • Running the Installer Script
        • Moxa UC-8100-ME Setup
        • Runnning Clarity Gateway on a 3rd Party Device
        • Password Recovery on 3rd Party Devices
    • SSH Access
    • Serial Console Access
    • Adding USB Storage
  • Connections
    • EtherNet/IP
      • Adding an EtherNet/IP Connection
      • Receiving values from EtherNet/IP
      • Sending values to EtherNet/IP
    • MQTT
      • Adding a SparkPlug MQTT Connection
      • Adding a Text/JSON MQTT Connection
      • Sending values to MQTT
    • Modbus
      • Sending values to Modbus
      • Receiving values from Modbus
      • Adding a Modbus TCP Device
    • Local I/O
      • Configuring Analog Inputs
      • Configuring Digital Inputs
      • Configuring Digital Outputs
  • Transfer Data Between Connections
  • Channels
    • Setting Clarity Metadata
  • Other
    • Recovery
    • Settings Import/Export
      • Exporting Settings
      • Importing Settings
Powered by GitBook
On this page
  1. Connections
  2. Modbus

Receiving values from Modbus

PreviousSending values to ModbusNextAdding a Modbus TCP Device

Last updated 2 years ago

In this example we'll configure Clarity Gateway to receive a value from a Modbus input register, and drive an Iron Pi digital output with that value.

In the page for your Modbus device, click the + button at the right of the Channels From Modbus section:

The Create Channel page will appear. First select the IO Type and Modbus Register you want Clarity Gateway to read:

In this example, we'll select Discrete Input and register 3, respectively:

Then, enter the System Tag you want to route the values to.

In this example, we'll enter channel1, which we have configured to be a digital output on the Iron Pi.

Finally, click Save:

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