IAdsDisposableConnection Methods

The IAdsDisposableConnection type exposes the following members.

Methods

 

Name

Description

IAdsDisposableConnection Methods 1:

AddDeviceNotification(String, Int32, NotificationSettings, Object)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 2:

AddDeviceNotification(UInt32, UInt32, Int32, NotificationSettings, Object)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 3:

AddDeviceNotificationAsync(String, Int32, NotificationSettings, Object, CancellationToken)

Connects a variable to the ADS client asynchronously. The ADS client will be notified by the AdsNotification event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 4:

AddDeviceNotificationAsync(UInt32, UInt32, Int32, NotificationSettings, Object, CancellationToken)

Connects a variable to the ADS client asynchronously. The ADS client will be notified by the AdsNotification event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 5:

AddDeviceNotificationEx(String, NotificationSettings, Object, Type)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 6:

AddDeviceNotificationEx(String, NotificationSettings, Object, Type, .Int32.)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 7:

AddDeviceNotificationEx(UInt32, UInt32, NotificationSettings, Object, Type)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 8:

AddDeviceNotificationEx(UInt32, UInt32, NotificationSettings, Object, Type, .Int32.)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. If type is a string type, the first element of the parameter args specifies the number of characters of the string. If type is an array type, the number of elements for each dimension has to be specified in the parameter args. Only primitive ('AnyType') types are allowed for the parameter type. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 9:

AddDeviceNotificationExAsync(String, NotificationSettings, Object, Type, .Int32., CancellationToken)

Connects a variable to the ADS client asynchronously. The ADS client will be notified by the AdsNotificationEx event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 10:

AddDeviceNotificationExAsync(UInt32, UInt32, NotificationSettings, Object, Type, .Int32., CancellationToken)

Connects a variable to the ADS client asynchronously. The ADS client will be notified by the AdsNotificationEx event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 11:

CleanupSymbolTable

Clears the internal symbol / DataTypes cache. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 12:

Close

Closes this IConnection (Inherited from IConnection.)

IAdsDisposableConnection Methods 13:

Connect.

(Re)Connects the IConnection when disconnected. (Inherited from IConnection.)

IAdsDisposableConnection Methods 14:

Connect(AmsAddress)

Connects the target ADS Device. (Inherited from IAdsConnectAddress.)

IAdsDisposableConnection Methods 15:

Connect(Int32)

Connects to the local target ADS Device. (Inherited from IAdsConnectAddress.)

IAdsDisposableConnection Methods 16:

Connect(AmsNetId, Int32)

Connects to the target ADS Device. (Inherited from IAdsConnectAddress.)

IAdsDisposableConnection Methods 17:

Connect(String, Int32)

Connects to the target ADS Device. (Inherited from IAdsConnectAddress.)

IAdsDisposableConnection Methods 18:

CreateVariableHandle

Determines the Symbol handle by its instance path synchronously. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 19:

CreateVariableHandleAsync

Determines the Symbol handle by its instance path asynchronously. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 20:

DeleteDeviceNotification

Deletes a registered notification. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 21:

DeleteDeviceNotificationAsync

Deletes a registered notification asynchronously. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 22:

DeleteVariableHandle

Releases the specified symbol/variable handle synchronously. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 23:

DeleteVariableHandleAsync

Releases the specified symbol/variable handle asynchronously. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 24:

Disconnect

Disconnects this IConnection. (Inherited from IConnection.)

IAdsDisposableConnection Methods 25:

Dispose

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)

IAdsDisposableConnection Methods 26:

IAdsDisposableConnection Methods 27:

InvokeRpcMethodAsync(String, String, .Object., CancellationToken)

Invokes the specified RPC Method asynchronously (Inherited from IAdsRpcInvoke.)

IAdsDisposableConnection Methods 28:

IAdsDisposableConnection Methods 29:

InvokeRpcMethodAsync(IRpcCallableInstance, IRpcMethod, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, CancellationToken)

Invokes the specified RPC Method asynchronously (Inherited from IAdsRpcInvoke.)

IAdsDisposableConnection Methods 30:

IAdsDisposableConnection Methods 31:

InvokeRpcMethodAsync(String, String, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, CancellationToken)

Invokes the specified RPC Method asynchronously (Inherited from IAdsRpcInvoke.)

IAdsDisposableConnection Methods 32:

Read(UInt32, Memory.Byte.)

Reads data synchronously from an ADS device and writes to the specified readBuffer. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 33:

Read(UInt32, UInt32, Memory.Byte.)

Reads data synchronously from an ADS device and writes it to the given readBuffer (Inherited from IAdsReadWrite2.)

IAdsDisposableConnection Methods 34:

ReadAny(UInt32, Type)

Reads data synchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 35:

ReadAny(UInt32, Type, .Int32.)

Reads data synchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 36:

ReadAny(UInt32, UInt32, Type)

Reads data synchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 37:

ReadAny(UInt32, UInt32, Type, .Int32.)

Reads data synchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 38:

ReadAny.T.(UInt32)

Reads data synchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 39:

ReadAny.T.(UInt32, .Int32.)

Reads data synchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 40:

ReadAny.T.(UInt32, UInt32)

Reads data synchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 41:

ReadAny.T.(UInt32, UInt32, .Int32.)

Reads data synchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 42:

ReadAnyAsync(UInt32, Type, CancellationToken)

Reads data synchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 43:

ReadAnyAsync(UInt32, Type, .Int32., CancellationToken)

Reads data synchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 44:

ReadAnyAsync(UInt32, UInt32, Type, CancellationToken)

Reads data asynchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 45:

ReadAnyAsync(UInt32, UInt32, Type, .Int32., CancellationToken)

Reads data asynchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 46:

ReadAnyAsync.T.(UInt32, CancellationToken)

Reads data asynchronously from an ADS device. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 47:

ReadAnyAsync.T.(UInt32, .Int32., CancellationToken)

Reads data asynchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 48:

ReadAnyAsync.T.(UInt32, UInt32, CancellationToken)

Reads data asynchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 49:

ReadAnyAsync.T.(UInt32, UInt32, .Int32., CancellationToken)

Reads data asynchronously from an ADS device and writes it to an object. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 50:

ReadAnyString(UInt32, Int32, Encoding)

Reads a string from the specified symbol/variable. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 51:

ReadAnyString(UInt32, UInt32, Int32, Encoding)

Reads as string from a specified address. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 52:

ReadAnyStringAsync(UInt32, Int32, Encoding, CancellationToken)

Reads a string asynchronously from the specified symbol/variable (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 53:

ReadAnyStringAsync(UInt32, UInt32, Int32, Encoding, CancellationToken)

Reads a string from a specified address asynchronously. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 54:

ReadAsync(UInt32, Memory.Byte., CancellationToken)

Reads the value data of the symbol asynchronously into the readBuffer. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 55:

ReadAsync(UInt32, UInt32, Memory.Byte., CancellationToken)

Reads the data asynchronously from specified IndexGroup/IndexOffset (Inherited from IAdsReadWrite.)

IAdsDisposableConnection Methods 56:

ReadDataType

Call this method to obtain information about the specified data type. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 57:

ReadDataTypeAsync

Call this method to obtain information about the specified data type. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 58:

ReadDeviceInfo

Reads the identification and version number of an ADS server. (Inherited from IAdsConnection.)

IAdsDisposableConnection Methods 59:

ReadDeviceInfoAsync

Reads the identification and version number of an ADS server. (Inherited from IAdsConnection.)

IAdsDisposableConnection Methods 60:

ReadState

Reads the ADS status and the device status from an ADS server. (Inherited from IAdsStateProvider.)

IAdsDisposableConnection Methods 61:

ReadStateAsync

Reads the ADS status and the device status from an ADS server. (Inherited from IAdsStateProvider.)

IAdsDisposableConnection Methods 62:

ReadSymbol

Call this method to obtain information about the individual symbols (variables) in ADS devices. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 63:

ReadSymbolAsync

Call this method to obtain information about the individual symbols (variables) in ADS devices. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 64:

ReadValue(ISymbol)

Reads the value of a symbol and returns it as an object. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 65:

ReadValue(String, Type)

Reads the value of a symbol and returns the value as object. The parameter type must have the same binary layout as the ADS symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 66:

ReadValue.T.(String)

Reads the value of a symbol and returns the value. The parameter type must have the same binary layout as the ADS symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 67:

ReadValueAsync(ISymbol, CancellationToken)

Reads the value of a symbol asynchronously and returns it as an object. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 68:

ReadValueAsync(String, Type, CancellationToken)

Reads the value of a symbol asynchronously. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 69:

ReadValueAsync.T.(String, CancellationToken)

Reads the value of a symbol asynchronously. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 70:

ReadWrite(UInt32, Memory.Byte., ReadOnlyMemory.Byte.)

Writes data synchronously to an ADS device and then Reads data from that target. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 71:

ReadWrite(UInt32, UInt32, Memory.Byte., ReadOnlyMemory.Byte.)

Writes data synchronously to an ADS device and then Reads data from this device into the readBuffer (Inherited from IAdsReadWrite2.)

IAdsDisposableConnection Methods 72:

ReadWriteAsync(UInt32, Memory.Byte., ReadOnlyMemory.Byte., CancellationToken)

ReadWrites value data asynchronously to/from the symbol represented by the variableHandle. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 73:

ReadWriteAsync(UInt32, UInt32, Memory.Byte., ReadOnlyMemory.Byte., CancellationToken)

Read/Writes data asynchronously to/from the specified writeBuffer, readBuffer (Inherited from IAdsReadWrite.)

IAdsDisposableConnection Methods 74:

RegisterAdsStateChangedAsync

Registers for AdsStateChanged events as an asynchronous operation. (Inherited from IAdsStateProvider.)

IAdsDisposableConnection Methods 75:

RegisterSymbolVersionChanged

Registers the symbol version changed. (Inherited from IAdsSymbolChangedProvider.)

IAdsDisposableConnection Methods 76:

RegisterSymbolVersionChangedAsync

Registers the symbol version changed asynchronously. (Inherited from IAdsSymbolChangedProvider.)

IAdsDisposableConnection Methods 77:

TryAddDeviceNotification(String, Int32, NotificationSettings, Object, UInt32.)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 78:

TryAddDeviceNotification(UInt32, UInt32, Int32, NotificationSettings, Object, UInt32.)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 79:

TryAddDeviceNotificationEx(String, NotificationSettings, Object, Type, .Int32., UInt32.)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 80:

TryAddDeviceNotificationEx(UInt32, UInt32, NotificationSettings, Object, Type, .Int32., UInt32.)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 81:

TryCreateVariableHandle

Determines the Symbol handle by its instance path synchronously. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 82:

TryDeleteDeviceNotification

Deletes a registered notification. (Inherited from IAdsNotifications.)

IAdsDisposableConnection Methods 83:

TryDeleteVariableHandle

Releases the specified symbol/variable handle synchronously. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 84:

IAdsDisposableConnection Methods 85:

TryInvokeRpcMethod(String, String, .Object., Object.)

Invokes the specified RPC Method (Inherited from IAdsRpcInvoke.)

IAdsDisposableConnection Methods 86:

IAdsDisposableConnection Methods 87:

TryInvokeRpcMethod(String, String, .Object., .Object.., Object.)

Invokes the specified RPC Method (Inherited from IAdsRpcInvoke.)

IAdsDisposableConnection Methods 88:

IAdsDisposableConnection Methods 89:

TryInvokeRpcMethod(IRpcCallableInstance, IRpcMethod, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, .Object.., Object.)

Invokes the rpc method. (Inherited from IAdsRpcInvoke.)

IAdsDisposableConnection Methods 90:

IAdsDisposableConnection Methods 91:

TryInvokeRpcMethod(String, String, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, .Object.., Object.)

Invokes the rpc method. (Inherited from IAdsRpcInvoke.)

IAdsDisposableConnection Methods 92:

TryRead(UInt32, Memory.Byte., Int32.)

Reads the value synchronously data of the symbol, that is represented by the variable handle into the readBuffer. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 93:

TryRead(UInt32, UInt32, Memory.Byte., Int32.)

Reads data synchronously from an ADS device and writes it to the given stream. (Inherited from IAdsReadWrite.)

IAdsDisposableConnection Methods 94:

TryReadDataType

Call this method to obtain information about the specified data type. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 95:

TryReadState

Reads the ADS status and the device status from an ADS server. Unlike the ReadState method this method does not call an exception on failure. Instead an AdsErrorCode is returned. If the return value is equal to AdsErrorCode.NoError the call was successful. (Inherited from IAdsStateProvider.)

IAdsDisposableConnection Methods 96:

TryReadSymbol

Call this method to obtain information about the individual symbols (variables) in ADS devices. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 97:

TryReadValue(ISymbol, Object.)

Reads the value of a symbol and returns it as an object. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 98:

TryReadValue(String, Type, Object.)

Reads the value of a symbol and returns the value as object. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 99:

TryReadValue.T.(ISymbol, T.)

Reads the value of a symbol and returns it as an object. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 100:

TryReadValue.T.(String, T.)

Reads the value of a symbol and returns the value as object. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 101:

TryReadWrite(UInt32, Memory.Byte., ReadOnlyMemory.Byte., Int32.)

ReadWrites value data synchronously to/from the symbol represented by the variableHandle. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 102:

TryReadWrite(UInt32, UInt32, Memory.Byte., ReadOnlyMemory.Byte., Int32.)

Writes data synchronously to an ADS device and reads data from that device. (Inherited from IAdsReadWrite.)

IAdsDisposableConnection Methods 103:

TryWrite(UInt32, ReadOnlyMemory.Byte.)

Writes the value data synchronously that is represented in the writeBuffer to the symbol with the specified variableHandle. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 104:

TryWrite(UInt32, UInt32, ReadOnlyMemory.Byte.)

Writes data synchronously to an ADS device. (Inherited from IAdsReadWrite.)

IAdsDisposableConnection Methods 105:

TryWriteControl(StateInfo)

Changes the ADS status and the device status of an ADS server. (Inherited from IAdsStateControl.)

IAdsDisposableConnection Methods 106:

TryWriteControl(StateInfo, ReadOnlyMemory.Byte.)

Changes the ADS status and the device status of an ADS server. (Inherited from IAdsStateControl.)

IAdsDisposableConnection Methods 107:

TryWriteValue(ISymbol, Object)

Writes a value to the symbol. Strings and all primitive data types(UInt32, Int32, Bool etc.) are supported. If a string is passed as parameter, the method attempts to parse the string according to the ADS data type of the symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 108:

TryWriteValue(String, Object)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 109:

TryWriteValue.T.(ISymbol, T)

Writes a value to the symbol. Strings and all primitive data types(UInt32, Int32, Bool etc.) are supported. If a string is passed as parameter, the method attempts to parse the string according to the ADS data type of the symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 110:

TryWriteValue.T.(String, T)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same binary layout as the ADS symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 111:

UnregisterAdsStateChangedAsync

Registers for AdsStateChanged events as an asynchronous operation. (Inherited from IAdsStateProvider.)

IAdsDisposableConnection Methods 112:

UnregisterSymbolVersionChanged

Unregisters the symbol version changed. (Inherited from IAdsSymbolChangedProvider.)

IAdsDisposableConnection Methods 113:

UnregisterSymbolVersionChangedAsync

Unregisters the symbol version changed asynchronous. (Inherited from IAdsSymbolChangedProvider.)

IAdsDisposableConnection Methods 114:

Write(UInt32, ReadOnlyMemory.Byte.)

Writes data synchronously to an ADS device. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 115:

Write(UInt32, UInt32)

Triggers a 'Write' call to the ADS device at the specified address. (Inherited from IAdsReadWrite2.)

IAdsDisposableConnection Methods 116:

Write(UInt32, UInt32, ReadOnlyMemory.Byte.)

Writes data synchronously to an ADS device. (Inherited from IAdsReadWrite2.)

IAdsDisposableConnection Methods 117:

WriteAny(UInt32, Object)

Writes an object synchronously to an ADS device. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 118:

WriteAny(UInt32, Object, .Int32.)

Writes an object synchronously to an ADS device. If the Type of the object to be written is a string type, the first element of parameter args specifies the number of characters of the string. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 119:

WriteAny(UInt32, UInt32, Object)

Writes an object synchronously to an ADS device. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 120:

WriteAny(UInt32, UInt32, Object, .Int32.)

Writes an object synchronously to an ADS device. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 121:

WriteAnyAsync(UInt32, Object, CancellationToken)

Writes an object synchronously to an ADS device. If the Type of the object to be written is a string type, the first element of parameter args specifies the number of characters of the string. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 122:

WriteAnyAsync(UInt32, Object, .Int32., CancellationToken)

Writes an object asynchronously to an ADS device. If the Type of the object to be written is a string type, the first element of parameter args specifies the number of characters of the string. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 123:

WriteAnyAsync(UInt32, UInt32, Object, CancellationToken)

Writes an object asynchronously to an ADS device. If the Type of the object to be written is a string type, the first element of parameter args specifies the number of characters of the string. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 124:

WriteAnyAsync(UInt32, UInt32, Object, .Int32., CancellationToken)

Writes an object asynchronously to an ADS device. If the Type of the object to be written is a string type, the first element of parameter args specifies the number of characters of the string. (Inherited from IAdsAnyAccess.)

IAdsDisposableConnection Methods 125:

WriteAsync(UInt32, ReadOnlyMemory.Byte., CancellationToken)

Writes the value data asynchronously that is represented by the writeBuffer to the symbol specified by the variableHandle. (Inherited from IAdsHandle.)

IAdsDisposableConnection Methods 126:

WriteAsync(UInt32, UInt32, ReadOnlyMemory.Byte., CancellationToken)

Writes the data / Value asynchronously into the specified writeBuffer. (Inherited from IAdsReadWrite.)

IAdsDisposableConnection Methods 127:

WriteControl(StateInfo)

Changes the ADS status and the device status of an ADS server. (Inherited from IAdsStateControl.)

IAdsDisposableConnection Methods 128:

WriteControl(StateInfo, ReadOnlyMemory.Byte.)

Changes the ADS status and the device status of an ADS server. (Inherited from IAdsStateControl.)

IAdsDisposableConnection Methods 129:

WriteControlAsync(AdsState, UInt16, CancellationToken)

Changes the ADS status and device status of the ADS server asynchronously. (Inherited from IAdsStateControl.)

IAdsDisposableConnection Methods 130:

WriteControlAsync(AdsState, UInt16, ReadOnlyMemory.Byte., CancellationToken)

Changes the ADS status and device status of the ADS server asynchronously. (Inherited from IAdsStateControl.)

IAdsDisposableConnection Methods 131:

WriteValue(ISymbol, Object)

Writes a value to the symbol. Strings and all primitive data types(UInt32, Int32, Bool etc.) are supported. If a string is passed as parameter, the method attempts to parse the string according to the ADS data type of the symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 132:

WriteValue(String, Object)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same binary layout as the ADS symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 133:

WriteValue.T.(ISymbol, T)

Writes a value to the symbol. Strings and all primitive data types(UInt32, Int32, Bool etc.) are supported. If a string is passed as parameter, the method attempts to parse the string according to the ADS data type of the symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 134:

WriteValue.T.(String, T)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same binary layout as the ADS symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 135:

WriteValueAsync(ISymbol, Object, CancellationToken)

Writes a value to the symbol. Strings and all primitive data types(UInt32, Int32, Bool etc.) are supported. If a string is passed as parameter, the method attempts to parse the string according to the ADS data type of the symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 136:

WriteValueAsync.T.(ISymbol, T, CancellationToken)

Writes a value to the symbol. Strings and all primitive data types(UInt32, Int32, Bool etc.) are supported. If a string is passed as parameter, the method attempts to parse the string according to the ADS data type of the symbol. (Inherited from IAdsSymbolicAccess.)

IAdsDisposableConnection Methods 137:

WriteValueAsync.T.(String, T, CancellationToken)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same binary layout as the ADS symbol. (Inherited from IAdsSymbolicAccess.)

Extension Methods

 

Name

Description

IAdsDisposableConnection Methods 138:

PollAdsState(IObservable.Unit.)

Overloaded.

Gets an observable sequence of ResultReadAdsStates via Polling. (Defined by ConnectionStateExtension.)

IAdsDisposableConnection Methods 139:

IAdsDisposableConnection Methods 140:

PollAdsState(IObservable.Unit.)

Overloaded.

Gets an observable sequence of AdsStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 141:

IAdsDisposableConnection Methods 142:

PollAdsState(TimeSpan)

Overloaded.

Gets an observable sequence of ResultReadAdsStates via Polling. (Defined by ConnectionStateExtension.)

IAdsDisposableConnection Methods 143:

IAdsDisposableConnection Methods 144:

PollAdsState(TimeSpan)

Overloaded.

Gets an observable sequence of AdsStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 145:

PollAdsState2(IObservable.Unit.)

Overloaded.

Gets an observable sequence of ResultReadAdsStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 146:

IAdsDisposableConnection Methods 147:

PollAdsState2(TimeSpan)

Overloaded.

Gets an observable sequence of ResultReadAdsStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 148:

PollAdsState2Async(IObservable.Unit., CancellationToken)

Overloaded.

Gets an observable sequence of AdsStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 149:

PollAdsState2Async(TimeSpan, CancellationToken)

Overloaded.

Gets an observable sequence of ResultReadAdsStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 150:

IAdsDisposableConnection Methods 151:

PollAdsStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

Gets an observable sequence of AdsStates via Polling. (Defined by ConnectionStateExtension.)

IAdsDisposableConnection Methods 152:

IAdsDisposableConnection Methods 153:

PollAdsStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

Gets an observable sequence of AdsStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 154:

IAdsDisposableConnection Methods 155:

PollAdsStateAsync(TimeSpan, CancellationToken)

Overloaded.

Gets an observable sequence of AdsStates via Polling. (Defined by ConnectionStateExtension.)

IAdsDisposableConnection Methods 156:

IAdsDisposableConnection Methods 157:

PollAdsStateAsync(TimeSpan, CancellationToken)

Overloaded.

Gets an observable sequence of AdsStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 158:

PollDeviceState(IObservable.Unit.)

Overloaded.

Gets an observable sequence of ResultReadDeviceStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 159:

IAdsDisposableConnection Methods 160:

PollDeviceState(TimeSpan)

Overloaded.

Gets an observable sequence of ResultReadDeviceStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 161:

IAdsDisposableConnection Methods 162:

PollDeviceStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

Gets an observable sequence of ResultReadDeviceStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 163:

IAdsDisposableConnection Methods 164:

PollDeviceStateAsync(TimeSpan, CancellationToken)

Overloaded.

Gets an observable sequence of ResultReadDeviceStates via Polling. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 165:

PollSystemServiceState

Polls the state of the system service. (Defined by SystemServiceExtension.)

IAdsDisposableConnection Methods 166:

PollSystemServiceStateAsync

Polls the system service state asynchronously (Defined by SystemServiceExtension.)

IAdsDisposableConnection Methods 167:

PollValues(ISymbol, Type, IObservable.Unit.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 168:

PollValues(ISymbol, Type, TimeSpan)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 169:

PollValues(String, Type, IObservable.Unit.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 170:

PollValues(String, Type, TimeSpan)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 171:

PollValues(ISymbol, Type, .Int32., TimeSpan)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 172:

PollValues(ISymbol, Type, IObservable.Unit., Func.Exception, Object.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 173:

PollValues(ISymbol, Type, TimeSpan, Func.Exception, Object.)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 174:

PollValues(String, Type, .Int32., TimeSpan)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 175:

PollValues(String, Type, IObservable.Unit., Func.Exception, Object.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 176:

PollValues(String, Type, TimeSpan, Func.Exception, Object.)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 177:

PollValues(ISymbol, Type, .Int32., IObservable.Unit., Func.Exception, Object.)

Overloaded.

Polls the symbol values on time points where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 178:

PollValues(ISymbol, Type, .Int32., TimeSpan, Func.Exception, Object.)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 179:

PollValues(String, Type, .Int32., IObservable.Unit., Func.Exception, Object.)

Overloaded.

Polls the symbol values on time points where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 180:

PollValues(String, Type, .Int32., TimeSpan, Func.Exception, Object.)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 181:

PollValues.T.(ISymbol, IObservable.Unit.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 182:

PollValues.T.(ISymbol, TimeSpan)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 183:

PollValues.T.(String, IObservable.Unit.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 184:

PollValues.T.(String, TimeSpan)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 185:

PollValues.T.(ISymbol, IObservable.Unit., Func.Exception, T.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 186:

PollValues.T.(ISymbol, TimeSpan, Func.Exception, T.)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 187:

PollValues.T.(ISymbol, .Int32., IObservable.Unit.)

Overloaded.

Polls the symbol values on time points where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 188:

IAdsDisposableConnection Methods 189:

PollValues.T.(ISymbol, .Int32., TimeSpan)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 190:

PollValues.T.(String, IObservable.Unit., Func.Exception, T.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 191:

PollValues.T.(String, TimeSpan, Func.Exception, T.)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 192:

PollValues.T.(String, .Int32., IObservable.Unit.)

Overloaded.

Polls the symbol values on time points where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 193:

IAdsDisposableConnection Methods 194:

PollValues.T.(String, .Int32., TimeSpan)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 195:

PollValues.T.(ISymbol, .Int32., IObservable.Unit., Func.Exception, T.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 196:

IAdsDisposableConnection Methods 197:

PollValues.T.(ISymbol, .Int32., TimeSpan, Func.Exception, T.)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 198:

PollValues.T.(String, .Int32., IObservable.Unit., Func.Exception, T.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 199:

IAdsDisposableConnection Methods 200:

PollValues.T.(String, .Int32., TimeSpan, Func.Exception, T.)

Overloaded.

Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 201:

PollValues2.T.(ISymbol, .Int32., IObservable.Unit.)

Overloaded.

Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 202:

PollValues2.T.(String, .Int32., IObservable.Unit.)

Overloaded.

Polls the symbol values on time points where the polling observable streams data / triggers (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 203:

ReadSysServState

Reads the System Service state (AdsSysServState) (Defined by SystemServiceExtension.)

IAdsDisposableConnection Methods 204:

ReadSysServStateAsync

Reads the System Service state (AdsSysServState) (asynchronous) (Defined by SystemServiceExtension.)

IAdsDisposableConnection Methods 205:

ReadWithFallback(UInt32, UInt32, Memory.Byte., UInt32, Boolean.)

Overloaded.

Ads Read with fallback. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 206:

ReadWithFallback(UInt32, UInt32, UInt32, Memory.Byte., Func.ResultRead, Boolean., Boolean.)

Overloaded.

Ads Read with Fallback. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 207:

ReadWithFallbackAsync(UInt32, UInt32, UInt32, Memory.Byte., CancellationToken)

Overloaded.

Ads Read with fallback as an asynchronous operation. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 208:

ReadWithFallbackAsync(UInt32, UInt32, UInt32, Memory.Byte., Func.ResultRead, Boolean., CancellationToken)

Overloaded.

Ads Read with fallback as an asynchronous operation. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 209:

RepeatedRead(UInt32, UInt32, Memory.Byte., Int32, TimeSpan)

Overloaded.

Repeated AdsRead. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 210:

RepeatedRead(UInt32, UInt32, Memory.Byte., Int32, TimeSpan, Func.ResultRead, Boolean.)

Overloaded.

Repeated AdsRead. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 211:

RepeatedReadAsync(UInt32, UInt32, Memory.Byte., Int32, TimeSpan, CancellationToken)

Overloaded.

Repeated AdsRead as an asynchronous operation. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 212:

RepeatedReadAsync(UInt32, UInt32, Memory.Byte., Int32, TimeSpan, Func.ResultRead, Boolean., CancellationToken)

Overloaded.

Repeated AdsRead as an asynchronous operation. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 213:

RestartTwinCATAsync

Sends a SystemService Restart to the target system and waits until the system has finished the state changes (SystemService, Port 10000) (asynchronously) (Defined by SystemServiceExtension.)

IAdsDisposableConnection Methods 214:

SetAdsState

Sets an AdsState/AdsStateCommand to an AdsServer and waits until the StateChange finishes. (Defined by ConnectionStateExtension.)

IAdsDisposableConnection Methods 215:

SetAdsStateAsync

Sets an AdsState/AdsStateCommand to an AdsServer and waits until the StateChange finishes. (Defined by ConnectionStateExtension.)

IAdsDisposableConnection Methods 216:

WaitUntilRestarted

Waits until the Restart is detected on the client (SystemService, Port 10000) (Defined by SystemServiceExtension.)

IAdsDisposableConnection Methods 217:

WaitUntilRestartedAsync

Waits until the SystemService Restart is detectd on the client (SystemService, Port 10000) (asynchronously) (Defined by SystemServiceExtension.)

IAdsDisposableConnection Methods 218:

IAdsDisposableConnection Methods 219:

WhenAdsStateChanges

Gets an observable sequence of AdsStates. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 220:

WhenNotification(ISymbol)

Overloaded.

Gets an observable sequence of Notifications. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 221:

IAdsDisposableConnection Methods 222:

WhenNotification(ISymbolCollection)

Overloaded.

Gets an observable sequence of Notification objects. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 223:

IAdsDisposableConnection Methods 224:

WhenNotification(IList.ISymbol., NotificationSettings)

Overloaded.

Gets an observable sequence of Notification objects. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 225:

WhenNotification(ISymbol, NotificationSettings)

Overloaded.

Gets an observable sequence of SymbolValueNotifications. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 226:

IAdsDisposableConnection Methods 227:

WhenNotification(String, Type, NotificationSettings)

Overloaded.

Creates an observable sequence of values that are created by ADS Notifications. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 228:

IAdsDisposableConnection Methods 229:

WhenNotification.T.(String, NotificationSettings)

Overloaded.

Creates an observable sequence of values that are created by ADS Notifications. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 230:

WhenSymbolVersionChanges.

Overloaded.

Gets an observable sequence of SymbolVersion changed counts. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 231:

WhenSymbolVersionChanges(IScheduler)

Overloaded.

Gets an observable sequence of SymbolVersion changed counts. (Defined by AdsClientExtensions.)

IAdsDisposableConnection Methods 232:

IAdsDisposableConnection Methods 233:

WhenValueChanged

Observable sequence of Values driven by ADS Notifications on the specified symbol. (Defined by ValueSymbolExtensions.)

IAdsDisposableConnection Methods 234:

IAdsDisposableConnection Methods 235:

WriteValues.T.(String, IObservable.T.)

Overloaded.

Writes the sequence of values to the symbol specified by the instance path. (Defined by AnyTypeExtensions.)

IAdsDisposableConnection Methods 236:

IAdsDisposableConnection Methods 237:

WriteValues.T.(String, IObservable.T., Action.Exception.)

Overloaded.

Writes the sequence of values to the symbol specified by the instance path. (Defined by AnyTypeExtensions.)

Reference

IAdsDisposableConnection Interface

TwinCAT.Ads Namespace