IDriverStateMachine.Connecting (METH)ΒΆ
METHOD Connecting : SysTypes.RTS_IEC_RESULT
Using this method the driver is polled whether the startup of the connection is already finshed.
- InOut:
Scope
Name
Type
Comment
Return
Connecting
SysTypes.RTS_IEC_RESULT
An error code representing the result of the polling operation. In case the operation is not yet finished, ERR_PENDING should be returned. When it finished successfully, ERR_OK should be returned. When connecting failed, an error code should be returned and then the whole connection will be set up again.