For the complete documentation index, see llms.txt. This page is also available as Markdown.

Transfer Data Between Connections

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 has been created 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):

Next we'll assume an MQTT connection has been created. Navigate to it by clicking it in the sidebar:

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:

Last updated