Fast logging - CODESYS library
Description
A library that simplifies fast logging down to 1ms.
Target device: X2 / BoX2 control series, with embedded CODESYS runtime.
Update information
This library simplifies the solution to achieve 1ms logging.
Up to 10 REALs can be logged at a rate as low as 1ms. The library creates a CSV file that can be written to USB, SD or internally (to the FTP area of the X2/BoX2 Control).
The filename is dynamic, based on a FB input and the time and date.
The file will grow indefinitely, but Excel imposes a limit of 2^20 rows, which is about 17 minutes at 1ms. Other text editors (Notepad++ possibly) may allow more.
The library file (*.compiled-library) can be installed to the CODESYS software on your PC and the FB be accessed as any block, please follow guidelines and description.
Version history
• Package V1.0.7 improved device ID identification and updated QS guide (2022-05-10)
Note! The latest version replaces previous packages.
• Package V1.0.6 containing an updated quick start guide (2021-06-11)
• Package V1.0.5 is the first released version (2020-11-18)
Developed and supported for:
• BCS Tools 3.34 or CODESYS 3.5 SP13 patch 3
• X2 Control and BoX2 Control (BoX2 Pro SC)
Note! Recommendation to use SD card instead of the built-in flash memory when extensive data logging is performed. Read more about the X2 and iX Developer 2.40 - Flash memory best practice:
click here
"...iX Developer 2.40 SP5 introduces the capability to use external SD card on X2 devices with SD card support. An SD card is easy to replace compared to a built-in memory. Beijer Electronics AB recommends you to use SD card instead of the built-in flash memory when extensive data logging is performed. Scripting towards the database can cause an increase inwrite and affect the general sustainability and performance of the database..."
Package file:
• SER0002_V1.0.7_package.zip
The zip file contains a library file and a quick start guide:
• SER0002_V1.0.7_FastLogging.compiled-library (CODESYS library)
• SER0002_QS_FastLogging_V1.0.7-EN.pdf
Free for
United Essential level and above.
Read more about the UNITED partner program:
click here
Note! If you previously downloaded the package file from SmartStore, find the download link in submenu My account > My apps, when logged in!
Related documents
SER0002_QS_FastLogging_V1.0.7-EN.pdf