CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Thu Jul 27, 2017 1:33 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Mar 28, 2017 3:36 pm 
Offline
User avatar

Joined: Wed Jul 13, 2016 8:32 am
Posts: 7
Location: Nijmegen, NL
Are there any flags or events for retrieving the running state of the PLC? Like "Shutting down" and "running"?

Leo


Top
   
PostPosted: Wed Mar 29, 2017 6:23 pm 
Offline

Joined: Tue Dec 03, 2013 11:52 pm
Posts: 33
Depending on the PLC you are using if you double click "Task Configuration" then select "System Events" you can find events like you are talking about. You can then use those events to call a POU to perform a certain task. A better description can be found in the help under "System Events".

If there is a way to find these events outside of the task configuration I would also like to know as a group of PLCs we use doesn't offer any system events under the task configuration.


Top
   
PostPosted: Fri Apr 07, 2017 11:35 am 
Offline
Frequent User
Frequent User
User avatar

Joined: Tue Jun 06, 2006 9:03 am
Posts: 401
If you open the Task Configuration (double click), you can go to the Tab "System Events". Here you can add function calls in case a specific system event occurs.

Besides this, the Application Manager example project in the store can be usefull to retrieve general Application info.


Top
   
PostPosted: Fri Apr 14, 2017 9:02 am 
Offline
User avatar

Joined: Wed Jul 13, 2016 8:32 am
Posts: 7
Location: Nijmegen, NL
Thanks, this helped
:D


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