SwapWord (FUN) ¶ FUNCTION SwapWord : BOOL InOut: Scope Name Type Return SwapWord BOOL Inout wd WORD
SwapWordIf (FUN) ¶ FUNCTION SwapWordIf : WORD InOut: Scope Name Type Return SwapWordIf WORD Input w WORD byteOrder IDatasources.ByteOrder
UtilSwapGuidIf (FUN) ¶ FUNCTION UtilSwapGuidIf : BOOL InOut: Scope Name Type Return UtilSwapGuidIf BOOL Inout theguid Guid Input byteOrder IDatasources.ByteOrder
StateMachine.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, CmpErrors.Errors.ERR_PENDING should be returned. When it finished successfully, CmpErrors.Errors.ERR_OK should be returned. When connecting failed, an error code should be returned and then the whole connection will be set up again.
StateMachine.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, CmpErrors.Errors.ERR_PENDING should be returned. When it finished successfully, CmpErrors.Errors.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 IDatasources.IDriverRequest The request object to check for it’s result
Enums ¶ DataSourceError (Enum) DataSourceMonitoringState (Enum) DataSourceState (Enum) DatasourcesAction (Enum)
DataSourceError (ENUM) ¶ TYPE DataSourceError : Is used to monitor the error information of a data source for the data source editor or in an IEC application Attributes: qualified_only InOut: Name Initial Ok 16#0 Failed 16#1 Pending 16#A NumPending 16#B NotSupported 16#18 NotInitialized 16#3 NoMemory 16#11 LoginFailed 16#2101 NotReachable 16#2104 Duplicate 16#2105 NoSymbols 16#2106 Busy 16#2103 IdentityMismatch 16#2100 LoginNecessary 16#2102 ConnectionLost 16#2107 ConnectionDenied 16#2108 ConnectionDeniedSrvResources 16#2109
DataSourceMonitoringState (ENUM) ¶ TYPE DataSourceMonitoringState : Is used to monitor the state of a data source for the data source editor or in an IEC application Attributes: qualified_only InOut: Name Initial Comment Initialized 0 Left after a call to StartConnect Connecting 1 Switches to Connected after succeeded Connecting and to WaitingForReconnect after errors Connected 2 The datasource is connected ShuttingDown 3 Left to Shutdown after succeeded call to ShuttingDown Shutdown 4 Terminal state WaitingForReconnect 5 Left after some time in favor of Initialized WaitingForCommSetting 6 Waiting that dynamic configuration setting has been ready
DataSourceState (ENUM) ¶ TYPE DataSourceState : Attributes: qualified_only InOut: Name Comment Initialized Left after a call to StartConnect Connecting Switches to Ready after succeeded Connecting and to WaitingForReconnect after errors Ready Left to Busy when Requests are under way, Left to ShuttingDown after succeeded StartShutdown Busy Left to Ready after finished request and to WaitingForReconnect after errors SetupBusy Alternative state to Busy for informative purposes. Typically reached for possible longer running initialization requests (like registering variable lists) ShuttingDown Left to Shutdown after succeeded call to ShuttingDown Shutdown Terminal state ShuttingDownThenReconnect Entered on errors that expect a shutdown afterwards, Left to WaitingForReconnect after succeeded call to ShuttingDown WaitingForReconnect Left after some time in favor of Initialized WaitingForCommSetting Waiting that dynamic configuration setting has been ready
DatasourcesAction (ENUM) ¶ TYPE DatasourcesAction : Attributes: qualified_only InOut: Name None Use UseExpanding Release