CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Sun Oct 22, 2017 9:52 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Task execution problem
PostPosted: Thu Oct 08, 2009 7:29 am 
Offline

Joined: Tue Nov 11, 2008 10:47 pm
Posts: 15
Hello,
i have this critical problem with an automatic machine controlled by Codesys SP RTE for winXp.
my application have 5 task, the application goes correctly in "running" state, but after a random time the automatic machine is freezed, in the configuration task the task are all in RUN but the counter cycle of every task is stop and all tasks should be stop...at this point the only solution is to restart the pc :cry:

Why the tasks don't run?
Other best solution??

Best Regards
Stefano


Top
   
 Post subject:
PostPosted: Fri Oct 09, 2009 11:02 am 
Offline
User avatar

Joined: Mon Apr 14, 2008 10:18 am
Posts: 22
Hello,
please post your application

_________________
Good Better CoDeSys
Boris Schuster


Top
   
 Post subject:
PostPosted: Sat Oct 10, 2009 5:06 pm 
Offline
Frequent User
Frequent User

Joined: Mon Jul 25, 2005 8:06 pm
Posts: 295
Also check your cycle times. Are you doing any long processing tasks? Maybe the watchdog timer is tripping? Put a counter in each task and see if they are all being executed. Try disabling the application one task at a time and determine if there is something in one of the tasks that is causing an error. Try to isolate it.

_________________
Thanks,
Steve Pfeifenroth


Top
   
PostPosted: Tue Oct 05, 2010 9:51 am 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 978
put the tasktime slower of a task not needed badly.
check for overflow in a counter
look for exits in a program, better is return. (they will leave the stack)

_________________
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 1 guest


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