This is my archive

How to start Node-red automatically on boot using init.d

Control your application with voice commands

For the voice recognition we use a device which is developed by a German company called voice INTER connect. Together with another company phytec they created the voice control kit. It is a combination of a small embedded single board computer of phytec together with the industrial voice control board… Read More

Automate your development workflow with Visual Studio Code

In my last post I wrote about our development setup to write C++ for PLCnext here in IMA Engineering at Phoenix Contact Deutschland GmbH. So you maybe already know that we are using Visual Studio Code to write C++ for PLCnext. In this post I want to show you how you can… Read More

How to include an open-source library in your own C++ project

How to use SQLite in a PLCnext C++ project

HowTo build a new kernel for the AXC F 2152 FW 2019.0

To try out open source packages like Docker that require kernel parameters which are not enabled in the kernel of the standard firmware, it might be necessary to build and install an altered kernel on a PLCnext Control. This How-To will guide you through this process. You need to get… Read More

How to use Visual Studio Code to write C++ for PLCnext

This example shows how to create PLCnext Component libraries with Visual Studio Code. The project layout should be capable of handling multiple PLCnext SDK versions and different controller targets. The example is hosted on GitHub and can be downloaded from the GitHub repository. This example was made with the following… Read More

PLCnext Technology and IO-LINK

This is a little quickstart on how to use PLCnext Technology with IO-Link devices. When implementing IO-Link (IEC 61131-9) for the first time there are some “have to know” things.I hope this quickstart helps everyone to get on the right track. Preparation Equipment used AXC F 2152 StarterkitAXL E IO-Link… Read More

How to send a mail via Node-Red

To be able to follow this blog, you must have alreday installe the OPC-UA inside Node-Red. Then, it will be possible to send a mail, with a command from the PLC (xSend) including a variable message (strText). Here are the 2 variables of the AXC F 2152 which will be… Read More

How to create a simple MQTT broker on the AXC F 2152 with Node-Red

Here is a method to create and test a simple MQTT broker on the AXC F 2152 / Node-Red. Goto the Node-Red menu (the 3 lines, at the right of the screen) and select ‘Manage Palette’. Go to the Install tab, and type ‘mqtt’ in the ‘search modules’ line There,… Read More