IAdsConnection Methods

The IAdsConnection type exposes the following members.

Methods

 

Name

Description

IAdsConnection 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.)

IAdsConnection 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.)

IAdsConnection 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.)

IAdsConnection 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.)

IAdsConnection 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.)

IAdsConnection 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.)

IAdsConnection 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.)

IAdsConnection 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.)

IAdsConnection 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.)

IAdsConnection 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.)

IAdsConnection Methods 11:

CleanupSymbolTable

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

IAdsConnection Methods 12:

Close

Closes this IConnection (Inherited from IConnection.)

IAdsConnection Methods 13:

Connect

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

IAdsConnection Methods 14:

CreateVariableHandle

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

IAdsConnection Methods 15:

CreateVariableHandleAsync

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

IAdsConnection Methods 16:

DeleteDeviceNotification

Deletes a registered notification. (Inherited from IAdsNotifications.)

IAdsConnection Methods 17:

DeleteDeviceNotificationAsync

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

IAdsConnection Methods 18:

DeleteVariableHandle

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

IAdsConnection Methods 19:

DeleteVariableHandleAsync

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

IAdsConnection Methods 20:

Disconnect

Disconnects this IConnection. (Inherited from IConnection.)

IAdsConnection Methods 21:

IAdsConnection Methods 22:

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

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

IAdsConnection Methods 23:

IAdsConnection Methods 24:

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

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

IAdsConnection Methods 25:

IAdsConnection Methods 26:

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

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

IAdsConnection Methods 27:

Read(UInt32, Memory.Byte.)

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

IAdsConnection Methods 28:

Read(UInt32, UInt32, Memory.Byte.)

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

IAdsConnection Methods 29:

ReadAny(UInt32, Type)

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

IAdsConnection Methods 30:

ReadAny(UInt32, Type, .Int32.)

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

IAdsConnection Methods 31:

ReadAny(UInt32, UInt32, Type)

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

IAdsConnection Methods 32:

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

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

IAdsConnection Methods 33:

ReadAny.T.(UInt32)

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

IAdsConnection Methods 34:

ReadAny.T.(UInt32, .Int32.)

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

IAdsConnection Methods 35:

ReadAny.T.(UInt32, UInt32)

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

IAdsConnection Methods 36:

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

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

IAdsConnection Methods 37:

ReadAnyAsync(UInt32, Type, CancellationToken)

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

IAdsConnection Methods 38:

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

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

IAdsConnection Methods 39:

ReadAnyAsync(UInt32, UInt32, Type, CancellationToken)

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

IAdsConnection Methods 40:

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

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

IAdsConnection Methods 41:

ReadAnyAsync.T.(UInt32, CancellationToken)

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

IAdsConnection Methods 42:

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

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

IAdsConnection Methods 43:

ReadAnyAsync.T.(UInt32, UInt32, CancellationToken)

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

IAdsConnection Methods 44:

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

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

IAdsConnection Methods 45:

ReadAnyString(UInt32, Int32, Encoding)

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

IAdsConnection Methods 46:

ReadAnyString(UInt32, UInt32, Int32, Encoding)

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

IAdsConnection Methods 47:

ReadAnyStringAsync(UInt32, Int32, Encoding, CancellationToken)

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

IAdsConnection Methods 48:

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

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

IAdsConnection Methods 49:

ReadAsync(UInt32, Memory.Byte., CancellationToken)

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

IAdsConnection Methods 50:

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

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

IAdsConnection Methods 51:

ReadDataType

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

IAdsConnection Methods 52:

ReadDataTypeAsync

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

IAdsConnection Methods 53:

ReadDeviceInfo

Reads the identification and version number of an ADS server.

IAdsConnection Methods 54:

ReadDeviceInfoAsync

Reads the identification and version number of an ADS server.

IAdsConnection Methods 55:

ReadState

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

IAdsConnection Methods 56:

ReadStateAsync

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

IAdsConnection Methods 57:

ReadSymbol

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

IAdsConnection Methods 58:

ReadSymbolAsync

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

IAdsConnection Methods 59:

ReadValue(ISymbol)

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

IAdsConnection Methods 60:

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.)

IAdsConnection Methods 61:

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.)

IAdsConnection Methods 62:

ReadValueAsync(ISymbol, CancellationToken)

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

IAdsConnection Methods 63:

ReadValueAsync(String, Type, CancellationToken)

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

IAdsConnection Methods 64:

ReadValueAsync.T.(String, CancellationToken)

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

IAdsConnection Methods 65:

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

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

IAdsConnection Methods 66:

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.)

IAdsConnection Methods 67:

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

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

IAdsConnection Methods 68:

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

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

IAdsConnection Methods 69:

RegisterAdsStateChangedAsync

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

IAdsConnection Methods 70:

RegisterSymbolVersionChanged

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

IAdsConnection Methods 71:

RegisterSymbolVersionChangedAsync

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

IAdsConnection Methods 72:

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.)

IAdsConnection Methods 73:

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.)

IAdsConnection Methods 74:

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.)

IAdsConnection Methods 75:

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.)

IAdsConnection Methods 76:

TryCreateVariableHandle

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

IAdsConnection Methods 77:

TryDeleteDeviceNotification

Deletes a registered notification. (Inherited from IAdsNotifications.)

IAdsConnection Methods 78:

TryDeleteVariableHandle

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

IAdsConnection Methods 79:

IAdsConnection Methods 80:

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

Invokes the specified RPC Method (Inherited from IAdsRpcInvoke.)

IAdsConnection Methods 81:

IAdsConnection Methods 82:

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

Invokes the specified RPC Method (Inherited from IAdsRpcInvoke.)

IAdsConnection Methods 83:

IAdsConnection Methods 84:

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

Invokes the rpc method. (Inherited from IAdsRpcInvoke.)

IAdsConnection Methods 85:

IAdsConnection Methods 86:

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

Invokes the rpc method. (Inherited from IAdsRpcInvoke.)

IAdsConnection Methods 87:

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.)

IAdsConnection Methods 88:

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

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

IAdsConnection Methods 89:

TryReadDataType

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

IAdsConnection Methods 90:

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.)

IAdsConnection Methods 91:

TryReadSymbol

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

IAdsConnection Methods 92:

TryReadValue(ISymbol, Object.)

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

IAdsConnection Methods 93:

TryReadValue(String, Type, Object.)

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

IAdsConnection Methods 94:

TryReadValue.T.(ISymbol, T.)

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

IAdsConnection Methods 95:

TryReadValue.T.(String, T.)

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

IAdsConnection Methods 96:

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

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

IAdsConnection Methods 97:

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

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

IAdsConnection Methods 98:

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.)

IAdsConnection Methods 99:

TryWrite(UInt32, UInt32, ReadOnlyMemory.Byte.)

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

IAdsConnection Methods 100:

TryWriteControl(StateInfo)

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

IAdsConnection Methods 101:

TryWriteControl(StateInfo, ReadOnlyMemory.Byte.)

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

IAdsConnection Methods 102:

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.)

IAdsConnection Methods 103:

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.)

IAdsConnection Methods 104:

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.)

IAdsConnection Methods 105:

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.)

IAdsConnection Methods 106:

UnregisterAdsStateChangedAsync

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

IAdsConnection Methods 107:

UnregisterSymbolVersionChanged

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

IAdsConnection Methods 108:

UnregisterSymbolVersionChangedAsync

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

IAdsConnection Methods 109:

Write(UInt32, ReadOnlyMemory.Byte.)

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

IAdsConnection Methods 110:

Write(UInt32, UInt32)

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

IAdsConnection Methods 111:

Write(UInt32, UInt32, ReadOnlyMemory.Byte.)

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

IAdsConnection Methods 112:

WriteAny(UInt32, Object)

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

IAdsConnection Methods 113:

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.)

IAdsConnection Methods 114:

WriteAny(UInt32, UInt32, Object)

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

IAdsConnection Methods 115:

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

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

IAdsConnection Methods 116:

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.)

IAdsConnection Methods 117:

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.)

IAdsConnection Methods 118:

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.)

IAdsConnection Methods 119:

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.)

IAdsConnection Methods 120:

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.)

IAdsConnection Methods 121:

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

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

IAdsConnection Methods 122:

WriteControl(StateInfo)

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

IAdsConnection Methods 123:

WriteControl(StateInfo, ReadOnlyMemory.Byte.)

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

IAdsConnection Methods 124:

WriteControlAsync(AdsState, UInt16, CancellationToken)

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

IAdsConnection Methods 125:

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

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

IAdsConnection Methods 126:

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.)

IAdsConnection Methods 127:

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.)

IAdsConnection Methods 128:

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.)

IAdsConnection Methods 129:

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.)

IAdsConnection Methods 130:

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.)

IAdsConnection Methods 131:

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.)

IAdsConnection Methods 132:

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

IAdsConnection Methods 133:

PollAdsState(IObservable.Unit.)

Overloaded.

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

IAdsConnection Methods 134:

IAdsConnection Methods 135:

PollAdsState(IObservable.Unit.)

Overloaded.

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

IAdsConnection Methods 136:

IAdsConnection Methods 137:

PollAdsState(TimeSpan)

Overloaded.

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

IAdsConnection Methods 138:

IAdsConnection Methods 139:

PollAdsState(TimeSpan)

Overloaded.

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

IAdsConnection Methods 140:

PollAdsState2(IObservable.Unit.)

Overloaded.

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

IAdsConnection Methods 141:

IAdsConnection Methods 142:

PollAdsState2(TimeSpan)

Overloaded.

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

IAdsConnection Methods 143:

PollAdsState2Async(IObservable.Unit., CancellationToken)

Overloaded.

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

IAdsConnection Methods 144:

PollAdsState2Async(TimeSpan, CancellationToken)

Overloaded.

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

IAdsConnection Methods 145:

IAdsConnection Methods 146:

PollAdsStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

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

IAdsConnection Methods 147:

IAdsConnection Methods 148:

PollAdsStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

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

IAdsConnection Methods 149:

IAdsConnection Methods 150:

PollAdsStateAsync(TimeSpan, CancellationToken)

Overloaded.

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

IAdsConnection Methods 151:

IAdsConnection Methods 152:

PollAdsStateAsync(TimeSpan, CancellationToken)

Overloaded.

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

IAdsConnection Methods 153:

PollDeviceState(IObservable.Unit.)

Overloaded.

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

IAdsConnection Methods 154:

IAdsConnection Methods 155:

PollDeviceState(TimeSpan)

Overloaded.

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

IAdsConnection Methods 156:

IAdsConnection Methods 157:

PollDeviceStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

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

IAdsConnection Methods 158:

IAdsConnection Methods 159:

PollDeviceStateAsync(TimeSpan, CancellationToken)

Overloaded.

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

IAdsConnection Methods 160:

PollSystemServiceState

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

IAdsConnection Methods 161:

PollSystemServiceStateAsync

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

IAdsConnection Methods 162:

PollValues(ISymbol, Type, IObservable.Unit.)

Overloaded.

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

IAdsConnection Methods 163:

PollValues(ISymbol, Type, TimeSpan)

Overloaded.

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

IAdsConnection Methods 164:

PollValues(String, Type, IObservable.Unit.)

Overloaded.

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

IAdsConnection Methods 165:

PollValues(String, Type, TimeSpan)

Overloaded.

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

IAdsConnection Methods 166:

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

Overloaded.

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

IAdsConnection Methods 167:

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.)

IAdsConnection Methods 168:

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.)

IAdsConnection Methods 169:

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

Overloaded.

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

IAdsConnection Methods 170:

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.)

IAdsConnection Methods 171:

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.)

IAdsConnection Methods 172:

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.)

IAdsConnection Methods 173:

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.)

IAdsConnection Methods 174:

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.)

IAdsConnection Methods 175:

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.)

IAdsConnection Methods 176:

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

Overloaded.

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

IAdsConnection Methods 177:

PollValues.T.(ISymbol, TimeSpan)

Overloaded.

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

IAdsConnection Methods 178:

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

Overloaded.

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

IAdsConnection Methods 179:

PollValues.T.(String, TimeSpan)

Overloaded.

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

IAdsConnection Methods 180:

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.)

IAdsConnection Methods 181:

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.)

IAdsConnection Methods 182:

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

Overloaded.

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

IAdsConnection Methods 183:

IAdsConnection Methods 184:

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

Overloaded.

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

IAdsConnection Methods 185:

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.)

IAdsConnection Methods 186:

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.)

IAdsConnection Methods 187:

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

Overloaded.

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

IAdsConnection Methods 188:

IAdsConnection Methods 189:

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

Overloaded.

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

IAdsConnection Methods 190:

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.)

IAdsConnection Methods 191:

IAdsConnection Methods 192:

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.)

IAdsConnection Methods 193:

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.)

IAdsConnection Methods 194:

IAdsConnection Methods 195:

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.)

IAdsConnection Methods 196:

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

Overloaded.

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

IAdsConnection Methods 197:

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

Overloaded.

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

IAdsConnection Methods 198:

ReadSysServState

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

IAdsConnection Methods 199:

ReadSysServStateAsync

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

IAdsConnection Methods 200:

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

Overloaded.

Ads Read with fallback. (Defined by AdsClientExtensions.)

IAdsConnection Methods 201:

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

Overloaded.

Ads Read with Fallback. (Defined by AdsClientExtensions.)

IAdsConnection Methods 202:

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

Overloaded.

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

IAdsConnection Methods 203:

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

Overloaded.

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

IAdsConnection Methods 204:

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

Overloaded.

Repeated AdsRead. (Defined by AdsClientExtensions.)

IAdsConnection Methods 205:

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

Overloaded.

Repeated AdsRead. (Defined by AdsClientExtensions.)

IAdsConnection Methods 206:

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

Overloaded.

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

IAdsConnection Methods 207:

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

Overloaded.

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

IAdsConnection Methods 208:

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.)

IAdsConnection Methods 209:

SetAdsState

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

IAdsConnection Methods 210:

SetAdsStateAsync

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

IAdsConnection Methods 211:

WaitUntilRestarted

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

IAdsConnection Methods 212:

WaitUntilRestartedAsync

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

IAdsConnection Methods 213:

IAdsConnection Methods 214:

WhenAdsStateChanges

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

IAdsConnection Methods 215:

WhenNotification(ISymbol)

Overloaded.

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

IAdsConnection Methods 216:

IAdsConnection Methods 217:

WhenNotification(ISymbolCollection)

Overloaded.

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

IAdsConnection Methods 218:

IAdsConnection Methods 219:

WhenNotification(IList.ISymbol., NotificationSettings)

Overloaded.

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

IAdsConnection Methods 220:

WhenNotification(ISymbol, NotificationSettings)

Overloaded.

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

IAdsConnection Methods 221:

IAdsConnection Methods 222:

WhenNotification(String, Type, NotificationSettings)

Overloaded.

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

IAdsConnection Methods 223:

IAdsConnection Methods 224:

WhenNotification.T.(String, NotificationSettings)

Overloaded.

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

IAdsConnection Methods 225:

WhenSymbolVersionChanges.

Overloaded.

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

IAdsConnection Methods 226:

WhenSymbolVersionChanges(IScheduler)

Overloaded.

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

IAdsConnection Methods 227:

IAdsConnection Methods 228:

WhenValueChanged

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

IAdsConnection Methods 229:

IAdsConnection Methods 230:

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

Overloaded.

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

IAdsConnection Methods 231:

IAdsConnection Methods 232:

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

IAdsConnection Interface

TwinCAT.Ads Namespace