IDriverStateMachine.ShuttingDown (METH)ΒΆ

METHOD ShuttingDown : SysTypes.RTS_IEC_RESULT

This method is called during the shutdown sequence. Implementations can use it to implement the shutdown sequence (like loggint out from the connected device, closing connection resources etc.)

InOut:

Scope

Name

Type

Comment

Return

ShuttingDown

SysTypes.RTS_IEC_RESULT

An error code representing the result of this operation. In case an error happens, an according eror code should be returned. In case the sequence is not yet finished, ERR_PENDING should be returned. After a successfull or failed return, the implementation should be in a state where a new connection could be setup using a possible followup call to IDriverStateMachine.StartConnect.