Hi,
I am having some problem with writing a CSV file to the connect + using CodeSys.
Currently I am using the function block CSV.Init, and the FB shows either xerror "19" or "Cannot_get_file_size".
Does anyone have any idea to what the problem could be?
The following is set up to the FB CSV.init
xExecute: "TRUE";
sDirectorypath: "/root/"
sFileName: "JustTesting.csv"
sColumSeparator: ";"
rCSVWriter: "gCSVWriter" -> where gCSVWriter is set as CSV.CSVWriter; in the program var.
Also tried with many other paths, but got the same error.
Do anyone have a suggestion for a path that should work, or other alternatives for what it could be?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am having some problem with writing a CSV file to the connect + using CodeSys.
Currently I am using the function block CSV.Init, and the FB shows either xerror "19" or "Cannot_get_file_size".
Does anyone have any idea to what the problem could be?
The following is set up to the FB CSV.init
xExecute: "TRUE";
sDirectorypath: "/root/"
sFileName: "JustTesting.csv"
sColumSeparator: ";"
rCSVWriter: "gCSVWriter" -> where gCSVWriter is set as CSV.CSVWriter; in the program var.
Also tried with many other paths, but got the same error.
Do anyone have a suggestion for a path that should work, or other alternatives for what it could be?