SupervisorOperationGetFirst (FUN)

FUNCTION SupervisorOperationGetFirst : RTS_IEC_HANDLE

Iteration interface to get the first registered operation

Error code:
  • ERR_OK: The first operation was successfully retrieved

  • ERR_NOTINITIALIZED: The operation memory is not initialized

  • ERR_NO_OBJECT: There are no registered operations

InOut:

Scope

Name

Type

Comment

Return

SupervisorOperationGetFirst

RTS_IEC_HANDLE

Handle to the first operation or RTS_INVALID_HANDLE in case of an error

Input

pResult

POINTER TO RTS_IEC_RESULT

Pointer to error code