Yes, it is possible to get current running processor load for EcoStruxure Machine Expert range controllers.
Follow below steps with EcoStruxure Machine Expert project.
1.
Insert library "CmpSchedule"
2.
Insert in a new or existing POU:
VAR
pResult1 : RTS_IEC_RESULT;
processorLoad : UDINT;
END_VAR
3.
Add coding in ST as below.
processorLoad := SchedGetProcessorLoad(pResult := ADR(pResult1));
"processorLoad" variable returns processor load ( CPU load) in % for all running IEC tasks.
Follow below steps with EcoStruxure Machine Expert project.
1.
Insert library "CmpSchedule"
2.
Insert in a new or existing POU:
VAR
pResult1 : RTS_IEC_RESULT;
processorLoad : UDINT;
END_VAR
3.
Add coding in ST as below.
processorLoad := SchedGetProcessorLoad(pResult := ADR(pResult1));
"processorLoad" variable returns processor load ( CPU load) in % for all running IEC tasks.
Released for:Schneider Electric India

