This is my archive
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 Recommended project… 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 type can now… 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 article was written… 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, and… 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. We found… 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 CV… Read More
What Is Wake-on-LAN? Wake-on-LAN (sometimes abbreviated WoL) is an industry standard protocol for waking computers up from a very low power mode remotely. The definition of “low power mode” has changed a bit over time, but we can take it to mean while the computer is “off” and has access… Read More
Hi all. Some time ago i needed simple access to variables AXC F 2152. And i wrote simple Python library to resolve this problem. Contributions to this project are welcome. https://github.com/AlexanderSkachkov/pyPLCn Warning note! This library in test/beta state!