beautypg.com

Customizing the code in the function block – Yaskawa MotionWorks IEC Toolboxes User Manual

Page 229

background image

File_RW Toolbox: Function Blocks

MotionWorks IEC61131-3 Toolboxes: 2013-09-13

216

Customizing the code in the function block

5) To customize the function block, go to the variables grid and rename the datatype used as the VAR_IN_OUT
to the datatype you customized in step 2 above (Use the name as modified from ST code line 23 above).

6) Locate the comments near the middle of the Read_CSV_File function indicating the area to be customized.
Modify the lines that convert the STRING data from the file into the MyDataStruct structure.