Function blocks, Read_csv_file, Parameters – Yaskawa MotionWorks IEC Toolboxes User Manual
Page 224

File_RW Toolbox: Function Blocks
MotionWorks IEC61131-3 Toolboxes: 2013-09-13
211
Function Blocks
Read_CSV_File
This function block will read CSV (ASCII) data from a file on the controllers flash or ram disk. The raw file data
will be parsed and copied into a user defined data structure. This function block requires customization to
accommodate application specific data requirements. Any variety of rows and columns and datatypes can be
specified.
Parameters
*
Parameter
Data Type
Description
VAR_IN_OUT
V
Data
MyDataStruct
A user customized data structure containing the definition of
the rows and columns of data to be processed.
VAR_INPUT
Default
V
Execute
BOOL
Upon the rising edge, all other function
block inputs are read and the function is
initiated. To modify an input, change the
value and re-trigger the execute input.
FALSE
V
FileName
STRING
The file to be read. Example
STRING#''