IoMgrReconfigure (FUN)

FUNCTION IoMgrReconfigure : RTS_IEC_RESULT

Reconfigure a single connector respectively the corresponding master.
In the reconfigure sequence we call the corresponding IO-driver at the connector the following way:
1. disable the IO-configuration
2. enable the IO-configuration
3. update the mapping
This sequence is called asynchronously so the asynchronous state is transported in the parameter pudiState.
InOut:

Scope

Name

Type

Comment

Return

IoMgrReconfigure

RTS_IEC_RESULT

The runtime system error code (see CmpErrors.library)

Input

pConnector

POINTER TO IoConfigConnector

Pointer to the corresponding connector to reconfigure

pudiState

POINTER TO UDINT

Asynchronous state of the reconfigure operation. Can be one of the the following states (see CmpAsyncMgr.library for details: (ASYNCSTATE_INVALID | ASYNCSTATE_PENDING | ASYNCSTATE_ACTIVE | ASYNCSTATE_READY | ASYNCSTATE_ERROR | ASYNCSTATE_TIMEOUT)