SupervisorOperationGetState2
(FUN)
FUNCTION SupervisorOperationGetState2 : RTS_IEC_RESULT
Retrieves the supervisor state for all supervised operations! Here you can check with one call how many operations failed.
- InOut:
Scope
Name
Type
Comment
Return
SupervisorOperationGetState2
RTS_IEC_RESULT
Error code
- Error code:
ERR_OK: The SupervisorState was successfully retrieved
ERR_NOTINITIALIZED: The operation memory is not initialized
ERR_PARAMETER: The pointer to the SupervisorState is invalid
ERR_NOT_SUPPORTED”>SysTimeGetUs is not supported
Input
pSupervisorState
POINTER TO SupervisorState
Pointer to the SupervisorState, will be filled with the corresponding information. The caller has to hold the buffer.