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
ReadableRequestBase.ReleaseVarList (METH) ¶ METHOD PROTECTED ReleaseVarList InOut: Scope Name Type Input hPlcHandler SysTypes.RTS_IEC_HANDLE
ReadableRequestBase.ReleasingAfterJoinDueToActiveState (METH) ¶ METHOD ABSTRACT ReleasingAfterJoinDueToActiveState InOut: Scope Name Type Inout asyncPlcHandler AsyncWrapper
ReadableRequestBase.Send (METH) ¶ METHOD Send : SysTypes.RTS_IEC_RESULT InOut: Scope Name Type Comment Return Send SysTypes.RTS_IEC_RESULT Inout asyncPlcHandler AsyncWrapper callingStateMachine StateMachine The instance of StateMachine, that calls this method
ReadableRequestBase.Init (METH) ¶ METHOD Init : BOOL InOut: Scope Name Type Comment Return Init BOOL Input pItems POINTER TO IDatasources.IDataItem A pointer to an array of |IDataItem| instances that should be monitored. itemsCount DINT The number of items within the array. hPlcHandler SysTypes.RTS_IEC_HANDLE Output connectionLost BOOL
Protected ¶ AssignReadValues (Method)
ReadableRequestBase.AssignReadValues (METH) ¶ METHOD PROTECTED AssignReadValues InOut: Scope Name Type Comment Input ppVarValues POINTER TO POINTER TO PLCH.VariableValue Only valid after a successfully async execution of TriggerSyncReadVars or TriggerSyncReadVarList numVarValues UDINT Only valid after a successfully async execution of TriggerSyncReadVars or TriggerSyncReadVarList
ReadableRequestBase.Release (METH) ¶ METHOD Release InOut: Scope Name Type Inout asyncPlcHandler AsyncWrapper Input hPlcHandler SysTypes.RTS_IEC_HANDLE
WriteRequest.Init (METH) ¶ METHOD Init : BOOL InOut: Scope Name Type Comment Return Init BOOL Input pItems POINTER TO IDatasources.IDataItem A pointer to an array of |IDataItem| instances that should be monitored. itemsCount DINT The number of items within the array.