Fast logging - CODESYS library
A library that simplifies fast logging down to 1ms.
Target device: X2 / BoX2 control series, with embedded CODESYS runtime.
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.
• 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)
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..."
The zip file contains a library file and a quick start guide:
• SER0002_V1.0.7_FastLogging.compiled-library (CODESYS library)
Free for United Essential
level and above.
Read more about the UNITED partner program: click here
If you previously downloaded the package file from SmartStore, find the download link in submenu My account > My apps, when logged in!