I've tried to run the example which comes with the CAA File Access library. At first I ran it on simulation mode which gave me the error ASM_CREATEJOB_FAILED, but after testing it on a PLC is gone, so I assume it had to do with the simulation.
The thing now is, when I try to write on a file somewhere on my C:\ drive I get the error FILE_OPERATION_DENIED (5114 No access due to ForceFilePath/ForceIecFilePath), which sounds like a permission problem (I'm using my work-laptop).
I talked with IT at my company but they meant it should't be a problem writting on C:\, so I'm not sure anymore. When I don't use an absolute path, like for instance just 'test.txt' it "seems" to work fine: I get my header file, no errors etc. But the file is nowhere to be found, which is to expect with such a path. If I use my phone as path seems to work too, but it doesn't appear anywhere either.
Anyone got experience with this specific error? I've checked the forums for this library but from this specific error I found nothing.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oh I figured it out. After all the examples and posts I saw using mostly the path C:/ I assumed it saved data directly on the PC, but it's obviously done locally on the PLC. Mine uses Linux that explains why it got the error only when I used "C:/"
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello everyone,
I've tried to run the example which comes with the CAA File Access library. At first I ran it on simulation mode which gave me the error ASM_CREATEJOB_FAILED, but after testing it on a PLC is gone, so I assume it had to do with the simulation.
The thing now is, when I try to write on a file somewhere on my C:\ drive I get the error FILE_OPERATION_DENIED (5114 No access due to ForceFilePath/ForceIecFilePath), which sounds like a permission problem (I'm using my work-laptop).
I talked with IT at my company but they meant it should't be a problem writting on C:\, so I'm not sure anymore. When I don't use an absolute path, like for instance just 'test.txt' it "seems" to work fine: I get my header file, no errors etc. But the file is nowhere to be found, which is to expect with such a path. If I use my phone as path seems to work too, but it doesn't appear anywhere either.
Anyone got experience with this specific error? I've checked the forums for this library but from this specific error I found nothing.
Oh I figured it out. After all the examples and posts I saw using mostly the path C:/ I assumed it saved data directly on the PC, but it's obviously done locally on the PLC. Mine uses Linux that explains why it got the error only when I used "C:/"