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

Problem logging in without deleteing foriegn apps

sg
2016-05-02
2016-05-18
  • sg - 2016-05-02

    I have two apps running on a PLC. I want to redownload one of the applications without affecting the other running application. I use some thing like the following in teh script

    app = projects.primary.active_application
    online_app = online.create_online_application(app)
    online_app.login(OnlineChangeOption.Never, False)
    

    This should force download the code and not disturb the "foriegn app"
    When ever I try this I get a Login Failed error.

    Where as when I try

    online_app.login(OnlineChangeOption.Never, False)
    

    This works and it goes ahead and deletes the other application.

    Any help is appreciated

     
  • Anonymous - 2016-05-13

    Originally created by: M.Schaber

    Hi,

    As it's some time without a reply: has your problem been solved in the meantime?

    Regards,
    Markus

     
  • sg - 2016-05-18

    No the problem described above is still there.

    I have split my script into two scripts, where the user runs the first script then manually logs in properly and then runs the second script. But this is a clunky way to do it.

     

Log in to post a comment.