IDriverStateMachine.StartConnect (METH) ¶ METHOD StartConnect : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Comment Return StartConnect 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. Please remark that this operation is not expected to return ERR_PENDING. A successfull return (ERR_OK) of this method will then cause followup calls to IDriverStateMachine.Connecting .
IDriverStateMachine.StartShutdown (METH) ¶ METHOD StartShutdown : SysTypes.RTS_IEC_RESULT This method is called to start the shutdown sequence. Implementations can use it to start logging out from the connected device for example. This method is not called while a request is pending. InOut: Scope Name Type Comment Return StartShutdown 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. Please remark that this operation is not expected to return ERR_PENDING. A successfull return (ERR_OK) of this method will then cause followup calls to IDriverStateMachine.ShuttingDown .
IDriverStateMachine2 (ITF) ¶ INTERFACE IDriverStateMachine2 EXTENDS IDriverStateMachine Properties: ShutdownAfterError , inherited from IDriverStateMachine Methods: WaitingForCommSetting Connecting , inherited from IDriverStateMachine PollRequestResult , inherited from IDriverStateMachine ResetAfterError , inherited from IDriverStateMachine SendRequest , inherited from IDriverStateMachine ShuttingDown , inherited from IDriverStateMachine StartConnect , inherited from IDriverStateMachine StartShutdown , inherited from IDriverStateMachine Structure: WaitingForCommSetting (Method)
IDriverStateMachine2.WaitingForCommSetting (METH) ¶ METHOD WaitingForCommSetting : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Comment Return WaitingForCommSetting 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. Please remark that this operation is not expected to return ERR_PENDING. A successfull return (ERR_OK) of this method will then cause followup calls to IDriverStateMachine.StartConnect . Input xPreview BOOL
IDriverStateMachineNotifyBeforeShutdown (ITF) ¶ INTERFACE IDriverStateMachineNotifyBeforeShutdown This interface can optionally be implemented by implementations of IDriverStateMachine if an instance is interested in the beginning of the shutdown sequence. This could be used for example if requests must be released in this situation before the real shutdown is executed. Methods: BeforeShutdown Structure: BeforeShutdown (Method)
IDriverStateMachineNotifyBeforeShutdown.BeforeShutdown (METH) ¶ METHOD BeforeShutdown Called before the shutdown operation is started InOut: Scope Name Type Comment Input xDuringExit BOOL This variable signals whether a shutdown of the whole program is done or whether only the application is shutdown (eg. during download or reset)
IDriverStateMachineShutdownTimeout (ITF) ¶ INTERFACE IDriverStateMachineShutdownTimeout This interface can optionally be implemented by implementations of IDriverStateMachine if an instance is interested in the end of the shutdown sequence. Methods: ShutdownTimedout Structure: ShutdownTimedout (Method)
IDriverStateMachineShutdownTimeout.ShutdownTimedout (METH) ¶ METHOD ShutdownTimedout Called when the shutdown operation timed out.
IDriverTraceAddressInfoProvider (ITF) ¶ INTERFACE IDriverTraceAddressInfoProvider EXTENDS __SYSTEM.IQueryInterface This interface can be implemented by drivers that can provide addresses used for tracing with CmpTraceMgr Methods: CreateTraceAddressInfoWriter GetPointerSizeInBytes ReleaseTraceAddressInfoWriter Structure: CreateTraceAddressInfoWriter (Method) GetPointerSizeInBytes (Method) ReleaseTraceAddressInfoWriter (Method)
IDriverTraceAddressInfoProvider.CreateTraceAddressInfoWriter (METH) ¶ METHOD CreateTraceAddressInfoWriter : ITraceAddressInfoWriter Determines an IDataItem’s address, that can be used for tracing with CmpTraceMgr and creates and returns a corresponding ITraceAddressInfoWriter instance. InOut: Scope Name Type Comment Return CreateTraceAddressInfoWriter ITraceAddressInfoWriter An ITraceAddressInfoWriter instance containing the address of the passed data item. Input itfDataItem IDataItem The IDataItem Output udiResult UDINT Returns an error code