CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Tue Oct 17, 2017 2:48 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Auto re-login
PostPosted: Wed Jun 29, 2016 10:22 am 
Offline

Joined: Sun Oct 26, 2014 11:20 am
Posts: 28
I have an application inCodesys that automatically start with windows and also do a login to the PLC, it works nicely.
But now and then my network is unstable (or overloaded) and the application lose connection to the PLC, so I wounder if there is a way to make the application trying to re-login to the PLC if connection is lost?


Top
   
 Post subject: Re: Auto re-login
PostPosted: Thu Jun 30, 2016 6:54 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 978
what is the PC running is it also codesys running or only a visualisation coming from the PLC.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


Top
   
 Post subject: Re: Auto re-login
PostPosted: Thu Jun 30, 2016 7:39 pm 
Offline

Joined: Sun Oct 26, 2014 11:20 am
Posts: 28
shooter wrote:
what is the PC running is it also codesys running or only a visualisation coming from the PLC.
The PC is only running codesys, the start of codesys go like this:
Code:
"C:\Programmer\3S Software\CoDeSys V2.3\Codesys.exe" "C:\PLCprogram\MyPLCprogram.pro" /online /run /noinfo


Top
   
 Post subject: Re: Auto re-login
PostPosted: Mon Jul 04, 2016 10:03 am 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 978
the simplest way is to use a watchdog in the PLC, and switch off the PC when it happens, if only comms fail you can reboot the system with software boot program.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 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