beardybloke - 2011-06-29

I am trying to save data into a CSV file and I've been given some example code which I have turned in FBD I think it is working. to simplify it a little I swopped to a txt file...

if I use this "a:\plc.txt'" as my file path, I get no errorrs and my filesize increases
if I use this "c:\plc.txt'" as my file path, I get errors from the sysfilewrite and my filesize does not increase

Ideally I'm trying to write data to the hardrive of a PC from a 750-841 via the web visulisation window.

I'm sure I'm on the right track but my file path is wrong.

Anythoughts. I think I have reveiwed all sample code published but any more would be useful to look at.

attached is present code

FILE.pro [61.3 KiB]