PBCL_FileCsvRead_1 Example

G’day, Trying to get this function to work, reading a CSV located on the PLC at „/opt/plcnext/LegSteps“ Keep getting error 0xC110, 0x0005 [strDataTypes contains invalid types or is empty] I have strDataTypes defined as: STRING#‚REAL;REAL‘ See attached examples of the file… Anything I’m doing wrong here? Thanks

Hi Mornay, hard to say, a screenshot of your functionblock call may give a hint what is wrong (next to the version of the lib and the firmware). Please find in the screenshot an example I’ve made with the following csv, maybe this could already give you some help. 1;1.0;test1 2;2.0;test2 3;3.0;test3 4;4.0;test4 BR, Frank

File_Read_csv_Example.jpg