CAA File error:

epinikion
2020-04-15
2020-04-16
  • epinikion

    epinikion - 2020-04-15

    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.

     
  • epinikion

    epinikion - 2020-04-16

    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:/"

     

Log in to post a comment.