Home > CODESYS >

CODESYS CSV Utility - Article no. 2111000006
CODESYS CSV Utility - Article no. 2111000006


 

Request for Quantity & Price

Price : $50.00


Availability: 1 Week
Order #: 2111000006
Qty:

Description Ordering Information Specifications and Drawings
 

CODESYS CSV Utility - Article no. 2111000006

CSV Utility The library CSV Utility enables the reading and writing of CSV files with a CODESYS control. The library “CSV Utility” is now part of the product IIoT Libraries SL and is no longer available as single product.

Product description

The library CSV Utility provides function blocks to read and write CSV files. The library contains the components CSVReader (read a CSV file) and CSVWriter (write a CSV file). All function blocks can be used in a classical or object oriented way. An example project demonstrates the usage of all components.

Read a CSV file

The folder CSVReader contains the components to read CSV files. The initialization is done by the function block CSVReaderInit. The values of a CSV file can be read by element, by line or in one action. The functions blocks NextLine, NextElement and ReadAll are used to read the values of a CSV file. The usage of these components is demonstrated in the example project CSVUtilityExamples.project in the application CSVReaderExample. The maximum length of an element must be greater or equal than the maximum length of a column.

Write a CSV file

The folder CSVWriter contains the components to write CSV files. Data is saved in three steps. Within the first step the library will be initialized and the path and the file name will be defined. Within the next step the data will be stored in a buffer. During the last step the content of the buffer will be written into a CSV file.

Classical programming

The function blocks for the classical programming can be found in the directory FunctionBlocks. For each function block an additional visualization object will be created, which can be used in other projects. An example can be found in the project CSVUtilityExamples.project in the application CSVWriterCFCExample.

Object-oriented programming

The function blocks and interfaces for the object oriented programming are stored in the directory Objects. An example can be found in the project CSVUtilityExamples.project in the application CSVWriterSTExample.

Function blocks in the directory

FunctionBlocks The function blocks in this directory are designed for an asynchronous handling and are derived from the function block CBM.ETrigA.

Support Links
  • CODESYS CSV Utility - Article no. 2111000006

Share your knowledge of this product. Be the first to write a review »