CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Thu Jul 19, 2018 3:15 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Dec 12, 2017 10:32 pm 
Offline
User avatar

Joined: Wed Mar 09, 2016 1:20 pm
Posts: 8
Is there in Codesys something like in Simatic "cpu stacks"? a log that show the cause of CPU stop (like infinite loop, negative square root,...)
I had infinite loop caused by a function in a library, but call stack was empty and not warning message appear..(I'm using WAGO PFC 750-8202)


Top
   
PostPosted: Fri Dec 15, 2017 2:12 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2761
Hi,
which CODESYS Version?
You are posting in the V2.3 section is it really CODESYS V2.3

BR
Edwin


Top
   
PostPosted: Tue Dec 19, 2017 3:28 pm 
Offline
User avatar

Joined: Wed Mar 09, 2016 1:20 pm
Posts: 8
yes, 2.3.9.53


Top
   
PostPosted: Fri Dec 22, 2017 10:07 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2761
Hi,
Quote:
I'm using WAGO PFC 750-8202

Quote:
like infinite loop, negative square root


hm.. in CODESYS V2.3 there is only the watchdog (on the task) which you could activate to prevent endless loop detection
sure you could add the implicit check functions to check for 'Division by zero' or check bounds etc... check the help for this.

Sure in CODESYS V3 or eCOCKPIT there are additional mechanism , plcload supervision (for the whole plc not only for one Task a watchdog)
impilcit check functions etc

Anyway I would recommend to use CODESYS V3 no matter if you use CODESYS V3 or eCockbit.
There are so many Features available - which are from my Point of view mandatory to have - plc logger - html5 webvisu and many more
- all Ethernet based fieldbus / ethercat ..

BR
Edwin


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