In SoMachine, while trying to add function "schedGetProcessorLoad" to check processor load, build error message appears - Unknown type: 'RTS_IEC_RESULT' occurs
To check processor load in SoMachine, function "schedGetProcessorLoad" is used.
Before adding this function, user have to add library "cmpSchedule" in library manager.
For ease of adding - cmpSchedule library follow below steps
- Open Library Manager
- Add Library
- Company field. Change it from Schneider Electric to All companies
- Uncheck - Group by category box
- Find "cmpSchedule"
- select it and click OK
To overcome build error message - Unknown type: 'RTS_IEC_RESULT' , follow same steps as above to add "SysTask" library.
Use function, "schedGetProcessorLoad" in POU (Program).