100% found this document useful (1 vote)
173 views

Kepware IoT Gateway - Dube

The document discusses using an IoT gateway to connect industrial control systems to cloud platforms. It describes integrating an IoT gateway with Azure IoT Hub and IoT Edge to enable bidirectional communication between industrial devices and cloud applications over MQTT and REST. Options for direct integration with IoT Hub or using IoT Edge as a transparent gateway are presented.

Uploaded by

Vishal Patil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
173 views

Kepware IoT Gateway - Dube

The document discusses using an IoT gateway to connect industrial control systems to cloud platforms. It describes integrating an IoT gateway with Azure IoT Hub and IoT Edge to enable bidirectional communication between industrial devices and cloud applications over MQTT and REST. Options for direct integration with IoT Hub or using IoT Edge as a transparent gateway are presented.

Uploaded by

Vishal Patil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 35

INDUSTRIAL IOT WITH

THE
IOT GATEWAY

2019
AGENDA

• Industrial IoT

• The IoT Gateway


– Overview
– REST and MQTT Communications

• Azure Integration

2
INDUSTRIAL IOT

3
NEW CONSUMERS OF ICS DATA

• Many New Applications Developed by


Enterprise Business / IT vendors

Worlds are converging!

4
A WAVE OF TRANSFORMATION IS COMING TO MANUFACTURING

Industrie 4.0
Smart Manufacturing
Made in China 2025

“33% of IoT economic value will come from “Manufacturing operations is the IoT use
the ‘factories’ setting.” case that will see the largest investment.”
– McKinsey Global Institute, 2015 – International Data Corporation (IDC), 2017
Source: LNS Research 2016

IoT IS RAPIDLY BEING ADOPTED IN THE FACTORY


(Graphic source: forbes.com – Louis Columbus)
BRIDGE TODAY’S PLANT
INTO TOMORROW’S
CLOUD ENVIRONMENTS

7
IOT CLOUDS

• These “IoT” cloud service providers (Azure, AWS, Google) have built-in data
ingestion “endpoints” or addresses

• Example:
– Microsoft Azure IoT Hub

• These endpoints are useful integration points because


– Data available to entire cloud service ecosystem
– Big ingest ability (lots of messages per second)
– Big storage ability (terabytes / petabytes!)

8
TRENDING APPLICATIONS – HYBRID DESIGNS

Enterprise industrial solutions leverages technology that span across the edge to cloud

Edge Site Enterprise / Cloud


Make decisions faster Execute your processes Coordinate an Enterprise

- Computation close to unique - System integration - Enterprise System integration


systems (MES/MOM/ERP/Historians/etc.) (ERP/CRM/FSM)
- Data acquisition and protocol - Operational insights across - Central compute
conversion local systems at the site - Site to site integration
- Lower latency times - Optimization of systems - Higher latency time domain
- System/machine (real time) - Complex rules/events
analytics - Big data stores (data
- Real time actions warehouses, etc.)
- Non-real time analytics

9
THE IOT GATEWAY

10
TRADITIONAL DATA FLOW

L4 Business Systems

L3 Operations Management

L2 Monitoring & Supervisory Control

L1 Controllers & Sensors

L0 Production Assets & Materials

11
IIOT CONNECTIVITY

vs

12
IOT GATEWAY OVERVIEW

The IoT Gateway seamlessly streams real-time


industrial control data from KEPServerEX into IT
or IoT applications.

• Connect OT with IT
• Stream data over MQTT and HTTP/REST
• Provide cloud-based enterprise business systems
access to real-time data from industrial
equipment

13
CONNECTING A WEB PAGE TO THE
IOT GATEWAY

14
WEB PAGE DEMONSTRATION

15
THE IOT GATEWAY:
COMMUNICATIONS

16
PROTOCOLS, AGENTS, AND MESSAGE FORMATS

• REST Client and REST Server


Agents using HTTP protocol

• MQTT Client Agent

• JSON for the message format


This is customizable in the REST
and MQTT Client Agents, it can
be something other than JSON,
such as XML or HTML

17
JSON

• JavaScript Object Notation


– Open Standard
– Key / Value pairs
– Human readable text

• Option to change the format in the REST


and MQTT Clients

18
RESTFUL INTERFACES

• Representational State Transfer

• Architecture for client/server web


services REST Web Services Server

• Leverages Hypertext Transfer Protocol


(HTTP)
– Or HTTPS for secure data exchange
(SSL)

• Stateless
HTTP Response HTTP Request
Each request contains the appropriate
information to service the request

REST Web Services Client

19
NODE RED DEMONSTRATION

20
AZURE INTEGRATION DETAILS

21
INDUSTRIAL DATA FOR CLOUD

Concept Demonstration

22
WHAT IS IOT HUB?

• Enable highly secure and reliable communication between your IoT application
and the devices it manages.

• Cloud-hosted solution backend to connect virtually any device. Extend your


solution from the cloud to the edge with per-device authentication, built-in device
management, and scaled provisioning.

• IoT Hub is a managed service, hosted in the cloud, that acts as a central message
hub for bi-directional communication between your IoT application and the
devices it manages.

Ref: https://docs.microsoft.com/en-us/azure/iot-hub/about-iot-hub

23
WHAT IS IOT EDGE?

• Service for use cases for analyze data "at the edge" instead of in the cloud

• Execute workload at the edge to provide more direct interaction and reaction to
events
– Think of this as a service that builds on top of IoT Hub.

Ref: https://docs.microsoft.com/en-us/azure/iot-edge/

24
OPTION 1: DIRECT IOT HUB INTEGRATION

MQTT Agents

Device 1 Identities:
Device 2 devices/
Kepware
… IoT Hub - Device 1
- Device 2
Device n
- Device n

Factory Cloud

• Each MQTT Agent is modeled as a "Device”


• Multiple Connections from Kepware to IoT Hub
• Bidirectional data
• No external modules or runtime to configure

25
OPTION 2: TRANSPARENT GATEWAY INTEGRATION

Other
Data
Sources

MQTT Agents
Identities:
Device 1
devices/
Device 2 IoT Hub - Device 1
Kepware IoT Edge
… - Device 2
Device n - Device n
- Gateway Device
Transparent
Gateway Logical device connections are
multiplexed over one socket
connection

Factory Cloud

• Each MQTT Agent is modeled as a "Device”


• Single Connections from Kepware to IoT Hub
• Allows internal Routing in Factory
• Data processing “at edge”
• Bidirectional data
• “Store and Forward” functionality
26
OPTION 3: OPC UA PUBLISHER

Other
Data
Sources

IoT Edge Identities:


OPC UA devices/
Kepware w/ OPC UA IoT Hub - Gateway Device
Publisher
module

Protocol
Translation

Factory Cloud

• UA Server is modeled as a module within the “Gateway


Device” by default
• More difficult to configure and modify data collection
• Currently "read only” data
• Other features similar to Option 2 (local routing and data
processing)
27
MQTT
• Message Queue Telemetry Transport

• Protocol used to transfer data in publish/subscribe broker technology


– Data sources publish to a intermediate broker and consumers subscribe to broker
for data of interest
– Quality of Service (QoS) specifies reliability of message delivery

• Leverages TCP/IP for transport and security

28
MQTT

• What is MQTT?
Lightweight message protocol used to connect a wide variety of IoT and industrial
automation devices.

• What industrial assets use MQTT?


– Sensor networks through a gateway
– Automation devices such as PLCs

• How does MQTT work? Examples of MQTT Enabled devices:


• Wzzard Wireless Sensing Technology from B+B Smartworx
(Advantech)
• Meshlium from Libelium
• Certain gateways from Proudlink
• PFC100 and PFC200 Controllers from WAGO
• EK9160 from Beckhoff
• Industrial IoT Gateway from EpiSensor
• Maestro from CDinnovation (building automation)
• Edge Gateway from Maple HMI

29
MQTT’S PUBLISH/SUBSCRIBE METHOD

Broker

Publisher Topic Subscriber

Publisher Topic Subscriber

Publisher Topic Subscriber

30
MQTT

• What are the main benefits of MQTT in Industrial Automation?


– Directly submit data to the cloud – both AWS and Azure can receive and publish data
over MQTT
– Low network bandwidth requirements
• Lightweight messaging protocol
• Small seven-byte header

• Why do I need to bring MQTT data into KEPServerEX?


– Push the data from a sensor network to a SCADA system
Example: MQTT to OPC Bridge
– Create real-time logic
Example: Use data from a vibration sensor to turn a machine off

31
IOT GATEWAY RESOURCES

• IoT Gateway Demo Video:


https://youtu.be/Jfi5hOlNIWw?list=PLv3EViGH_uVlKb1KcFSqtXa3qor9MsDz2

• Made Easy Guide: https://www.kepware.com/products/kepserverex/advanced-


options/iot-gateway/documents/iot-gateway-made-easy/

• IoT Webinar Series: https://info.kepware.com/iot-webinar-series

• MQTT Knowledge Base Article: Can I Set up a Mosquitto MQTT Broker to Receive
KEPServerEX IoT Gateway Messages?

• Manual: https://www.kepware.com/products/kepserverex/advanced-options/iot-
gateway/documents/iot-gateway-manual/

32
IOT GATEWAY RESOURCES

• IoT Gateway to AWS


– https://www.kepware.com/getattachment/1c6ac97a-89cb-49a5-afa4-
d97aaf1c88b4/connecting-mqtt-agent-amazon-web-services.pdf

• IoT Gateway to Azure IoT Hub


– https://www.kepware.com/getattachment/c93c65df-57ea-4e9c-a1e0-
2e9a34381d54/mqtt-client-and-microsoft-azure-iot.pdf

• IoT Gateway to Azure IoT Edge


– https://www.kepware.com/getattachment/11166fa4-902a-4723-a71f-
f47903a23fb1/kepserverex-microsoft-azure-iot-edge.pdf

33
CONNECT WITH US

Sales
Request a pre-sales consultation or pricing
information
Kepware • x208
400 Congress Street • [email protected]

Portland, ME 04101 Training


Attend hands-on, customized training classes
• x155
Phone: +1 888-KEPWARE • [email protected]

(+1 888-537-9273) Technical Support


Get assistance from experienced engineers
Fax: +1 (207) 775-1799 • x211
[email protected]

www.kepware.com Blog
Stay up to date on the latest in automation and
communications
• https://info.kepware.com/blog/

Social Media
Find product news, industry updates, event coverage,
and more

34

You might also like