This is my archive

On-screen Keypad with PLCnext Engineer eHMI

Multi-stage builds with container

Systems quickly become very large when you ship it complete. This includes the build and often the build and test environment. Even if the extraction of the files to be shipped is not a problem, it is time consuming. Containers offer the possibility to do this automatically. Here you have… Read More

Using a PLCnext controller as a smart home device via Home Assistant

This little demo project shows how to easily use a PLCnext controller as a smart home device in the open-source home automation software Home Assistant via the REST API and Modbus TCP. With the PLCnext controller you can use the Axioline components in your automation to add easily more powerful Outputs then the GPIO Pins of the Raspberry Pi, temperature sensors like Pt100 and bus systems like DALI. All you need is a working Home… Read More

Machine Learning on PLCnext

By now everyone has heard about Machine Learning and how it will change everything. But very few have an idea how to start to change everything. I hope that when you try the steps in this blog, or even read about it will help you understand how to get started… Read More

Connect PLCnext Control via MQTT to Apache Kafka

Technical Background Kafka Apache Kafka is a framework for data ingestion, storage, processing, and redistribution. Nowadays, it is widely deployed at companies all over the world. Kafka’s official website offers more information about its idea and how to deploy it. One of its key features is the huge… Read More

Azure IoT Edge and PLCnext

Azure IoT Edge makes it possible to move cloud analytics and costum logic to to “the edge”, in our case to our PLCnext device. This has some benefits in decreasing used bandwidth and latency. With Azure IoT Edge you can develop and deploy your own applications form a central cloud… Read More

PLCnext Engineer – ehmi multilanguage

This tutorial I will show you how to handle Multi-language functions i PLCnext Engineer since this is supported from 2021.0 LTS. The following example will use English as default language and Swedish as alternative language Hardware: AXC F 2152 PLCnext controller (from FW 2021.0 LTS) Software: PLCnext Engineer 2021.0 LTS… Read More

pugixml a light-weight XML processing library with XPATH support

Abstract In this article I will explain how to use pugixml to process XML data. With this processing library you can use a DOM parser to read and manipulate nodes and the XPATH notation to query nodes. How to build To build the sources, you have to download a release from https://github.com/zeux/pugixml/tags. Now you can crosscompile… Read More

Linq the list processing library for C++

Abstract In this article I will explain how to use linq to process data. With this library you can use filtering, selections, aggregations, groupings and many more. For full support it requires clang or gcc, and boost How to use This library is a Header only library. You only have to integrate the C++ header in… Read More

c++ testing with catch2

Abstract In this article I will explain how to use catch2 to do unit testing. How to build To build the sources, you have to download a release from https://github.com/catchorg/Catch2/tags. Now you can compile the source with gcc. The following code-snippet will show the cmake script to compile. #Please set the environment variables… Read More