GUI/HMI for TwinCAT-PLC

GUI/HMI for TwinCAT-PLC

I was looking for a lightweight UI framework that allows me to quickly and easily create visually appealing user interfaces (GUI/HMI) for TwinCAT-PLC systems. Although WinForms is often considered outdated, it offers exactly the characteristics that make it well-suited for this use case:

  1. A professional and proven development environment with Microsoft Visual Studio, including a drag-and-drop designer – available for free in the Community Edition
  2. A simple and intuitive programming model that enables a fast learning curve
  3. A minimal feature set, while still providing sufficient flexibility to design appealing UI elements

The NuGet package TcForms provides WinForms controls styled after Material Design and enables easy binding to PLC variables via integrated TwinCAT ADS communication. The following video shows the principle of operation:


 

Take a look at my sample project, which demonstrates a user interface for a sample application!