This is my archive
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: … Read More
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… Read More
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… Read More
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. Integrate into project structure… Read More
Abstract In this article I will explain how to define complex GDS ports like data structures in C++ and connect them to GDS port in IEC code. Data Structures How to declare data structures. Lets look at C++. And in the Header of the programm class this… Read More
Abstract Did you know that the PLCnext Common Classes have built in support for XML serialization? This article shows how to use the IXmlSerializable interface to populate the data in a c++ class. You can find the Interface description in the API documentation of the PLCnext Common Classes. Requirements This… Read More
Some weeks ago, I received following question. You need to upload a logging file towards a SFTP server, by using a program which runs in the ESM.The SSH File Transfer Protocol (also Secure File Transfer Protocol, or SFTP) is a network protocol that provides file access, file transfer,… Read More
The PLCnext REST Interface is a fantastic tool both to present and receive data from a back-end system. REST, or REpresentational State Transfer, is a software architecture style consisting of guidelines and best practices for creating scalable web services. There is a lot of great information already on the… Read More
would like to share an application story from Ignacio Aláez, a Solution Engineering Expert from Phoenix Contact Spain, which might be of interest to the PLCnext Community. As part of a project we have the problem of accessing a Plcnext webserver when the IP is assigned via DHCP. Read More
Open CV is one of the most used Computer Vision libraries out there. Open CV can be used for face recognition, object tracking, scanning barcodes and more important for this blog, detecting if a light is on or off. In this blog I’ll help you get started with Open… Read More