How to upload application file to remote controller (offline) ?

Runtime
alrcastro
2020-04-06
2020-04-07
  • alrcastro

    alrcastro - 2020-04-06

    I had some problems to connect the IDE to a remote controller, and something came to mind: How to do this task offline, by sending some file to someone who can paste it to the appropriate place ?

    Soon or later, I will need to pereform a lot update, sending the same executable file to several controllers, spread along distinct locations having particular network issues.

    More exactly, I need to know what is the folder/file which I have to copy, and where should I paste it ?

    HW:
    x64
    OS:
    Windows 10

     

    Last edit: alrcastro 2020-04-06
  • eschwellinger

    eschwellinger - 2020-04-07

    Hi,
    nowadays I would use CODESYS Automation Server to do this task. Due Corona crisis the decision was made make it for free available for 2020.
    Even if you just enable the EdgeGateway for the update/deploy process.
    Just give it a try.

    If you want to update it by hand you need to copy the generated files to
    c:\ProgramData\CODESYS\CODESYSControlWinV3x64\2DAFFB2B\PlcLogic
    additional it is needed to point to your application in configuration file in (applicatin section)
    c:\ProgramData\CODESYS\CODESYSControlWinV3x64\2DAFFB2B\CODESYSControl.cfg

    [CmpApp]
    ..
    ..
    Application.1=Application
    ..
    Application is the name of the application in the device tree

    But as I said, give the Automation Server a try this is exactly to use case to use it ( beside others ....)

    BR
    Edwin

     
    ๐Ÿ‘
    1

    Last edit: eschwellinger 2020-04-07
  • eschwellinger

    eschwellinger - 2020-04-07

    Hi,
    for the bootproject yes, but if your application contain visu / composer/ cnc / receipe whatever and other features you should copy the whole PlcLogic directory!

    BR
    Edwin

     
    ๐Ÿ‘
    1

    Last edit: eschwellinger 2020-04-07
  • Ingo

    Ingo - 2020-04-06

    This video was made for Linux, but the process is the same for windows:

    https://youtu.be/ylKzuGzoEes

     
  • alrcastro

    alrcastro - 2020-04-07

    Hi Edwin,

    Many thanks, this is what I was looking for.
    I would only remark that you missed the subdirectory Application, the actual folder is rather:

    c:\ProgramData\CODESYS\CODESYSControlWinV3x64\<Some Number>\PlcLogic\Application
    

    Regards,

     

Log in to post a comment.