CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

Problem logging in without deleteing foriegn apps
https://forum.codesys.com/viewtopic.php?f=18&t=6891
Page 1 of 1

Author:  Shabroz.Gill [ Mon May 02, 2016 11:51 am ]
Post subject:  Problem logging in without deleteing foriegn apps

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

Code:
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
Code:
online_app.login(OnlineChangeOption.Never, False)

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

Any help is appreciated

Author:  M.Schaber [ Fri May 13, 2016 1:39 pm ]
Post subject:  Re: Problem logging in without deleteing foriegn apps

Hi,

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

Regards,
Markus

Author:  Shabroz.Gill [ Wed May 18, 2016 12:22 pm ]
Post subject:  Re: Problem logging in without deleteing foriegn apps

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.

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/