How to Build an IoT Application with Moxa's ThingsPro and AWS IoT Service

Similar documents
How to Upload Device Data to a Remote Database Using the Log Upload Function

How to Build a Real-Time IIoT Application with Moxa's ThingsPro and Cirrus Link's Sparkplug

How to Use ThingsPro Gateway to Publish Processed Edge Data to the AWS IoT Cloud. 1 Background Requirements Overview...

Getting Started with the Google Cloud SDK on ThingsPro 2.0 to Publish Modbus Data and Subscribe to Cloud Services

ThingsPro Version 2 User s Manual

Using a RESTful API to Connect to Remote I/Os

ThingsPro Software User s Manual

ThingsPro Software User s Manual

ThingsPro Software User s Manual

Connecting the iologik 2000 to a SolarWinds NPM

ThingsPro Software Suite Version 2 User s Manual

Replacing the AB 1761-NET-ENI with the MGate EIP3000 to perform an EIP-to-DF1 conversion

2013 Moxa Inc Released on Sep 15, 2013

Building a Future-Proof Data- Processing Solution with Intelligent IoT Gateways. Johnny T.L. Fang Product Manager

Boost Your IIoT Development. An intelligent platform for data acquisition and device management

IoT Starter Kit Part 3: Connect to the cloud AWS IoT. 1 Local network

How to Use the TIA Portal to Set a Siemens PLC and the MGate 5103

MX-AOPC UA Server User s Manual

EtherNet/IP Configuration for a Moxa MGate 5105-MB-EIP and an Allen-Bradley CompactLogix L32E. Copyright 2013 Moxa Inc Released on July 15, 2013

Using NI LabVIEW with iologik E2210 servers

AWS IoT Overview. July 2016 Thomas Jones, Partner Solutions Architect

1. System Topology Required Equipment and Components PcVue SCADA Modbus Slave MGate 5109 Setting...

IIoT Edge Gateway Application Guidebook

MX-AOPC UA Server User s Manual

1 Application Description System Topology Hardware and Software Requirements About KingSCADA

Libelium Cloud Hive. Technical Guide

1. System Topology Required Equipment and Components Hardware Equipment Software Equipment... 6

How OPC UA Software Enhances Big Data Integrity for IIoT SCADA Systems. Charles Chen Product Manager

AWS IoT Example Using the Raspberry Pi 3 and NimbeLink CAT M1 Skywire

How to Configure the MGate 5114 with IEC SCADA. 1 System Topology Protocol Simulators... 4

Methods for Embedding Video Streams in SCADA Systems

3 Major Considerations to Bring Industrial IoT to Reality Péter Bóna, CEO, Com-Forth Kft. Budapest, 15th May 2018

Arm-Based Linux IIoT Gateway Application Guidebook

WAF on AWS Deployment Kit. On Demand. Configuration Guide

One Gateway That Can Do It All

Archived. Configuring a single-tenant BIG-IP Virtual Edition in the Cloud. Deployment Guide Document Version: 1.0. What is F5 iapp?

Using vrealize Operations Tenant App as a Service Provider

Table of Contents. Configure and Manage Logging in to the Management Portal Verify and Trust Certificates

Cloud Help for Community Managers...3. Release Notes System Requirements Administering Jive for Office... 6

OnRISC. IoT Manual. Vision Systems GmbH. Edition: October 2017

MGate EIP 3000 Series to connect RSLinx with the. Allen-Bradley SLC 500/Micrologix family

New Technology Automates Arduous Modbus Routing Setup in Gateways. Dr. Sean Chen Product Manager

VISY-X. Technical Documentation. MOXA Ethernet Converter Installation and configuration. Edition: Version: 1 Article No.

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline 1.4

Qualys Cloud Platform (VM, PC) v8.x Release Notes

Configuring ArcGIS Enterprise in Disconnected Environments

Moving Your Application on the Raspberry Pi to the UC-8100-LX Computer. 1 Background Requirement Overview System Environment...

BCM4343W IoT Starter Kit Getting Started Guide Version 2.1

Connecting the Unconnected: IoT Made Simple

SMG-1100/6100 User s Manual

WISE-4210 Engineering Sample SOP

How to Upgrade or Recover the Firmware of the UC-7400 Series Embedded Computers

Using NI LabVIEW with iologik E2210 servers

Installing and Configuring vcloud Connector

VMware AirWatch Integration with F5 Guide Enabling secure connections between mobile applications and your backend resources

ArcGIS Enterprise: Portal Administration BILL MAJOR CRAIG CLEVELAND

Securing Network Devices with the IEC Standard What You Should Know. Vance Chen Product Manager

API Gateway Version September Validation Authority Interoperability Guide

Workspace ONE UEM Notification Service 2. VMware Workspace ONE UEM 1811

Client Proxy interface reference

cmt-g01 with OPC UA Server and Modbus Gateway

Certificates for Live Data Standalone

USING THE XPERT2 / 9210B ON A TCP/IP NETWORK

Setting Up Resources in VMware Identity Manager (On Premises) Modified on 30 AUG 2017 VMware AirWatch 9.1.1

Citrix Receiver for Windows (Store)

PI Connector for Ping 1.0. User Guide

FAQs. Business (CIP 2.2) AWS Market Place Troubleshooting and FAQ Guide

Forescout. eyeextend for Palo Alto Networks Wildfire. Configuration Guide. Version 2.2

Reference. Base Configuration Updates

exware First Step IIoT Compatibility

MW100 Setting for Data Communications via Modbus Protocol. Connect to Ethernet. Enter Ethernet settings. Enter Server Settings

Technical characteristics (MICA)

8.0 Help for Community Managers Release Notes System Requirements Administering Jive for Office... 6

Client Proxy interface reference

Bomgar PA Integration with ServiceNow

Libelium-AWS Development Kit. Quick Start Guide

VMware Skyline Collector Installation and Configuration Guide. VMware Skyline Collector 2.0

Installing and Configuring vcloud Connector

Forescout. eyeextend for MobileIron. Configuration Guide. Version 1.9

Crestron Mercury Tabletop UC Audio Conference Console for Microsoft Teams

ForeScout CounterACT. Controller Plugin. Configuration Guide. Version 1.0

VMware Workspace ONE UEM Apple tvos Device Management. VMware Workspace ONE UEM 1811 VMware AirWatch

Getting Started: WordPress UBC Blog

Load Balancing Web Servers with OWASP Top 10 WAF in AWS

Industrial Automation

PROTOCOL PROPOSAL FOR IOT PRACTICAL V3 2IMN15

Edge Device Manager R15 Release Notes

App Orchestration 2.6

HS1200N Wireless N Hotspot

Ingress Kubernetes Tutorial

Using a Virtual Machine for Cisco IPICS on a Cisco UCS C-Series Server

How to Route Internet Traffic between A Mobile Application and IoT Device?

Sophos Mobile in Central

Quick Start Guide. Kaseya 2

What is it? A cloud based facility, linking key communications services and business applications, securely, via a web browser or mobile app

Beginners Guide to Lazada Open Platform

TLS 1.2 upgrade. Table of Contents. Test endpoints by product family

IT and Instrumentation for industry. Modular RTU Controller: IoPAC 8000 Series. Cellular RTU Controller: iologik W5300 Series

Industrial Automation Tech Note 52

Sophos Mobile as a Service

Transcription:

How to Build an IoT Application with Moxa's ThingsPro and AWS IoT Service Contents Moxa Technical Support Team support@moxa.com 1 Introduction... 2 2 Application Scenario... 2 3 Prerequisites... 3 4 Solution... 3 5 How to Get the AWS IoT Parameters for ThingsPro... 10 6 Additional Reading... 19 Copyright 2018 Moxa Inc. Released on February 02, 2018 About Moxa Moxa is a leading provider of edge connectivity, industrial computing, and network infrastructure solutions for enabling connectivity for the Industrial Internet of Things. With over 30 years of industry experience, Moxa has connected more than 50 million devices worldwide and has a distribution and service network that reaches customers in more than 70 countries. Moxa delivers lasting business value by empowering industry with reliable networks and sincere service for industrial communications infrastructures. Information about Moxa s solutions is available at www.moxa.com. How to Contact Moxa Tel: 1-714-528-6777 Fax: 1-714-528-6778

1 Introduction Moxa s ThingsPro 2.0 Suite simplifies the development of IoT applications and facilitates data acquisition as well as remote device management. ThingsPro provides Modbus communications, data acquisition, wireless networking, and device management, in a few simple steps, allowing users to focus on developing applications instead of complex system integration. For users who develop data acquisition and asset management software programs on their own, ThingsPro provides the ability to transfer field data to the AWS IoT service without requiring any additional programming on the gateway. ThingsPro 2.0 includes generic Modbus protocol and AWS IoT support, which you can use to easily configure protocol data polling tables and AWS IoT connection settings. You can then upload the data collected to the AWS IoT service. In this article, we describe how to configure the MODBUS device template in ThingsPro, retrieve data from ThingsPro, and upload the data to a remote HTTP server. 2 Application Scenario Set up an environment to send real-time device data updates to the AWS IoT service using ThingsPro 2.0. Here, ThingsPro is used as a Modbus data logger and the AWS function provided by ThingsPro is used to configure the connection to the AWS IoT service. Copyright 2018 Moxa Inc. Page 2 of 19

3 Prerequisites 1. Moxa UC-8112 gateway computer with Internet access, and ThingsPro 2.0 Gateway and SD card installed. For information about setting up a Moxa UC-8112, refer to the ThingsPro User s Manual. 2. PC/notebook with Chrome browser and Microsoft Device Explorer installed 3. Modbus device (e.g., Moxa iologik-e2242) 4. AWS IoT configuration: thing name, CA certificate, device certificate, device private key, mqtt topics, and mqtt endpoint 4 Solution Complete the following steps to create your IoT application using ThingsPro and AWS IoT service: 1. Choose an equipment template. a. In the ThingsPro Gateway web page, click (Menu). Copyright 2018 Moxa Inc. Page 3 of 19

b. In the ThingsPro Gateway menu, click on the Modbus & Logging link. c. Open the EQUIPMENT TEMPLATE tab d. Browse through the Template List to locate the template corresponding to the Modbus device or create a new template. For details on creating a new template, refer to the ThingsPro User s Manual. In this article, we use the Modbus device E2242, which is already listed in the Template List. Copyright 2018 Moxa Inc. Page 4 of 19

2. Create an instance of the Modbus device. a. Select the MODBUS DEVICE tab. b. Configure the Modbus device with a communication interface (serial or Ethernet). Because the connected device (E2242) uses Modbus TCP protocol, click on the MODBUS/TCP tab. i. Click (Add TCP interface). ii. Fill in the TCP interface settings and click SAVE. The Modbus/TCP interface for E2242 is added to the TCP List. Copyright 2018 Moxa Inc. Page 5 of 19

iii. Click on the (Add connected device) button corresponding to E2242 to add a connected device. iv. Fill in the Device Name. v. Select a Template to combine MODBUS/TCP interface with the Modbus device. vi. Specify the Unit ID for the device and click SAVE. ThingsPro will now start continuously polling data from the device. To check the status, click (Show connected devices). If the Request Status is green, ThingsPro is able to send requests to the Modbus TCP device and receive data. Copyright 2018 Moxa Inc. Page 6 of 19

3. Use the AWS IoT service for real-time data update. a. In the ThingsPro Gateway menu, click on the AWS IoT link in the Applications section. Copyright 2018 Moxa Inc. Page 7 of 19

b. Fill in the AWS IoT service details. Follow the steps in How to get AWS IoT parameters for ThingsPro to get the AWS IoT service parameters. c. Click SELECT TAGS to select the tags that you want to upload to AWS IoT. d. Click SAVE. Copyright 2018 Moxa Inc. Page 8 of 19

e. If you need to log data when network is down, check the Logging data when network is disconnected, select the log File destination, and specify the Max. Storage for Log value. Your data will be logged in a data file. Once the network connection comes up, the data in the log file will be transmitted to AWS. Copyright 2018 Moxa Inc. Page 9 of 19

f. Select the Enable option g. Click SAVE The AWS IoT interface will use the information provided to create a connection with the AWS IoT service. Once the connection is established, data can be uploaded to the AWS IoT service in real time. Once the AWS Client App successfully connects to the AWS service, the connection status turns green as shown below: 5 How to Get the AWS IoT Parameters for ThingsPro To get the AWS IoT parameter for ThingsPro, you must log in into the AWS IoT service and do the following: 1. Click on the AWS IoT link. Copyright 2018 Moxa Inc. Page 10 of 19

You will see the AWS IoT Dashboard. 2. Click on the connect link and then the Get started button. Copyright 2018 Moxa Inc. Page 11 of 19

3. Choose the Linux/OSX platform and select the Python SDK. 4. Click Get started Copyright 2018 Moxa Inc. Page 12 of 19

5. Fill in the thing name. e.g.:8112. This name will be used in the Client ID and My Thing name in the ThingsPro AWS IoT connection UI. 6. Click Next step. 7. Click on the Download connection kit link 8. After the download has finished, click Next step. Copyright 2018 Moxa Inc. Page 13 of 19

9. Click Done. Note: You do not need to perform steps 1 to 3 under Configure and test your device. Copyright 2018 Moxa Inc. Page 14 of 19

10. Extract the files from the connect_device_package.zip file that you just downloaded. The files include information on the private key, certificate file, and public key. 11. Download the AWS root-ca file from following URL: https://www.symantec.com/content/en/us/enterprise/verisign/roots/verisign-class%203- Public-Primary-Certification-Authority-G5.pem 12. Copy the content and save it in a root-ca.crt file together with the private key and certificate file. The root-ca.crt, private key, and certificate file will be used in the ThingsPro AWS IoT connection UI 13. Go back to the AWS IoT dashboard and click on the Registry and Things link. You will see the thing that you just created. Copyright 2018 Moxa Inc. Page 15 of 19

14. Click on the thing that you created. 15. To fill in the AWS IoT parameters, do the following: Click on the Interact link Copyright 2018 Moxa Inc. Page 16 of 19

The Rest API Endpoint is the target host of the ThingsPro AWS IoT connection UI. Copyright 2018 Moxa Inc. Page 17 of 19

The update to this thing shadow is the Topic of ThingsPro AWS IoT connection UI. With above information, you should be able to fill up all required information for connecting to AWS IoT service. Copyright 2018 Moxa Inc. Page 18 of 19

6 Additional Reading Getting Started with AWS IoT Copyright 2018 Moxa Inc. Page 19 of 19