CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Thu Jun 21, 2018 3:00 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Oct 08, 2015 12:34 pm 
Offline

Joined: Mon Jun 30, 2014 9:35 am
Posts: 56
We're running Codesys on it's own core in a multi-core CPU.
We would like to present the Codesys CPU load in a HMI application running on another core.
Which Codesys library/function can be used for getting the CPU load percentage?

I messed around and tried some different functions but never got it to work, hopefully you can provide me with the right answer.

Regards
Kim Hansen
Beijer Electronics Automation


Top
   
PostPosted: Thu Oct 08, 2015 8:02 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2713
Hi Kim,

udiProzessorLoad:=SchedGetProcessorLoad(Result);

BR
Edwin


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Thu Mar 01, 2018 12:13 am 
Offline

Joined: Fri Dec 20, 2013 8:40 pm
Posts: 11
Edwin Schwellinger wrote:
Hi Kim,

udiProzessorLoad:=SchedGetProcessorLoad(Result);

BR
Edwin

Been searching a lot for this one. Thanks for the info.


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 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