Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

External File

nmm
2017-08-03
2017-08-04
  • nmm - 2017-08-03

    Can anyone please explain the purpose of external file in CoDeSys3.
    Can we use this file to pass parameters to the project for configration.

     
  • eschwellinger

    eschwellinger - 2017-08-04

    Hi,
    For examle you could download pdf files to the plc and show them in the visualisation or if it is a pc based control
    Show them on your target.
    Sure maybe if you download inifiles you could read them for examle by inifile reader ..
    BR
    Edwin

     
  • nmm - 2017-08-04

    Edwin Schwellinger hat geschrieben:
    Hi,
    For examle you could download pdf files to the plc and show them in the visualisation or if it is a pc based control
    Show them on your target.
    Sure maybe if you download inifiles you could read them for examle by inifile reader ..
    BR
    Edwin

    Hi Edwin,

    Thanks for your reply.
    I am trying to download a csv file with some values and trying to read them in CoDeSys using SysFileRead but can't read the file.

    1. First issue is that I am not sure if the file is really downloaded onto the PLC as there is no indication
    2. Second issue is if it is downloaded what's the location/path of file?
     
  • eschwellinger

    eschwellinger - 2017-08-04

    Hi,
    which plc are you using (it depends on the runtime version too)

    You could check with the CODESYS file browser,
    the file will be downloaded runtime Directory /Plclogic/Application

    BR
    Edwin

    IMG: externalfile.jpg

     

Log in to post a comment.