-

Y_FileRW_Toolbox FB

Function block Description
Y_RW_Read_CSV_File

This function block will read CSV (ASCII) data from a file on the controller's 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.
Y_RW_Write_CSV_File

This function block will format and write a CSV (ASCII) file to the controllers flash or ram disk. The original data is a user specified structure. This function block requires customization to accommodate application specific data requirements. Any variety of rows and columns and datatypes can be customized.
Y_RW_FileExists
This function blocks checks to see if the specified file exists on the controller. If there is a file of the said name but without any data, it will get removed from the controller.
Y_RW_CreateFilePath
The CreateFilePath function block concatenates path, file and extension strings to create a file path that can be used in other file management function blocks.
Y_RW_DataLogRecord
The DataLogRecord function block is used to log data on a maximum of 6 different channels.
Y_RW_DataLogCompare The DataLogCompare function block opens the reference and comparison files, loads the data into appropriate structures and compares the data. the comparison is performed line by line and differences are reported in the ConpareStruct structure.
Y_RW_DataLogWrite
The DataLogWrite function block opens a csv file, writes header information and recorded data, and finally closes the file.

 


This help information is valid for iCube Engineer Online Help 2025.6

Copyright © 2025 YASKAWA EUROPE GmbH and © 2025 YASKAWA America, Inc.