CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Sep 17, 2019 11:30 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Fri Oct 17, 2014 4:43 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3450
Hi,
is it possible to use/access the current plcload from iec code?

yes, that way:

declare
Result : RTS_IEC_RESULT;
udiProzessorLoad: UDINT;


Result:=SchedGetProcessorLoad(udiProzessorLoad);
you need to add CmpSchedule.library and SysTypes2 Interfaces in LibraryManager.
by the way what is an easy way to find and add the libraries and fb's:
Enter the library name or fb name in the fulltext search on add library, if you the select the fb the library will be added by placeholder to
the librarymanager.

BR
Edwin


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


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

All times are UTC+01:00


Who is online

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