Each topic or feature is described separately with hands-on examples, we have a plan to develop YouTube Video and those will be posted later. 

TwinCAT HMI is the most modern toolset provided by Beckhoff. The most important thing is that we don’t need to care about the nitty-gritty of thread, TCP/IP, HTPP/S, etc. But we need to focus on our actual task and in some level of JavaScript. One of the beauties of TwinCAT HMI is that you can expand it based on your imagination. You can develop a full-featured SCADA system and display/manipulate data from other types of PLC (for example Siemens, Allen-Bradly, etc over the supported protocol such as OPC UA).

If you want to learn TwinCAT HMI, this site gives you all the knowledge you need, let start.

Learn Installation and the First Example

Installation, IDE, Architecture and the First Example (Linear Gauge)

The HTML5 based HMI provided by Beckhoff is the most intuitive solution in the market today. TwinCAT now integrates the Human Machine Interface directly into the familiar environment of Microsoft Visual Studio®. Programming is unnecessary as the configuration is handled with ease using the TwinCAT HMI graphical editor. Follow these steps to install and test a linear gauge example.

Learn Relation between Symbol and HMI

TwinCAT HMI Symbol Data and Binding

In TwinCAT a variable is called symbol. This symbol can be mapped or linked to PLC variable. Some symbols can be local to HMI server. That means it is not read from PLC. This page will describe how do we make the link between HMI and the PLC. This also explain the event system. So click here to continue.

How to Develop Interactive Application using TwinCAT HMI

TwinCAT HMI User Control, View, Region

There are various concept in TwinCAT HMI. User control are reusable block that can be created and used with different parameters. Views are used to show different views of the application. All these are described with tips and tricks. Please follow this link.

Details about CheckBox and ComboBox

TwinCAT HMI CheckBox and ComboBox

Typically we use ComboBox for selecting from a list of items. CheckBox is used to indicate if some variables are true or false in the HMI. Some tips and tricks are described here. It may be easy if you know but if you don’t know then it can take lots of time to find. Please follow this link.

Reading Data from PLC and OPC UA Server

ADS and OPC UA Server

TwinCAT HMI can read data from the PLC, it can read from the custom library (extension) or from the OPC UA Server. The data from the OPC UA server can be treated in the same way as we do for ADS. HMI does not make any difference between from where the data is coming  continue reading with this link.

Display Historical Data to HMI

Historize Data

A Data Historian is a type of time-series database designed to efficiently collect and store process data from an automation system. Continue reading more about the historicization of data for automation systems with sample applications…

How to Change HMI Language

Localization

Software localization helps in creating a more user-friendly user experience for a diverse range of customers. When more people start using your platform, then more people will be interested in your software. Learn how you can localize your SCADA/HMI software for TwinCAT platform, Continue reading with a complete working sample.

Controlling Access for Users

User Management

The management of users on any software system is critical to the security of the system and the organization. Proper procedures should be in place within the organization to identify the proper permissions each new user should receive.  Each person or user may not have equal rights, for example, an expert-level user who knows how the system works as compared to an entry-level worker does not know. So there might be potential risks of misusing the system. This section just describes different features with samples for the TwinCAT environment.

 

How to add custom icon

Add user icon to HMI

Most users want to add their own icon based on their choice. Beckhoff HMI provides a default icon that may not be enough in most cases. We shall provide an example with source code and a video tutorial on how to add a custom image to the HMI project so during run time user or the admin can set the image from a custom image for an example from a PNG file. Continue reading.

Show Alarms and Events to HMI

Alarms and Events

Alarms and Events provide a way to inform users about interesting issues about the plant. The issue or the notification could be critical information or something like a nice to know type. Continue for more…

Control Process based on Recipes

Recipes

Recipe types and recipes. A recipe type is a general description of a set of symbols, based on these we can create a different type of recipe. These are comparable to class (recipe type) in object-oriented programming from where we can make instances of a class (recipes) with different attributes. Learn more with example.

TwinCAT HMI & JavaScript Part 1, Code Sample

JavaScript, function and Code Behind

JavaScript is the programming language of HTML and the Web. JavaScript is easy to learn. TwinCAT HMI has a framework that uses JavaScript. In this tutorial, we go through these, follow this.

TwinCAT HMI & JavaScript Part 2, Code Sample

TwinCAT HMI & JavaScript Part 3, Code Sample

Variables mapping and subscription using JS

You have lots of devices in the fields managed by PLC. You need to link all variables from HMI to individual field devices. You will do one by one? We shall explain what can be done for this, continue reading and download the sample for testing.

Display Tree like nodes to TwinCAT HMI

Displaying Tree like nodes in TwinCAT HMI

We need to display tree-like data in the HMI. How can we achieve this? We shall describe this in this section.   The HTML Host control displays an HTML page from a given URL or a local file. The associated HTML page can be static or dynamic by using JavaScript (embedded or external). Continue reading with hands-on examples.

Extend Functionalities without JavaScript

How to develop TwinCAT HMI Extension

Java script is used heavily in TwinCAT HMI development. What will happen if something can’t be implemented by javascript or if we want to isolate our business logic in remote servers and there it is not possible to implement by javascript. TwinCAT HMI provides a way to implement the functionalities and use it as it has been a built-in type.  This page will describe how to build an extension module for the TwinCAT HMI.

Display SQL Data to TwinCAT HMI

How to show SQL Data to TwinCAT HMI

TwinCAT HMI offers possibility to display tabular data to users interface. This article shows how to read the data from the SQL server and display to the interfaces. Continue reading the pages.

Present Two Ways for Receiving Data

Getting data from PLC, JS framework VS extension

We can read or write to PLC variables by different ways, in this article we shall explain how can write data to PLC by JavaScript framework. We can do the same by using direct ADS connection over the network by using ADS library. The sample application read data from the PLC by using 2 ways simultaneously and displays to the UI. Continue reading.

Talking to PLC by C# Program

How to develop Communication module between PLC and PC

We can connect a PLC from a laptop by using ADS communication. This interface can be used by different programming language. In this chapter we shall use C# (see our C# tutorial). Continue with this link.

How to Publish HMI to Server

How to publish to HMI Server

When we are satisfied with our development then we need to publish the SCADA /HMI to a remote server so our operator can access it and use it. We need to install HMI Server (not HMI Engineering to the machine). Click on the image below to see how to publish HMI to serves.

Nuget Package Manager

Nuget Package Manager

This is about NuGet Package Management, how to build and how to use it.

Continue reading the sample with source code and video tutorial.

Ask questions related to Hemelix sample code and design at Google group https://groups.google.com/g/hemelix