[Changeg request] Features that would be nice to have in future releases

alrcastro
2020-04-07
2020-04-08
  • alrcastro

    alrcastro - 2020-04-07

    ThatΒ΄s my 2 cents, I guess not too complicated:

    1 ) Add the following folders to Windows Environment Variables:

         c:\Program Files\CODESYS 3.5.15.30 \     ( just to illustrate )
    

    Reason: I have a script which restarts the service ...\GatewayPLC\CodesysControlService.exe in (though rare) system crash events, but at this time 1 ) Add the following folders to Windows Environment Variables:

         c:\ProgramData\CODESYS\CODESYSControlWinV3x64\ 1AB2CD3E \    ( just to illustrate )
    

    Reason: I need to make a script that will upgrade many Controlleres at the same time, so with an environment variable, I could do the job with no need to create any additional step to seek the name of the above folder.

     

    Last edit: alrcastro 2020-04-07
  • eschwellinger

    eschwellinger - 2020-04-07

    hm... but this is a typcial task for the CODESYS Automation server... this would be done in seconds on x controller
    Just want to motivate to try out this option.

     
  • alrcastro

    alrcastro - 2020-04-07
    • this is a typcial task for the CODESYS Automation server

    Ok, it could solve the issue for while, but it will not remain free. Since is is expected a big amount of deploys during the end 2020 and start of 2021, I just wanted to deal with the affordable solution.

    I'm sure it is quite easy to implement on the development team side.
    Please consider forwarding this request.

     

    Last edit: alrcastro 2020-04-07
  • m.prestel - 2020-04-07

    @alrcastro
    If that would be a product feature, someone would have to solve the problem of multiple runtimes being installed.
    And what should happen if the runtime is running with different configuration files resulting in different ProgramData paths.
    Currently the feature request sounds really specific for your use case.

     
    πŸ‘
    1
  • alrcastro

    alrcastro - 2020-04-07

    Regarding the PATH request in the environment variable for each installed runtime, I absolutely cannot understand the issue of implementing this, since the installation is made by a standard installer application, which when generating the directory could create an entry for each one.

     
  • m.prestel - 2020-04-08

    Adding the runtime installation folder to the PATH would not help you with multiple installations.
    Then always the first installed runtime would win and for everyone it would not be clear which runtime is currently used.

     
    πŸ‘
    1
  • eschwellinger

    eschwellinger - 2020-04-08

    Anyway you might use this to get the information where the plc has his working directory:
    The section [Sysfile] in CODESYSControl.cfg

    C:\Program Files (x86)\CODESYS 3.5.15.40\GatewayPLC\CODESYSControl.cfg

    [SysFile]
    Windows.WorkingDirectory=C:\ProgramData\CODESYS\CODESYSControl\175939B4\

     
  • alrcastro

    alrcastro - 2020-04-08

    Forget about creating a PATH enviroment variable, something that is available in many other programs, not Codesys. To be honest, I give up on this request.

     
    πŸ‘
    1

    Last edit: alrcastro 2020-04-09

Log in to post a comment.