beautypg.com

File read write toolbox, File_rw toolbox – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 218

background image

File_RW Toolbox

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

205

File Read Write Toolbox

File_RW Toolbox

The File Read / Write Template is different than the other toolboxes because some of the main functions must
be customized for use in every application.

The four main functions in this library are:

Write_Binary_File

Write_CSV_File

Read_Binary_File

Write_CSV_File

To use any of these functions, they must be copied and pasted into your main project as a function block with a
different (but similar) name. To do this, copy and paste the structured text and the variable definitions grid
from the toolbox version. These four main functions refer to other sub functions in the File Read Write toolbox,
which do not require customization and can remain in the File Read Write Toolbox. There is no need to move
the following function blocks:

Read_Buffer

Read_Line

Read_Value

More detailed customization information and examples are provided for the help for each of the functions blocks
mentioned above.

See Yaskawa's Youtube Webinar -

CSV File Transfer with the File_RW Template

.