Reader small image

You're reading from  Hands-On Industrial Internet of Things

Product typeBook
Published inNov 2018
PublisherPackt
ISBN-139781789537222
Edition1st Edition
Right arrow
Authors (2):
Giacomo Veneri
Giacomo Veneri
author image
Giacomo Veneri

Giacomo Veneri graduated in computer science from the University of Siena. He holds a PhD in neuroscience context with various scientific publications. He is Predix Cloud certified and an influencer, as well as SCRUM and Oracle Java certified. He has 18 years' experience as an IT architect and team leader. He has been an expert on IoT in the fields of oil and gas and transportation since 2013. He lives in Tuscany, where he loves cycling.
Read more about Giacomo Veneri

Antonio Capasso
Antonio Capasso
author image
Antonio Capasso

Antonio Capasso graduated in computer automation in 1999 and computer science in 2003 from the University of Naples. He has been working for twenty years on large and complex IT projects related to the industrial world in a variety of fields (automotive, pharma, food and beverage, and oil and gas), in a variety of roles (programmer, analyst, architect, and team leader) with different technologies and software. Since 2011, he has been involved in building and securing industrial IoT infrastructure. He currently lives in Tuscany, where he loves trekking and swimming.
Read more about Antonio Capasso

View More author details
Right arrow

Performing an Exercise Based on Industrial Protocols and Standards

In Chapter 4, Implementing the Industrial IoT Data Flow, we learned about the Open Platform Communications (OPC) protocol. We looked at how the features of its original implementation were based on the Microsoft COM/DCOM architecture. We also looked at how it evolved into its current Unified Architecture (UA) and how it uses open and inter-operable standards to overcome constraints and security issues. After that, we learned how to gather industrial data from different sources in different deployment scenarios, using the Edge Gateway and OPC UA. Finally, we briefly discussed the differences between the Edge Gateway and edge computation. In this chapter, we will look at how to implement a basic data flow with OPC UA and Node-RED.

We will carry out a practical example using the following:

  • Prosys OPC UA
  • Node-RED...

Technical requirements

The OPC UA Simulation Server

In this chapter, we will simulate a very simple industrial data flow to implement data acquisition through a simple edge device. To simulate the industrial data flow, we will use an OPC UA Simulation Server to generate the signals. OPC UA is managed by the OPC Foundation (https://opcfoundation.org/) and is the most common industrial operability standard. Several vendors have implemented their own solutions according to the OPC UA standard. We can find other open source drivers for the most common languages, such as Node.js, Python, and Java.

OPC UA Node.js

The OPC UA implementation for Node.js (http://node-opcua.github.io/) is one of the most popular libraries. It supports both the client and the...

The edge

We can develop our edge with different technologies and frameworks. In Chapter 10, Implementing a Cloud Industrial IoT Solution with AWS and Chapter 12, Performing a Practical Industrial IoT Solution with Azure, we will learn about AWS Edge (Greengrass) and Azure Edge. We will also develop a simple Edge MQTT with the AWS SDK, Azure SDK, and GCP SDK. To develop a simple edge to access the OPC UA server, we can use Node.js and the OPC UA client (http://node-opcua.github.io/). In this simple exercise, we are going to use a graphical interface called Node-RED.

Node-RED

Node-RED is an open source independent edge device, based on Node.js. Follow these steps:

  1. Assuming Node.js is already installed, we can install Node-RED...

Summary

In this chapter, we have implemented our first data flow. We will reuse the Prosys OPC UA Simulation Server in the next two chaptersChapter 12, Performing a Practical Industrial IoT Solution with Azure, and Chapter 10, Implementing a Cloud Industrial IoT Solution with AWS. In these, we will implement a more practical data flow with Azure and AWS. In the next chapter, we will also look at I-IoT middleware. We will learn about its basic functionalities and some key use cases that are useful in an industrial context.

Questions

  1. Which of the following technologies is the most recent standard managed by the OPC Foundation?
    1. UA
    2. DA
    3. Modbus
  2. What is the best way to make the OPC-UA proxy a secure server?
    1. Enable the firewall
    2. Avoid connecting through DA
    3. Connect with SIGNANDENCRYPT authentication

Further reading

lock icon
The rest of the chapter is locked
You have been reading a chapter from
Hands-On Industrial Internet of Things
Published in: Nov 2018Publisher: PacktISBN-13: 9781789537222
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
undefined
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime

Authors (2)

author image
Giacomo Veneri

Giacomo Veneri graduated in computer science from the University of Siena. He holds a PhD in neuroscience context with various scientific publications. He is Predix Cloud certified and an influencer, as well as SCRUM and Oracle Java certified. He has 18 years' experience as an IT architect and team leader. He has been an expert on IoT in the fields of oil and gas and transportation since 2013. He lives in Tuscany, where he loves cycling.
Read more about Giacomo Veneri

author image
Antonio Capasso

Antonio Capasso graduated in computer automation in 1999 and computer science in 2003 from the University of Naples. He has been working for twenty years on large and complex IT projects related to the industrial world in a variety of fields (automotive, pharma, food and beverage, and oil and gas), in a variety of roles (programmer, analyst, architect, and team leader) with different technologies and software. Since 2011, he has been involved in building and securing industrial IoT infrastructure. He currently lives in Tuscany, where he loves trekking and swimming.
Read more about Antonio Capasso