i am using Runtime CODESYS Control Win V3 - X64 Version 3.5.20.40, by using CAA file library (3.5.19.0) seems not fasible to open a file n 'C:\ciao.txt' or others absolute path.
The error on File Open is 5114 File Operation Danied..
here below the implemented code and the windows file's properties.
I use to implement codesys in RPI and this operation is immediate...
in this post https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/?limit=25#d531
i find :
keep in mind that all files which are generated / or read should be exist in the iecfilepath
this means:
for Windows (Control Win as example)
c:\ProgramData\CODESYS\CODESYSControlWinV3x64\268E8ADF\PlcLogic
for Linux
/var/opt/codesys/PlcLogic
I never use codesys on windows but im sure on linux we can manipulate file only inside /var/opt/codesys/Plc Logic.
Or you need to modify the file codesyscontrol.cfg for change path permission, but this is another history
Buone feste !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear All,
i am using Runtime CODESYS Control Win V3 - X64 Version 3.5.20.40, by using CAA file library (3.5.19.0) seems not fasible to open a file n 'C:\ciao.txt' or others absolute path.
The error on File Open is 5114 File Operation Danied..
here below the implemented code and the windows file's properties.
I use to implement codesys in RPI and this operation is immediate...
Can someone help me in it??
Thanks in advance
Dagi89
Ciao, here same question
https://forge.codesys.com/forge/talk/Engineering/thread/2538729618/
in this post
https://forge.codesys.com/forge/talk/Engineering/thread/4586a90290/?limit=25#d531
i find :
keep in mind that all files which are generated / or read should be exist in the iecfilepath
this means:
for Windows (Control Win as example)
c:\ProgramData\CODESYS\CODESYSControlWinV3x64\268E8ADF\PlcLogic
for Linux
/var/opt/codesys/PlcLogic
I never use codesys on windows but im sure on linux we can manipulate file only inside /var/opt/codesys/Plc Logic.
Or you need to modify the file codesyscontrol.cfg for change path permission, but this is another history
Buone feste !