CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Dec 10, 2019 6:04 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon May 02, 2016 11:51 am 
Offline

Joined: Wed Jun 18, 2014 4:55 pm
Posts: 33
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


Top
   
PostPosted: Fri May 13, 2016 1:39 pm 
Offline
Frequent User
Frequent User
User avatar

Joined: Fri Mar 18, 2011 4:12 pm
Posts: 266
Hi,

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

Regards,
Markus

_________________
Check out the CODESYS store: http://store.codesys.com/

CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions


Top
   
PostPosted: Wed May 18, 2016 12:22 pm 
Offline

Joined: Wed Jun 18, 2014 4:55 pm
Posts: 33
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited