Onze merken

Impact-Company-Logo-English Black-01-177x54

Welkom op de website van Schneider Electric

Welkom op onze website.
		
Hoe kunnen wij u vandaag helpen?
Can we see how much CPU load is there on M241/M251/M262?

Issue
Is there a way to see how much CPU processor load there is on Modicon M241/M251/M262 by way of a function returning a value?
How do you program this in a POU in EcoStruxure Machine Expert / SoMachine?

Product Line
EcoStruxure Machine Expert, Modicon M241, M251, M262 PLCs

Environment
Programming Technique in EcoStruxure Machine Expert

Resolution
Yes, there is a way to return the CPU processor load using a Library called CmpSchedule.

In the Libraries->Add Library dialog, you will find it under Company->System under System->SysLibs:
add library

The function in the library that returns processor load is SchedGetProcessorLoad:
screenshot

An example of the program is as follows in Structured Text:

Declaration:
VAR
    pResult1       : RTS_IEC_RESULT;    //required pointer to the internal data location type (variable name is arbitrary)
    processorLoad  : UDINT;             //CPU load percentage
END_VAR


Code:
processorLoad := SchedGetProcessorLoad(pResult:=ADR(pResult1));


Note:

  • The value returned in "processorLoad" in his example is  is a percentage (in UDINT format).
  • It is recommended that processorLoad should remain lower than 70% (the lower the better). If this is not the case, then increase cycle times.

If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.

If you are not located in North America, please contact your local Customer Care Center for assistance:

Support | Schneider Electric Global (se.com)

Schneider Electric Belgium

Ontdek meer
Productfamilie
Ontdek meer
Productfamilie

Hulp nodig?

  • Selecteer zelf het juiste product

    Vind snel en eenvoudig de juiste producten en toebehoren voor uw toepassingen.

  • Offerte aanvragen

    Dien uw aanvraag online in en een expert zal contact met u opnemen.

  • Verkooppunten

    Vind eenvoudig de dichtstbijzijnde distributeur van Schneider Electric op uw locatie.

  • Help Center

    Vind de antwoorden die u nodig heeft via bladeren door veelgestelde vragen over onderwerpen.

  • Productdocumentatie
  • Software & firmware
  • Productselector
  • Productvervanging
  • Help- en Contact Center
  • Vind onze kantoren
  • Offerte aanvragen?
  • Verkooppunten
  • Werken bij
  • Bedrijfsprofiel
  • Wangedrag melden
  • Toegankelijkheid
  • Newsroom
  • Investeerders
  • EcoStruxure
  • Vacature zoeken
  • Blog
  • Als eerste op de hoogte nieuws?
  • Privacybeleid
  • Cookieverklaring
  • Gebruiksvoorwaarden
  • Algemene verkoop- en inkoopvoorwaarden
  • Change your cookie settings