PLCnext on Instagram  PLCnext on YouTube Github PLCnext CommunityStore PLCnext Community

 

 How to create a Blog Entry

How to access the PLCnext web server (HTTP) remotely using IXON Cloud

IXON developed Cloud Access so you can easily access your machine's HTTP(S) server without requiring a VPN connection. This enables you to access your machine's servers on any mobile and desktop device with an internet connection.

Access and control the PLCnext webserver directly and securely from your browser. No additional software needed. Because it runs via IXON's worldwide VPN network, a speedy and seamless connection is guaranteed.

Written by: Damian Bombeeck
Date: 10 januari 2020


Summary

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  https://github.com/azure/azure-sdk-for-js

Contribution and the complete source code at https://github.com/plcnextusa/PLCnext_AWS_AZURE

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 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

Page 1 of 9