איך נוכל לעזור לך היום?

Can we see how much CPU load is there on M241/M251/M262?

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.

שניידר אלקטריק ישראל

גלה עוד
טווח:
גלה עוד
טווח:
  • תיעוד מוצרים
  • בורר המוצר
  • מוצרים חלופיים והחלפה
  • מרכז עזרה ויצירת קשר
  • איתור סניפי שניידר אלקטריק
  • היכן לקנות
  • הקהילה של Schneider Electric
  • משרות
  • פרופיל חברה
  • דיווח על התנהגות בלתי הולמת
  • נגישות
  • חדר חדשות
  • משקיעים
  • EcoStruxure
  • חיפוש משימה
  • בלוג
  • מדיניות שמירה על פרטיות
  • הודעה על קובצי Cookie
  • תנאי שימוש
  • Change your cookie settings