Logging Sensor Data From Siemens S7 PLC To MariaDB SQL Database

Опубликовано: 29 Сентябрь 2024
на канале: SQL4automation
24,037
326

In this video we're creating an application to measure the temperature and humidity in a room every 5 seconds and store it in a database.
To make the application we're using a Siemens S7 1200 PLC, a NUC (NUC6CAYH) running our connector service and a synology drive (DS410) running our MariaDB database.

The SQL4automation Connector is a software solution for the industrial usage. It connects PLC and robotic controls directly with SQL databases.

Sections:
00:39 Creating project and configuring the PLC
03:07 Hooking up the EE10 M1A3 sensor
04:53 Processing the sensor data
10:16 Importing the SQL4automation library
13:42 Setting up the MariaDB database
16:43 Connecting the connector service to the database
18:39 Logging the data!

Recommended videos:
T007 Installing S4A on Ubuntu:    • How to Download and Install SQL4autom...  

Visit us on https://www.sql4automation.com