Store PLCnext CommunityPLCnext on LinkedInPLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community


 How to create a Blog Entry

Find user stories of interesting ideas and solutions in this blog.
Note: The Makers Blog shows applications and user stories of community members that are not tested or reviewed by Phoenix Contact.

For questions, please go to the FORUM section and create a new entry there.

Want to add your own solution here? Just login as a registered user and click the "Create Blog entry" button. Find a short intro video by clicking the "How to create a blog entry" button. If you experience any problems with editing or publishing please contact us at This email address is being protected from spambots. You need JavaScript enabled to view it..

Written by: Damian Bombeeck
Date: 10 januari 2020


In this tutorial I will show you how to connect to- and use a cloud-based database while on your PLCnext AXCF 2152 controller. We will use Microsoft Azure as the cloud-service provider and perform queries using HTTP requests. These requests will be performed in a thread so they won’t affect the real-time system. I’ll go through the different steps to take and explain why these steps are needed, furthermore I’ll include all used code and the side-notes concerning the use of Azure with PLCnext and HTTP requests in general. The tutorial is mainly focused on C++, IEC61131-3, JSON and SQL and will not include languages as C#, python or Java.

based on Node.js® Azure SDK

Contribution and the complete source code at

This is a work from our PLCnext team from the Phoenix Contact USA headquarters. Please reach out to us if you have any additional questions. Special thanks to the members of this project, Daniel Clark, Jake Kustan, Grant Vandebrake and Kaitlyn Maass.


How to log data from PLCnext to IXON Cloud

The data logging feature from IXON Cloud lets you log data securely from the PLCnext device to the IXON Cloud. It collects, prepares, transmits and stores data using a secure MQTT connecting automatically from the PLCnext device to the IXON Cloud platform. Just define the parameters you want to log and the interval when (log on interval, log on change, or log on trigger).

The gathered data can be used for further analysis and optimisation of your system or processes. Use it to send alarms (like when an emergency button is pressed or production line stops) or compose your data dashboards. These additional features are available in your IXON Cloud portal.

The following Makers Blog consists of the Stairwell Light functionality as stated in the VDI 3813 directive


This directive consists of descriptions, ways to do room automation in order to increase the energy efficiency of a building.

The following functionality is based on the Alarms Dispatcher in PLCnext Technology.
It enables you to send alarms to other applications running on your PLCnext Control, whether it be a C++, Simulink®, IEC 61131-3 or an embedded OPC UA Server application.
I will explain some easy examples to make you familiar with this technology.

For more information about this topic: PLCnext Technology Info Center - Service Components - OPC UA Server

This Makers blog shows a way to communicate Bacnet MSTP devices from Emalytics to the PLCnext platform.

As this is a serial protocol and the ILC 2050 BI has as first IO channel onboard 2x serial ports, the port 1 is used in this example (=COM1).

First of all Open the Emalytics workbench -> go to your station->config-> drivers and add from the Palette the BacnetNetwork by drag and drop.

Following on my previous blog "Datalogging in IEC 61131-3: The basic principle", I want to show you something extra.
To read and write data, you only need to implement some basic commands.

In this blog, we are going to create the following methods:

  • Create a file
  • Create a file and directly write a header line
  • Delete a file
  • Read a line
  • Write a line

Please note that some extra error handling is needed for real life applications.

If you are interested in the complete PLCnext Engineer project, just let me know. (This email address is being protected from spambots. You need JavaScript enabled to view it.)