日本語 English

How to Build IIoT (AWS, Database and OPC UA Integration)

Overview

IIoT is IoT in the industrial field
IIoT (Industrial Internet of Things) is a system for collecting and analyzing equipment operation data, quality data and production results obtained from PLCs and sensors over a network.
In recent years there are more and more cases of using manufacturing data in cooperation with clouds such as AWS and Azure.
Here we introduce the following three of the ways to accumulate PLC data on a network

  • Connect to the cloud and exchange data
  • Connect to a database and insert data
  • Connect via OPC UA and read data from a PC

Connecting to the cloud

Target cloud

AWSAmazon

Connecting to AWS via MQTT

Here we connect to AWS via MQTT and send and receive data

MQTT connection with AWS
MQTT connection configuration between an OMRON PLC and AWS IoT Core

Inserting into DynamoDB

Here we insert data into AWS DynamoDB

AWS DynamoDB
Configuration for saving PLC data to AWS DynamoDB

Connecting to a database

Target RDBMS
oracleOracle
sqlserverSQL Server
oracleDB2
sqlserverMySQL
oracleFirebird
sqlserverPostgreSQL

Connecting to MySQL

Here we insert data into MySQL
mysql

Connecting with OPC UA

Connecting via OPC UA

Here we connect using a PC application (UaExpert), a mobile app and the Python OPC UA library (FreeOpcUa)
Example of connecting a PLC and an OPC UA client

FAQ

What is the difference between IIoT and IoT?

IIoT is IoT for manufacturing, aimed at collecting data from PLCs and industrial equipment.

Can a PLC connect directly to the cloud?

Yes, using AWS IoT Core, Azure IoT Hub or similar.

Should I use OPC UA or MQTT?

OPC UA is common for real-time monitoring and MQTT for cloud integration.

Related articles

Comments