I want read CSV data in twincat3. I used simple example of beckhoff to solve this.
there are some strenge line in global var such these:
{attribute 'Tc2GvlVarNames'}
VAR_GLOBAL CONSTANT
MAX_CSV_ROWS: UDINT := 6400;
MAX_CSV_COLUMNS: UDINT := 0;
MAX_CSV_FIELD_LENGTH : UDINT := 100;
END_VAR
there is another sentence on the code:
database: ARRAY[0..MAX_CSV_ROWS, 0..MAX_CSV_COLUMNS ] OF STRING(MAX_CSV_FIELD_LENGTH);
so what kind of database type is?
I used UDINT and STRING to solve but there is no effect at all. what should I do?
there are some strenge line in global var such these:
{attribute 'Tc2GvlVarNames'}
VAR_GLOBAL CONSTANT
MAX_CSV_ROWS: UDINT := 6400;
MAX_CSV_COLUMNS: UDINT := 0;
MAX_CSV_FIELD_LENGTH : UDINT := 100;
END_VAR
there is another sentence on the code:
database: ARRAY[0..MAX_CSV_ROWS, 0..MAX_CSV_COLUMNS ] OF STRING(MAX_CSV_FIELD_LENGTH);
so what kind of database type is?
I used UDINT and STRING to solve but there is no effect at all. what should I do?