IDriverSpecificData.Release (METH) ¶ METHOD Release This method will be called when the underlying object should be released. It’s the implementation’s responsibility to release memory correctly etc.
IDriverSpecifiedSettings (ITF) ¶ INTERFACE IDriverSpecifiedSettings This interface can optionally be implemented by IDriver too. Methods: ReconnectWaitTime TimeoutSyncShutdown Structure: ReconnectWaitTime (Method) TimeoutSyncShutdown (Method)
IDriverSpecifiedSettings.ReconnectWaitTime (METH) ¶ METHOD ReconnectWaitTime : TIME InOut: Scope Name Type Return ReconnectWaitTime TIME Output xUseDefault BOOL
IDriverSpecifiedSettings.TimeoutSyncShutdown (METH) ¶ METHOD TimeoutSyncShutdown : TIME InOut: Scope Name Type Return TimeoutSyncShutdown TIME Output xUseDefault BOOL
IDriverSpecifiedSettingsReadOnChange (ITF) ¶ INTERFACE IDriverSpecifiedSettingsReadOnChange This interface can optionally be implemented by IDriver too. The interface should be implemented by an IDriver when the according implementation does not do cyclic updates of variables but instead executes read requests only triggered by changes of according variables on the connected device. Properties: ReadOnChangeOnly Structure: ReadOnChangeOnly (Property)
IDriverSpecifiedSettingsReadOnChange.ReadOnChangeOnly (PROP) ¶ PROPERTY ReadOnChangeOnly : BOOL Return TRUE when the according implementation does not do cyclic updates of variables but instead executes read requests only triggered by changes of according variables on the connected device. Note This value is not intended to change without a new download.
IDriverStateMachine (ITF) ¶ INTERFACE IDriverStateMachine EXTENDS __SYSTEM.IQueryInterface Properties: ShutdownAfterError Methods: Connecting PollRequestResult ResetAfterError SendRequest ShuttingDown StartConnect StartShutdown Structure: Connecting (Method) PollRequestResult (Method) ResetAfterError (Method) SendRequest (Method) ShutdownAfterError (Property) ShuttingDown (Method) StartConnect (Method) StartShutdown (Method)
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.
IDriverStateMachine.PollRequestResult (METH) ¶ METHOD PollRequestResult : SysTypes.RTS_IEC_RESULT Using this method the driver is polled whether the given request is already finshed. InOut: Scope Name Type Comment Return PollRequestResult 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 sending a request failed, an error code should be returned and then the whole connection will be set up again. Input request IDriverRequest The request object to check for it’s result
IDriverStateMachine.ResetAfterError (METH) ¶ METHOD ResetAfterError This method is called after a failed call to one of the other methods where IDriverStateMachine.ShutdownAfterError returns FALSE. Implementations can use this call to get into a state where it is possible to start a new connection after some delay.