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

Transfer Data Between Connections

PreviousConfiguring Digital OutputsNextSetting Clarity Metadata

Last updated 1 month ago

In this example we'll configure Clarity Gateway to send values from an EtherNet/IP connection to MQTT. To do so we have to use use System Tags as an intermediary. The EtherNet/IP connection will transfer the values from EtherNet/IP tags to the System Tags, and the MQTT connection will transfer the values from the System Tags to MQTT tags:

EtherNet/IP Tag
→ System Tag
→ MQTT Tag

CURING/HEATED_MIN_TEMP

→ Site 1/Heated Min Temp

→ heatedMinTemp

CURING/HEATED_MAX_TEMP

→ Site 1/Heated Max Temp

→ heatedMaxTemp

We'll assume an EtherNet/IP connection and provides the tags CURING/HEATED_MIN_TEMP and CURING/HEATED_MAX_TEMP:

First we'll set the System Tag Prefix to Site 1/:

Then we'll click the checkboxes at the left to enable and change the System Tags for these channels to Site 1/Heated Max Temp and Site 1/Heated Min Temp:

Finally, click Save:

Once these changes have been saved, if EtherNet/IP is connected you should see the values getting routed to the system tags (you may need to change the search to see the channels again):

In the Channels To MQTT table, make sure that Show All Tags is turned on:

Then if you search or scroll down you should be able to find the System Tags we're writing from EtherNet/IP (Site 1/Heated Min Temp and Site 1/Heated Max Temp):

Click the checkboxes at the left to enable these, then set the desired MQTT Tags (in this example, Heated Max Temp and Heated Min Temp):

Finally, click Save:

Once the changes have been saved, if MQTT is connected, you should see the values being sent to MQTT:

Next we'll assume an . Navigate to it by clicking it in the sidebar:

MQTT connection has been created
has been created