Welcome to Hemelix

If you have a problem compiling sample code, please read the NuGet section in the HMI tutorial

TwinCAT ST Programming (Tutorial)

This tutorial explains what a PLC is and how automation software can be developed using Structured Text. Different features of the language are demonstrated through downloadable sample programs.

The link is:   https://www.hemelix.com/plc/structured-text-programming/

TwinCAT HMI Programming (Tutorial)

This page explains what SCADA and HMI are, and describes the differences between them. Almost all features of the TwinCAT HMI framework are demonstrated using practical examples built with the TwinCAT HMI framework itself.

If you go through the samples, you can develop a strong understanding of the system and grow into a skilled HMI engineer.

https://www.hemelix.com/scada-hmi/twincat-hmi/

Automation, HardWares and Theory

In automation system development, both hardware and software are required. Typically, the hardware is selected by an electrical designer. Once the hardware is in place, the software designer downloads and deploys the control program to the PLC.
This article explains how these devices are linked together and communicate with each other. It also describes different communication protocols such as MQTT, Node-RED, Modbus, and others.

https://www.hemelix.com/automation/

DataBase and Reporting

We will show how to use MSSQLSQLite, and PostgreSQL databases to store data on a remote server, while the actual software runs on a local computer. Based on the user data stored in the system, different types of reports can be generated.

The data and reports can be accessed from a desktoptablet, or mobile phonehttps://www.hemelix.com/sql/

SCADA and HMI Software

We will develop a simple SCADA/HMI application from scratch using the Beckhoff TwinCAT framework. The system will be able to control hardware located anywhere. Since the SCADA software is HTML5-based, it will run on desktops, tablets, and mobile phones.
Commands can be issued from the SCADA system; for example, to start a motor. We will also build a reporting system to monitor and analyze system performance.

https://www.hemelix.com/scada-hmi/

Computer Network

There are plenty of articles that you need to know to build a network system. Hemelix provides plenty of computer network articles starting from level 0.
We shall use a firewall to protect our data on the internet. A firewall typically establishes a barrier between a trusted internal network and an untrusted external network, such as the Internet. The link is here: 

https://www.hemelix.com/network/

Controlling Field Devices by Beckhoff PLC

We shall use a PLC (Beckhoff) to control the devices using this option. All the different instruments are attached to the PLC via the input-output card. As time passes, we shall build a complete  PLC program in Structured Text that can be used for that hardware.

https://www.hemelix.com/plc/

Controlling Field Devices with Raspberry Pi

A Raspberry Pi will be used to run our OPC UA and Modbus servers. Its input and output interfaces will be connected to and control the actual physical devices. All control operations will take place over the internet. For example, to open the main gate of a house, the HTML5-based SCADA system will activate a specific output on the Raspberry Pi. This output then triggers the physical device connected to the gate. https://www.hemelix.com/automation/raspberry-pi/

OPC-UA Server and Client

We will demonstrate how to develop an OPC UA server from scratch and use it to control a real device. 

This will be a complete end-to-end development, and the full source code will be available for download.

https://www.hemelix.com/automation/opc-ua-client/

Consider helping us:

You can support us via this page! https://www.buymeacoffee.com/hemelix

Consider sharing this site with your network and subscribing to our YouTube channel!