Moxa Tech Note
How to Use ThingsPro Gateway to Publish
Processed Edge Data to the AWS IoT Cloud
Copyright © 2017 Moxa Inc.
1 Background
Moxa’s ThingsPro Gateway provides a convenient way to acquire device data through Modbus
RTU or Modbus/TCP protocol. In addition, you can create your own data tags and automatically
transmit processed data to a remote IoT cloud using the ThingsPro Gateway software.
2 Requirements
• ThingsPro Gateway software installed on an eligible Moxa device (e.g., UC-8112-LX)
• AWS IoT user account
3 Overview
In this tech note, we explain how you can take advantage of the Custom Equipment
Management function in ThingsPro Gateway to read temperature values from a device via
Modbus/TCP protocol and publish the current temperature, the highest temperature, and lowest
temperature values to the AWS IoT cloud using the following steps:
• Creating Custom Tags/Registers
• Setting Up a Modbus TCP Device
• Running a Program to Read and Publish Data from the Device to the AWS IoT Cloud
• Enabling the AWS IoT Client in the ThingsPro Gateway
• Checking the Data on AWS IoT
3.1 Creating Custom Tags/Registers
To create the custom tags required for this project, do the following:
1. Connect to the ThingsPro Gateway homepage using the Chrome browser.
2. In the main menu, click MODBUS & Logging and select the EQUIPMENT
TEMPLATE tab.
3. In the Custom Equipment Management section, click to open the Edit
Custom Equipment page
4. Fill in a name of custom equipment (“ioLogik-temperature-sensor” in this
example)
5. Add three custom tags—current-temp, max-temp, and min-temp—as shown in
Figure 1.