PLC 8212 (FW.26) Codesys 19.2
When adding FB FbDatalogger, I cannot select the path to the flash drive (sDirEntry : STRING(80):=‘/home/codesys’
I see the flash drive through the web interface, I formatted it in FAT format (Size 4 GB)
If I start writing a file along this path, I get an error: “Status of the last log: File Access Error”
I read that you need to change the file /etc/codesys3.d/RtsCore.cfg
But I didn’t understand what exactly to change. I am attaching a screenshot.
I added directories to the file /etc/codesys3.d/RtsCore.cfg and writing to these directories works.
But it doesn’t want to write to the root /media/sd.
Hi, you simply have to create the CSV_Files folder under /media/sd yourself, as it does not happen automatically due to a bug
I understood, although when I added the path to the file I didn’t need to create it. Everything was created that way. Maybe it’s easier to immediately register the path /media/sd/CSV_Files so that the controller creates it itself?
Hello Thomas, I have the same problem like you, I am using PFC200, first I was using ecockpit I didn’t have a problem with creating csv files in the sd card, when I made a migration to codesys , the csv files stopped creating, or let say the path stop existing, do you have a solution for that ? I am using the library wagoappdir
Describe in more detail, it will be useful for everyone. Are you using the FB FbDatalogger library? What save format do you use?
I am using the library WagoAppFielDir, the FB Open_mod, WriteString_mod, Close_mod, Before It works on ecockpit, when I did the migration from FW22 to 26 to pass to codesys it doesn’t work , it doesn’t create the path
Can you post your project or code here? I’ll try it myself. Perhaps I can tell you how to solve your problem.
Hello Tomas, I have solved the problem, it was related the FW26, the library WagoAppFileDir, doesn’t work properly in FW26, the problem was solved in the FW27 , Thank you