AdsConnection Methods

The AdsConnection type exposes the following members.

Methods

 

Name

Description

AdsConnection Methods 1:

AddDeviceNotification(String, Int32, NotificationSettings, Object)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

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

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

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

AdsConnection Methods 5:

AddDeviceNotificationEx(String, NotificationSettings, Object, Type)

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotificationEx event.

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

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

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

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

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

AdsConnection Methods 11:

CleanupSymbolTable

Clears the internal symbol cache.

AdsConnection Methods 12:

Close

Closes the AdsConnection

AdsConnection Methods 13:

Connect

(Re)Connects the IConnection when disconnected.

AdsConnection Methods 14:

CreateVariableHandle

Generates a unique handle for an ADS variable.

AdsConnection Methods 15:

CreateVariableHandleAsync

Determines the Symbol handle by its instance path asynchronously.

AdsConnection Methods 16:

DeleteDeviceNotification

Deletes an existing notification.

AdsConnection Methods 17:

DeleteDeviceNotificationAsync

Deletes a registered notification asynchronously.

AdsConnection Methods 18:

DeleteVariableHandle

Releases the handle of a ADS variable again.

AdsConnection Methods 19:

DeleteVariableHandleAsync

Releases the handle of a ADS variable again (asynchronously)

AdsConnection Methods 20:

Disconnect

Disconnects this IConnection.

AdsConnection Methods 21:

Dispose

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

AdsConnection Methods 22:

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object.)

AdsConnection Methods 23:

GetHashCode

Serves as the default hash function. (Inherited from Object.)

AdsConnection Methods 24:

GetType

Gets the Type of the current instance. (Inherited from Object.)

AdsConnection Methods 25:

AdsConnection Methods 26:

InvokeRpcMethod(String, String, .Object.)

Invokes the specified RPC Method

AdsConnection Methods 27:

AdsConnection Methods 28:

InvokeRpcMethod(String, String, .Object., .Object..)

Invokes the specified RPC Method

AdsConnection Methods 29:

AdsConnection Methods 30:

InvokeRpcMethod(String, String, .Object., AnyTypeSpecifier)

Invokes the specified RPC Method

AdsConnection Methods 31:

AdsConnection Methods 32:

InvokeRpcMethod(String, String, .Object., .AnyTypeSpecifier., AnyTypeSpecifier, .Object..)

Invokes the specified RPC Method

AdsConnection Methods 33:

AdsConnection Methods 34:

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

Invokes the specified RPC Method asynchronously

AdsConnection Methods 35:

AdsConnection Methods 36:

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

Invokes the specified RPC Method asynchronously

AdsConnection Methods 37:

AdsConnection Methods 38:

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

Invokes the specified RPC Method asynchronously

AdsConnection Methods 39:

Read(UInt32, Memory.Byte.)

Reads the value from the symbol that is represented by the handle.

AdsConnection Methods 40:

Read(UInt32, UInt32, Memory.Byte.)

Reads data synchronously from an ADS device and writes it to the given readBuffer

AdsConnection Methods 41:

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

Reads data synchronously from an ADS device and writes it to the given stream.

AdsConnection Methods 42:

ReadAny(UInt32, Type)

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 43:

ReadAny(UInt32, Type, .Int32.)

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 44:

ReadAny(UInt32, UInt32, Type)

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 45:

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

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 46:

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

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 47:

ReadAny.T.(UInt32)

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 48:

ReadAny.T.(UInt32, .Int32.)

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 49:

ReadAny.T.(UInt32, UInt32)

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 50:

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

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 51:

ReadAnyAsync(UInt32, Type, CancellationToken)

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 52:

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

Reads data synchronously from an ADS device and writes it to an object.

AdsConnection Methods 53:

ReadAnyAsync(UInt32, UInt32, Type, CancellationToken)

Reads data asynchronously from an ADS device and writes it to an object.

AdsConnection Methods 54:

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

Reads data asynchronously from an ADS device and writes it to an object.

AdsConnection Methods 55:

ReadAnyAsync.T.(UInt32, CancellationToken)

Reads data synchronously from an ADS device.

AdsConnection Methods 56:

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

Reads data asynchronously from an ADS device and writes it to an object.

AdsConnection Methods 57:

ReadAnyAsync.T.(UInt32, UInt32, CancellationToken)

Reads data asynchronously from an ADS device and writes it to an object.

AdsConnection Methods 58:

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

Reads data asynchronously from an ADS device and writes it to an object.

AdsConnection Methods 59:

ReadAnyString(UInt32, Int32, Encoding)

Reads a string from the specified symbol/variable.

AdsConnection Methods 60:

ReadAnyString(UInt32, UInt32, Int32, Encoding)

Reads as string from a specified address.

AdsConnection Methods 61:

ReadAnyStringAsync(UInt32, Int32, Encoding, CancellationToken)

Reads a string asynchronously from the specified symbol/variable

AdsConnection Methods 62:

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

read any string as an asynchronous operation.

AdsConnection Methods 63:

ReadAsync(UInt32, Memory.Byte., CancellationToken)

Reads the value data of the symbol asynchronously into the readBuffer.

AdsConnection Methods 64:

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

Reads the data asynchronously from specified IndexGroup/IndexOffset

AdsConnection Methods 65:

ReadDataType

Call this method to obtain information about the specified data type.

AdsConnection Methods 66:

ReadDataTypeAsync

read data type as an asynchronous operation.

AdsConnection Methods 67:

ReadDeviceInfo

Reads the identification and version number of an ADS server.

AdsConnection Methods 68:

ReadDeviceInfoAsync

Reads the identification and version number of an ADS server.

AdsConnection Methods 69:

ReadState.

Reads the ADS status and the device status from an ADS server.

AdsConnection Methods 70:

ReadState(Int32)

Reads the ADS status and the device status from an ADS server.

AdsConnection Methods 71:

ReadStateAsync

Read the ADS State asynchronously

AdsConnection Methods 72:

ReadSymbol

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

AdsConnection Methods 73:

ReadSymbolAsync

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

AdsConnection Methods 74:

ReadValue(ISymbol)

Reads the value of a symbol and returns it as an object. Strings and all primitive datatypes(UInt32, Int32, Bool etc.) are supported. Arrays and structures cannot be read.

AdsConnection Methods 75:

ReadValue(String, Type)

Reads the value of a symbol and returns the value as object. The parameter type must have the same layout as the ADS symbol.

AdsConnection Methods 76:

ReadValue.T.(ISymbol)

Reads the value of a symbol and returns it as an object.

AdsConnection Methods 77:

ReadValue.T.(String)

Reads the value of a symbol and returns the value. The parameter type must have the same layout as the ADS symbol.

AdsConnection Methods 78:

ReadValueAsync(ISymbol, CancellationToken)

Reads the value of a symbol and returns it as an object. Strings and all primitive datatypes (UInt32, Int32, Bool etc.) are supported. Arrays and structures cannot be read.

AdsConnection Methods 79:

ReadValueAsync(String, Type, CancellationToken)

Reads the value of a symbol asynchronously.

AdsConnection Methods 80:

ReadValueAsync.T.(ISymbol, CancellationToken)

Reads the value of a symbol asynchronously and returns it as an object.

AdsConnection Methods 81:

ReadValueAsync.T.(String, CancellationToken)

Reads the value of a symbol asynchronously.

AdsConnection Methods 82:

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

Writes data synchronously to an ADS device and then Reads data from that target.

AdsConnection Methods 83:

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

Writes data synchronously to an ADS device and then Reads data from this device into the readBuffer

AdsConnection Methods 84:

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

Writes data synchronously to an ADS device and then Reads data from this device.

AdsConnection Methods 85:

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

ReadWrites value data asynchronously to/from the symbol represented by the variableHandle.

AdsConnection Methods 86:

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

Read/Writes data asynchronously to/from the specified writeBuffer, readBuffer

AdsConnection Methods 87:

RegisterAdsStateChangedAsync

Registers for AdsStateChanged events as an asynchronous operation.

AdsConnection Methods 88:

RegisterSymbolVersionChanged

Registers the symbol version changed.

AdsConnection Methods 89:

RegisterSymbolVersionChangedAsync

Registers the symbol version changed asynchronously.

AdsConnection Methods 90:

ToString

Returns a string that represents the current object. (Inherited from Object.)

AdsConnection Methods 91:

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

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

AdsConnection Methods 92:

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

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

AdsConnection Methods 93:

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

Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event.

AdsConnection Methods 94:

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.

AdsConnection Methods 95:

TryCreateVariableHandle

Read (determine) the Symbol handle by its name/path

AdsConnection Methods 96:

TryDeleteDeviceNotification

Deletes a registered notification.

AdsConnection Methods 97:

TryDeleteVariableHandle

Releases the specified symbol/variable handle synchronously.

AdsConnection Methods 98:

AdsConnection Methods 99:

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

Invokes the specified RPC Method

AdsConnection Methods 100:

AdsConnection Methods 101:

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

Invokes the specified RPC Method

AdsConnection Methods 102:

AdsConnection Methods 103:

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

Invokes the rpc method.

AdsConnection Methods 104:

AdsConnection Methods 105:

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

Invokes the rpc method.

AdsConnection Methods 106:

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

Reads the value synchronously data of the symbol, that is represented by the variable handle into the readBuffer.

AdsConnection Methods 107:

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

Reads data synchronously from an ADS device and writes it to the given stream.

AdsConnection Methods 108:

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

Reads data synchronously from an ADS device and writes it to the given stream.

AdsConnection Methods 109:

TryReadDataType

Call this method to obtain information about the specified data type.

AdsConnection Methods 110:

TryReadState(StateInfo.)

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.

AdsConnection Methods 111:

TryReadState(Int32, StateInfo.)

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.

AdsConnection Methods 112:

TryReadSymbol

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

AdsConnection Methods 113:

TryReadValue(ISymbol, Object.)

Reads the value of a symbol and returns the value as object. The parameter type must have the same layout as the ADS symbol.

AdsConnection Methods 114:

TryReadValue(String, Type, Object.)

Reads the value of a symbol and returns the value as object.

AdsConnection Methods 115:

TryReadValue.T.(ISymbol, T.)

Reads the value of a symbol and returns it as an object.

AdsConnection Methods 116:

TryReadValue.T.(String, T.)

Reads the value of a symbol and returns the value as object.

AdsConnection Methods 117:

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

ReadWrites value data synchronously to/from the symbol represented by the variableHandle.

AdsConnection Methods 118:

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

Writes data synchronously to an ADS device and reads data from that device.

AdsConnection Methods 119:

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

Writes data synchronously to an ADS device and then Reads data from this device.

AdsConnection Methods 120:

TryWrite(UInt32, ReadOnlyMemory.Byte.)

Writes the value data synchronously that is represented in the writeBuffer to the symbol with the specified variableHandle.

AdsConnection Methods 121:

TryWrite(UInt32, UInt32, ReadOnlyMemory.Byte.)

Writes data synchronously to an ADS device.

AdsConnection Methods 122:

TryWrite(UInt32, UInt32, ReadOnlyMemory.Byte., Int32)

Writes data synchronously to an ADS device.

AdsConnection Methods 123:

TryWriteControl(StateInfo)

Changes the ADS status and the device status of an ADS server.

AdsConnection Methods 124:

TryWriteControl(StateInfo, Int32)

Changes the ADS status and the device status of an ADS server.

AdsConnection Methods 125:

TryWriteControl(StateInfo, ReadOnlyMemory.Byte.)

Changes the ADS status and the device status of an ADS server.

AdsConnection Methods 126:

TryWriteControl(StateInfo, ReadOnlyMemory.Byte., Int32)

Changes the ADS status and the device status of an ADS server.

AdsConnection Methods 127:

TryWriteValue(ISymbol, Object)

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

AdsConnection Methods 128:

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.

AdsConnection Methods 129:

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.

AdsConnection Methods 130:

TryWriteValue.T.(String, T)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol.

AdsConnection Methods 131:

UnregisterAdsStateChangedAsync

Registers for AdsStateChanged events as an asynchronous operation.

AdsConnection Methods 132:

UnregisterSymbolVersionChanged

Unregisters the symbol version changed.

AdsConnection Methods 133:

UnregisterSymbolVersionChangedAsync

Unregisters the symbol version changed asynchronous.

AdsConnection Methods 134:

Write(UInt32, ReadOnlyMemory.Byte.)

Writes data synchronously to an ADS device.

AdsConnection Methods 135:

Write(UInt32, UInt32)

Trigger Client Method/Command.

AdsConnection Methods 136:

Write(UInt32, UInt32, Int32)

Trigger Client Method/Command.

AdsConnection Methods 137:

Write(UInt32, UInt32, ReadOnlyMemory.Byte.)

Writes data synchronously to an ADS device.

AdsConnection Methods 138:

Write(UInt32, UInt32, ReadOnlyMemory.Byte., Int32)

Writes data synchronously to an ADS device.

AdsConnection Methods 139:

WriteAny(UInt32, Object)

Writes an object synchronously to an ADS device.

AdsConnection Methods 140:

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.

AdsConnection Methods 141:

WriteAny(UInt32, UInt32, Object)

Writes an object synchronously to an ADS device.

AdsConnection Methods 142:

WriteAny(UInt32, 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.

AdsConnection Methods 143:

WriteAny(UInt32, UInt32, Object, .Int32., 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.

AdsConnection Methods 144:

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.

AdsConnection Methods 145:

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.

AdsConnection Methods 146:

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.

AdsConnection Methods 147:

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

write any as an asynchronous operation.

AdsConnection Methods 148:

WriteAnyStringAsync(String, String, Int32, Encoding, CancellationToken)

write any string as an asynchronous operation.

AdsConnection Methods 149:

WriteAnyStringAsync(UInt32, String, Int32, Encoding, CancellationToken)

write any string as an asynchronous operation.

AdsConnection Methods 150:

WriteAsync(UInt32, ReadOnlyMemory.Byte., CancellationToken)

Writes the value data asynchronously that is represented by the writeBuffer to the symbol specified by the variableHandle.

AdsConnection Methods 151:

WriteAsync(UInt32, UInt32, CancellationToken)

Triggers a write call at the specified IndexGroup/IndexOffset asynchronously.

AdsConnection Methods 152:

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

Writes the data / Value asynchronously into the specified writeBuffer.

AdsConnection Methods 153:

WriteControl(StateInfo)

Changes the ADS status and the device status of an ADS server.

AdsConnection Methods 154:

WriteControl(StateInfo, Int32)

Changes the ADS status and the device status of an ADS server.

AdsConnection Methods 155:

WriteControl(StateInfo, ReadOnlyMemory.Byte.)

Changes the ADS status and the device status of an ADS server.

AdsConnection Methods 156:

WriteControl(StateInfo, ReadOnlyMemory.Byte., Int32)

Changes the ADS status and the device status of an ADS server.

AdsConnection Methods 157:

WriteControlAsync(AdsState, UInt16, CancellationToken)

Changes the ADS status and device status of the ADS server asynchronously.

AdsConnection Methods 158:

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

Writes the AdsState and device state to the ADS device.

AdsConnection Methods 159:

WriteSymbolAsync

Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol.

AdsConnection Methods 160:

WriteValue(ISymbol, Object)

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

AdsConnection Methods 161:

WriteValue(String, Object)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol.

AdsConnection Methods 162:

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.

AdsConnection Methods 163:

WriteValue.T.(String, T)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol.

AdsConnection Methods 164:

WriteValueAsync(ISymbol, Object, CancellationToken)

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

AdsConnection Methods 165:

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.

AdsConnection Methods 166:

WriteValueAsync.T.(String, T, CancellationToken)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol.

Extension Methods

 

Name

Description

AdsConnection Methods 167:

PollAdsState(IObservable.Unit.)

Overloaded.

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

AdsConnection Methods 168:

AdsConnection Methods 169:

PollAdsState(IObservable.Unit.)

Overloaded.

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

AdsConnection Methods 170:

AdsConnection Methods 171:

PollAdsState(TimeSpan)

Overloaded.

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

AdsConnection Methods 172:

AdsConnection Methods 173:

PollAdsState(TimeSpan)

Overloaded.

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

AdsConnection Methods 174:

PollAdsState2(IObservable.Unit.)

Overloaded.

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

AdsConnection Methods 175:

AdsConnection Methods 176:

PollAdsState2(TimeSpan)

Overloaded.

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

AdsConnection Methods 177:

PollAdsState2Async(IObservable.Unit., CancellationToken)

Overloaded.

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

AdsConnection Methods 178:

PollAdsState2Async(TimeSpan, CancellationToken)

Overloaded.

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

AdsConnection Methods 179:

AdsConnection Methods 180:

PollAdsStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

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

AdsConnection Methods 181:

AdsConnection Methods 182:

PollAdsStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

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

AdsConnection Methods 183:

AdsConnection Methods 184:

PollAdsStateAsync(TimeSpan, CancellationToken)

Overloaded.

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

AdsConnection Methods 185:

AdsConnection Methods 186:

PollAdsStateAsync(TimeSpan, CancellationToken)

Overloaded.

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

AdsConnection Methods 187:

PollDeviceState(IObservable.Unit.)

Overloaded.

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

AdsConnection Methods 188:

AdsConnection Methods 189:

PollDeviceState(TimeSpan)

Overloaded.

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

AdsConnection Methods 190:

AdsConnection Methods 191:

PollDeviceStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

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

AdsConnection Methods 192:

AdsConnection Methods 193:

PollDeviceStateAsync(TimeSpan, CancellationToken)

Overloaded.

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

AdsConnection Methods 194:

PollSystemServiceState

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

AdsConnection Methods 195:

PollSystemServiceStateAsync

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

AdsConnection Methods 196:

PollValues(ISymbol, Type, IObservable.Unit.)

Overloaded.

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

AdsConnection Methods 197:

PollValues(ISymbol, Type, TimeSpan)

Overloaded.

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

AdsConnection Methods 198:

PollValues(String, Type, IObservable.Unit.)

Overloaded.

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

AdsConnection Methods 199:

PollValues(String, Type, TimeSpan)

Overloaded.

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

AdsConnection Methods 200:

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

Overloaded.

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

AdsConnection Methods 201:

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

AdsConnection Methods 202:

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

AdsConnection Methods 203:

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

Overloaded.

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

AdsConnection Methods 204:

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

AdsConnection Methods 205:

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

AdsConnection Methods 206:

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

AdsConnection Methods 207:

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

AdsConnection Methods 208:

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

AdsConnection Methods 209:

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

AdsConnection Methods 210:

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

Overloaded.

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

AdsConnection Methods 211:

PollValues.T.(ISymbol, TimeSpan)

Overloaded.

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

AdsConnection Methods 212:

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

Overloaded.

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

AdsConnection Methods 213:

PollValues.T.(String, TimeSpan)

Overloaded.

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

AdsConnection Methods 214:

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

AdsConnection Methods 215:

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

AdsConnection Methods 216:

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

Overloaded.

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

AdsConnection Methods 217:

AdsConnection Methods 218:

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

Overloaded.

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

AdsConnection Methods 219:

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

AdsConnection Methods 220:

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

AdsConnection Methods 221:

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

Overloaded.

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

AdsConnection Methods 222:

AdsConnection Methods 223:

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

Overloaded.

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

AdsConnection Methods 224:

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

AdsConnection Methods 225:

AdsConnection Methods 226:

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

AdsConnection Methods 227:

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

AdsConnection Methods 228:

AdsConnection Methods 229:

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

AdsConnection Methods 230:

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

Overloaded.

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

AdsConnection Methods 231:

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

Overloaded.

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

AdsConnection Methods 232:

ReadSysServState

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

AdsConnection Methods 233:

ReadSysServStateAsync

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

AdsConnection Methods 234:

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

Overloaded.

Ads Read with fallback. (Defined by AdsClientExtensions.)

AdsConnection Methods 235:

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

Overloaded.

Ads Read with Fallback. (Defined by AdsClientExtensions.)

AdsConnection Methods 236:

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

Overloaded.

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

AdsConnection Methods 237:

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

Overloaded.

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

AdsConnection Methods 238:

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

Overloaded.

Repeated AdsRead. (Defined by AdsClientExtensions.)

AdsConnection Methods 239:

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

Overloaded.

Repeated AdsRead. (Defined by AdsClientExtensions.)

AdsConnection Methods 240:

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

Overloaded.

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

AdsConnection Methods 241:

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

Overloaded.

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

AdsConnection Methods 242:

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

AdsConnection Methods 243:

SetAdsState

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

AdsConnection Methods 244:

SetAdsStateAsync

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

AdsConnection Methods 245:

WaitUntilRestarted

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

AdsConnection Methods 246:

WaitUntilRestartedAsync

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

AdsConnection Methods 247:

AdsConnection Methods 248:

WhenAdsStateChanges

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

AdsConnection Methods 249:

WhenNotification(ISymbol)

Overloaded.

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

AdsConnection Methods 250:

AdsConnection Methods 251:

WhenNotification(ISymbolCollection)

Overloaded.

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

AdsConnection Methods 252:

AdsConnection Methods 253:

WhenNotification(IList.ISymbol., NotificationSettings)

Overloaded.

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

AdsConnection Methods 254:

WhenNotification(ISymbol, NotificationSettings)

Overloaded.

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

AdsConnection Methods 255:

AdsConnection Methods 256:

WhenNotification(String, Type, NotificationSettings)

Overloaded.

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

AdsConnection Methods 257:

AdsConnection Methods 258:

WhenNotification.T.(String, NotificationSettings)

Overloaded.

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

AdsConnection Methods 259:

WhenSymbolVersionChanges.

Overloaded.

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

AdsConnection Methods 260:

WhenSymbolVersionChanges(IScheduler)

Overloaded.

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

AdsConnection Methods 261:

AdsConnection Methods 262:

WhenValueChanged

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

AdsConnection Methods 263:

AdsConnection Methods 264:

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

Overloaded.

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

AdsConnection Methods 265:

AdsConnection Methods 266:

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

AdsConnection Class

TwinCAT.Ads Namespace