The DataLogger is a service component of the PLCnext Technology firmware that provides real time data logging for Global Data Space (GDS) ports.
Each data set is first stored in a Ramdisk and then stored in a database on the file-system of the PLCnext Control at a user configurable interval.
The datalogger service starts and stops synchronously with the firmware.
Implementation in PLCnext Technology Firmware 2019.9.
Please note that the application developed in this series of articles uses:
PLCnext Engineer Project
, for declaration and status change of logged port-variables.WinSCP
, for copying and editing of datalogger configuration file.- A PLC with IP address 192.168.1.10, but any valid IP address can be used.
In the following series of technical articles, you will configure and implement your own datalogger application for PLCnext Control. Each article builds on tasks that were completed in earlier articles, so it is recommended to follow the series in sequence.
Next to this getting started we have prepared a series of introductory videos in our Phoenix Contact Technical Support Channel on Youtube.
# | Topic | Objectives |
---|---|---|
01 | PLCnext Engineer Project | Create a simple PLCnext Engineer Project, and run it on a PLCnext Control. |
02 | DataLogger Configuration | Configure Datalogger, and log the port variables. |
03 | OPC UA Historical Access | Make data in the datalogger application available through an OPC UA server. |
04 | Using RSC Services for getting DataLogger configuration | Implement "IDataLogger" RSC service and read the datalogger configuration back from the service. |
05 | Using RSC Services for access to logged Data | Use the "IDataLogger" RSC service to read in the logged data from a data sink. |
06 | Transmission of logged Data via PROFINET | Transmit the logged data via PROFINET to another PN-Device. |
Explore unlimited possibilities ... | Get ideas for other interesting features you can implement in your own PLCnext datalogger application. |
You can get support or provide suggestion and ideas in the forum of the PLCnext Community.
Copyright (c) Phoenix Contact Gmbh & Co KG. All rights reserved.
Licensed under the MIT License.