IAdsConnectAddress Interface

Interface for method to connect the ADS client via AMS Address.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public interface IAdsConnectAddress : IAdsConnection, 
    IConnection, IConnectionStateProvider, IAdsNotifications, IAdsSymbolicAccess, IAdsAnyAccess, 
    IAdsHandle, IAdsReadWrite2, IAdsReadWrite, IAdsStateProvider, IAdsStateControl, 
    IAdsSymbolChangedProvider, IAdsRpcInvoke

The IAdsConnectAddress type exposes the following members.

Properties

 

Name

Description

IAdsConnectAddress Interface 1:

Address

Gets the AmsAddress of the ADS server. (Inherited from IAdsConnection.)

IAdsConnectAddress Interface 2:

ClientAddress

Get the AmsAddress of the ADS client. (Inherited from IAdsConnection.)

IAdsConnectAddress Interface 3:

IAdsConnectAddress Interface 4:

ConnectionState

Gets the current Connection state of the IConnectionStateProvider (Inherited from IConnectionStateProvider.)

IAdsConnectAddress Interface 5:

DefaultValueEncoding

Gets the default value encoding. (Inherited from IConnection.)

IAdsConnectAddress Interface 6:

Id

Gets the Connection Identifier . (Inherited from IConnection.)

IAdsConnectAddress Interface 7:

IsConnected

Gets a value indicating whether the local ADS port was opened successfully. It does not indicate if the target port is available. Use the method ReadState to determine if the target port is available. (Inherited from IConnection.)

IAdsConnectAddress Interface 8:

IsLocal

Gets a value indicating whether the ADS client is connected to a ADS Server on the local computer. (Inherited from IAdsConnection.)

IAdsConnectAddress Interface 9:

Session

Gets the session that initiated this IConnection (Inherited from IConnection.)

IAdsConnectAddress Interface 10:

Timeout

Gets the timeout (in milliseconds) (Inherited from IConnection.)

Methods

 

Name

Description

IAdsConnectAddress Interface 11:

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

IAdsConnectAddress Interface 12:

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

IAdsConnectAddress Interface 13:

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

IAdsConnectAddress Interface 14:

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

IAdsConnectAddress Interface 15:

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

IAdsConnectAddress Interface 16:

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

IAdsConnectAddress Interface 17:

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

IAdsConnectAddress Interface 18:

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

IAdsConnectAddress Interface 19:

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

IAdsConnectAddress Interface 20:

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

IAdsConnectAddress Interface 21:

CleanupSymbolTable

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

IAdsConnectAddress Interface 22:

Close

Closes this IConnection (Inherited from IConnection.)

IAdsConnectAddress Interface 23:

Connect.

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

IAdsConnectAddress Interface 24:

Connect(AmsAddress)

Connects the target ADS Device.

IAdsConnectAddress Interface 25:

Connect(Int32)

Connects to the local target ADS Device.

IAdsConnectAddress Interface 26:

Connect(AmsNetId, Int32)

Connects to the target ADS Device.

IAdsConnectAddress Interface 27:

Connect(String, Int32)

Connects to the target ADS Device.

IAdsConnectAddress Interface 28:

CreateVariableHandle

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

IAdsConnectAddress Interface 29:

CreateVariableHandleAsync

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

IAdsConnectAddress Interface 30:

DeleteDeviceNotification

Deletes a registered notification. (Inherited from IAdsNotifications.)

IAdsConnectAddress Interface 31:

DeleteDeviceNotificationAsync

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

IAdsConnectAddress Interface 32:

DeleteVariableHandle

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

IAdsConnectAddress Interface 33:

DeleteVariableHandleAsync

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

IAdsConnectAddress Interface 34:

Disconnect

Disconnects this IConnection. (Inherited from IConnection.)

IAdsConnectAddress Interface 35:

IAdsConnectAddress Interface 36:

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

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

IAdsConnectAddress Interface 37:

IAdsConnectAddress Interface 38:

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

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

IAdsConnectAddress Interface 39:

IAdsConnectAddress Interface 40:

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

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

IAdsConnectAddress Interface 41:

Read(UInt32, Memory.Byte.)

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

IAdsConnectAddress Interface 42:

Read(UInt32, UInt32, Memory.Byte.)

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

IAdsConnectAddress Interface 43:

ReadAny(UInt32, Type)

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

IAdsConnectAddress Interface 44:

ReadAny(UInt32, Type, .Int32.)

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

IAdsConnectAddress Interface 45:

ReadAny(UInt32, UInt32, Type)

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

IAdsConnectAddress Interface 46:

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

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

IAdsConnectAddress Interface 47:

ReadAny.T.(UInt32)

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

IAdsConnectAddress Interface 48:

ReadAny.T.(UInt32, .Int32.)

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

IAdsConnectAddress Interface 49:

ReadAny.T.(UInt32, UInt32)

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

IAdsConnectAddress Interface 50:

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

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

IAdsConnectAddress Interface 51:

ReadAnyAsync(UInt32, Type, CancellationToken)

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

IAdsConnectAddress Interface 52:

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

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

IAdsConnectAddress Interface 53:

ReadAnyAsync(UInt32, UInt32, Type, CancellationToken)

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

IAdsConnectAddress Interface 54:

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

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

IAdsConnectAddress Interface 55:

ReadAnyAsync.T.(UInt32, CancellationToken)

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

IAdsConnectAddress Interface 56:

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

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

IAdsConnectAddress Interface 57:

ReadAnyAsync.T.(UInt32, UInt32, CancellationToken)

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

IAdsConnectAddress Interface 58:

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

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

IAdsConnectAddress Interface 59:

ReadAnyString(UInt32, Int32, Encoding)

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

IAdsConnectAddress Interface 60:

ReadAnyString(UInt32, UInt32, Int32, Encoding)

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

IAdsConnectAddress Interface 61:

ReadAnyStringAsync(UInt32, Int32, Encoding, CancellationToken)

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

IAdsConnectAddress Interface 62:

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

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

IAdsConnectAddress Interface 63:

ReadAsync(UInt32, Memory.Byte., CancellationToken)

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

IAdsConnectAddress Interface 64:

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

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

IAdsConnectAddress Interface 65:

ReadDataType

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

IAdsConnectAddress Interface 66:

ReadDataTypeAsync

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

IAdsConnectAddress Interface 67:

ReadDeviceInfo

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

IAdsConnectAddress Interface 68:

ReadDeviceInfoAsync

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

IAdsConnectAddress Interface 69:

ReadState

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

IAdsConnectAddress Interface 70:

ReadStateAsync

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

IAdsConnectAddress Interface 71:

ReadSymbol

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

IAdsConnectAddress Interface 72:

ReadSymbolAsync

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

IAdsConnectAddress Interface 73:

ReadValue(ISymbol)

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

IAdsConnectAddress Interface 74:

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

IAdsConnectAddress Interface 75:

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

IAdsConnectAddress Interface 76:

ReadValueAsync(ISymbol, CancellationToken)

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

IAdsConnectAddress Interface 77:

ReadValueAsync(String, Type, CancellationToken)

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

IAdsConnectAddress Interface 78:

ReadValueAsync.T.(String, CancellationToken)

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

IAdsConnectAddress Interface 79:

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

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

IAdsConnectAddress Interface 80:

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

IAdsConnectAddress Interface 81:

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

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

IAdsConnectAddress Interface 82:

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

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

IAdsConnectAddress Interface 83:

RegisterAdsStateChangedAsync

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

IAdsConnectAddress Interface 84:

RegisterSymbolVersionChanged

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

IAdsConnectAddress Interface 85:

RegisterSymbolVersionChangedAsync

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

IAdsConnectAddress Interface 86:

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

IAdsConnectAddress Interface 87:

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

IAdsConnectAddress Interface 88:

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

IAdsConnectAddress Interface 89:

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

IAdsConnectAddress Interface 90:

TryCreateVariableHandle

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

IAdsConnectAddress Interface 91:

TryDeleteDeviceNotification

Deletes a registered notification. (Inherited from IAdsNotifications.)

IAdsConnectAddress Interface 92:

TryDeleteVariableHandle

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

IAdsConnectAddress Interface 93:

IAdsConnectAddress Interface 94:

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

Invokes the specified RPC Method (Inherited from IAdsRpcInvoke.)

IAdsConnectAddress Interface 95:

IAdsConnectAddress Interface 96:

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

Invokes the specified RPC Method (Inherited from IAdsRpcInvoke.)

IAdsConnectAddress Interface 97:

IAdsConnectAddress Interface 98:

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

Invokes the rpc method. (Inherited from IAdsRpcInvoke.)

IAdsConnectAddress Interface 99:

IAdsConnectAddress Interface 100:

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

Invokes the rpc method. (Inherited from IAdsRpcInvoke.)

IAdsConnectAddress Interface 101:

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

IAdsConnectAddress Interface 102:

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

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

IAdsConnectAddress Interface 103:

TryReadDataType

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

IAdsConnectAddress Interface 104:

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

IAdsConnectAddress Interface 105:

TryReadSymbol

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

IAdsConnectAddress Interface 106:

TryReadValue(ISymbol, Object.)

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

IAdsConnectAddress Interface 107:

TryReadValue(String, Type, Object.)

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

IAdsConnectAddress Interface 108:

TryReadValue.T.(ISymbol, T.)

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

IAdsConnectAddress Interface 109:

TryReadValue.T.(String, T.)

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

IAdsConnectAddress Interface 110:

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

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

IAdsConnectAddress Interface 111:

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

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

IAdsConnectAddress Interface 112:

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

IAdsConnectAddress Interface 113:

TryWrite(UInt32, UInt32, ReadOnlyMemory.Byte.)

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

IAdsConnectAddress Interface 114:

TryWriteControl(StateInfo)

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

IAdsConnectAddress Interface 115:

TryWriteControl(StateInfo, ReadOnlyMemory.Byte.)

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

IAdsConnectAddress Interface 116:

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

IAdsConnectAddress Interface 117:

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

IAdsConnectAddress Interface 118:

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

IAdsConnectAddress Interface 119:

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

IAdsConnectAddress Interface 120:

UnregisterAdsStateChangedAsync

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

IAdsConnectAddress Interface 121:

UnregisterSymbolVersionChanged

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

IAdsConnectAddress Interface 122:

UnregisterSymbolVersionChangedAsync

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

IAdsConnectAddress Interface 123:

Write(UInt32, ReadOnlyMemory.Byte.)

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

IAdsConnectAddress Interface 124:

Write(UInt32, UInt32)

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

IAdsConnectAddress Interface 125:

Write(UInt32, UInt32, ReadOnlyMemory.Byte.)

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

IAdsConnectAddress Interface 126:

WriteAny(UInt32, Object)

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

IAdsConnectAddress Interface 127:

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

IAdsConnectAddress Interface 128:

WriteAny(UInt32, UInt32, Object)

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

IAdsConnectAddress Interface 129:

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

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

IAdsConnectAddress Interface 130:

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

IAdsConnectAddress Interface 131:

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

IAdsConnectAddress Interface 132:

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

IAdsConnectAddress Interface 133:

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

IAdsConnectAddress Interface 134:

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

IAdsConnectAddress Interface 135:

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

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

IAdsConnectAddress Interface 136:

WriteControl(StateInfo)

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

IAdsConnectAddress Interface 137:

WriteControl(StateInfo, ReadOnlyMemory.Byte.)

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

IAdsConnectAddress Interface 138:

WriteControlAsync(AdsState, UInt16, CancellationToken)

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

IAdsConnectAddress Interface 139:

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

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

IAdsConnectAddress Interface 140:

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

IAdsConnectAddress Interface 141:

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

IAdsConnectAddress Interface 142:

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

IAdsConnectAddress Interface 143:

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

IAdsConnectAddress Interface 144:

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

IAdsConnectAddress Interface 145:

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

IAdsConnectAddress Interface 146:

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

Events

 

Name

Description

IAdsConnectAddress Interface 147:

IAdsConnectAddress Interface 148:

AdsNotification

Occurs when the ADS device sends a notification to the client. (Inherited from IAdsNotifications.)

IAdsConnectAddress Interface 149:

AdsNotificationError

Occurs when a exception has occurred during notification management. (Inherited from IAdsNotifications.)

IAdsConnectAddress Interface 150:

IAdsConnectAddress Interface 151:

AdsNotificationEx

Occurs when the ADS devices sends a notification to the client. (Inherited from IAdsNotifications.)

IAdsConnectAddress Interface 152:

AdsStateChanged

Occurs when the AdsState of the target system has been changed. (Inherited from IAdsStateProvider.)

IAdsConnectAddress Interface 153:

IAdsConnectAddress Interface 154:

AdsSumNotification

Occurs when Notifications are send (bundled notifications) (Inherited from IAdsNotifications.)

IAdsConnectAddress Interface 155:

AdsSymbolVersionChanged

Occurs when the ADS Symbol Version changed. (Inherited from IAdsSymbolChangedProvider.)

IAdsConnectAddress Interface 156:

IAdsConnectAddress Interface 157:

ConnectionStateChanged

Occurs when connection status of the IConnectionStateProvider has been changed. (Inherited from IConnectionStateProvider.)

Extension Methods

 

Name

Description

IAdsConnectAddress Interface 158:

PollAdsState(IObservable.Unit.)

Overloaded.

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

IAdsConnectAddress Interface 159:

IAdsConnectAddress Interface 160:

PollAdsState(IObservable.Unit.)

Overloaded.

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

IAdsConnectAddress Interface 161:

IAdsConnectAddress Interface 162:

PollAdsState(TimeSpan)

Overloaded.

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

IAdsConnectAddress Interface 163:

IAdsConnectAddress Interface 164:

PollAdsState(TimeSpan)

Overloaded.

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

IAdsConnectAddress Interface 165:

PollAdsState2(IObservable.Unit.)

Overloaded.

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

IAdsConnectAddress Interface 166:

IAdsConnectAddress Interface 167:

PollAdsState2(TimeSpan)

Overloaded.

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

IAdsConnectAddress Interface 168:

PollAdsState2Async(IObservable.Unit., CancellationToken)

Overloaded.

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

IAdsConnectAddress Interface 169:

PollAdsState2Async(TimeSpan, CancellationToken)

Overloaded.

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

IAdsConnectAddress Interface 170:

IAdsConnectAddress Interface 171:

PollAdsStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

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

IAdsConnectAddress Interface 172:

IAdsConnectAddress Interface 173:

PollAdsStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

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

IAdsConnectAddress Interface 174:

IAdsConnectAddress Interface 175:

PollAdsStateAsync(TimeSpan, CancellationToken)

Overloaded.

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

IAdsConnectAddress Interface 176:

IAdsConnectAddress Interface 177:

PollAdsStateAsync(TimeSpan, CancellationToken)

Overloaded.

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

IAdsConnectAddress Interface 178:

PollDeviceState(IObservable.Unit.)

Overloaded.

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

IAdsConnectAddress Interface 179:

IAdsConnectAddress Interface 180:

PollDeviceState(TimeSpan)

Overloaded.

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

IAdsConnectAddress Interface 181:

IAdsConnectAddress Interface 182:

PollDeviceStateAsync(IObservable.Unit., CancellationToken)

Overloaded.

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

IAdsConnectAddress Interface 183:

IAdsConnectAddress Interface 184:

PollDeviceStateAsync(TimeSpan, CancellationToken)

Overloaded.

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

IAdsConnectAddress Interface 185:

PollSystemServiceState

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

IAdsConnectAddress Interface 186:

PollSystemServiceStateAsync

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

IAdsConnectAddress Interface 187:

PollValues(ISymbol, Type, IObservable.Unit.)

Overloaded.

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

IAdsConnectAddress Interface 188:

PollValues(ISymbol, Type, TimeSpan)

Overloaded.

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

IAdsConnectAddress Interface 189:

PollValues(String, Type, IObservable.Unit.)

Overloaded.

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

IAdsConnectAddress Interface 190:

PollValues(String, Type, TimeSpan)

Overloaded.

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

IAdsConnectAddress Interface 191:

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

Overloaded.

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

IAdsConnectAddress Interface 192:

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

IAdsConnectAddress Interface 193:

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

IAdsConnectAddress Interface 194:

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

Overloaded.

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

IAdsConnectAddress Interface 195:

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

IAdsConnectAddress Interface 196:

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

IAdsConnectAddress Interface 197:

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

IAdsConnectAddress Interface 198:

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

IAdsConnectAddress Interface 199:

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

IAdsConnectAddress Interface 200:

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

IAdsConnectAddress Interface 201:

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

Overloaded.

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

IAdsConnectAddress Interface 202:

PollValues.T.(ISymbol, TimeSpan)

Overloaded.

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

IAdsConnectAddress Interface 203:

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

Overloaded.

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

IAdsConnectAddress Interface 204:

PollValues.T.(String, TimeSpan)

Overloaded.

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

IAdsConnectAddress Interface 205:

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

IAdsConnectAddress Interface 206:

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

IAdsConnectAddress Interface 207:

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

Overloaded.

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

IAdsConnectAddress Interface 208:

IAdsConnectAddress Interface 209:

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

Overloaded.

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

IAdsConnectAddress Interface 210:

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

IAdsConnectAddress Interface 211:

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

IAdsConnectAddress Interface 212:

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

Overloaded.

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

IAdsConnectAddress Interface 213:

IAdsConnectAddress Interface 214:

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

Overloaded.

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

IAdsConnectAddress Interface 215:

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

IAdsConnectAddress Interface 216:

IAdsConnectAddress Interface 217:

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

IAdsConnectAddress Interface 218:

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

IAdsConnectAddress Interface 219:

IAdsConnectAddress Interface 220:

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

IAdsConnectAddress Interface 221:

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

Overloaded.

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

IAdsConnectAddress Interface 222:

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

Overloaded.

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

IAdsConnectAddress Interface 223:

ReadSysServState

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

IAdsConnectAddress Interface 224:

ReadSysServStateAsync

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

IAdsConnectAddress Interface 225:

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

Overloaded.

Ads Read with fallback. (Defined by AdsClientExtensions.)

IAdsConnectAddress Interface 226:

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

Overloaded.

Ads Read with Fallback. (Defined by AdsClientExtensions.)

IAdsConnectAddress Interface 227:

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

Overloaded.

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

IAdsConnectAddress Interface 228:

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

Overloaded.

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

IAdsConnectAddress Interface 229:

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

Overloaded.

Repeated AdsRead. (Defined by AdsClientExtensions.)

IAdsConnectAddress Interface 230:

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

Overloaded.

Repeated AdsRead. (Defined by AdsClientExtensions.)

IAdsConnectAddress Interface 231:

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

Overloaded.

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

IAdsConnectAddress Interface 232:

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

Overloaded.

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

IAdsConnectAddress Interface 233:

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

IAdsConnectAddress Interface 234:

SetAdsState

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

IAdsConnectAddress Interface 235:

SetAdsStateAsync

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

IAdsConnectAddress Interface 236:

WaitUntilRestarted

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

IAdsConnectAddress Interface 237:

WaitUntilRestartedAsync

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

IAdsConnectAddress Interface 238:

IAdsConnectAddress Interface 239:

WhenAdsStateChanges

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

IAdsConnectAddress Interface 240:

WhenNotification(ISymbol)

Overloaded.

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

IAdsConnectAddress Interface 241:

IAdsConnectAddress Interface 242:

WhenNotification(ISymbolCollection)

Overloaded.

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

IAdsConnectAddress Interface 243:

IAdsConnectAddress Interface 244:

WhenNotification(IList.ISymbol., NotificationSettings)

Overloaded.

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

IAdsConnectAddress Interface 245:

WhenNotification(ISymbol, NotificationSettings)

Overloaded.

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

IAdsConnectAddress Interface 246:

IAdsConnectAddress Interface 247:

WhenNotification(String, Type, NotificationSettings)

Overloaded.

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

IAdsConnectAddress Interface 248:

IAdsConnectAddress Interface 249:

WhenNotification.T.(String, NotificationSettings)

Overloaded.

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

IAdsConnectAddress Interface 250:

WhenSymbolVersionChanges.

Overloaded.

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

IAdsConnectAddress Interface 251:

WhenSymbolVersionChanges(IScheduler)

Overloaded.

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

IAdsConnectAddress Interface 252:

IAdsConnectAddress Interface 253:

WhenValueChanged

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

IAdsConnectAddress Interface 254:

IAdsConnectAddress Interface 255:

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

Overloaded.

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

IAdsConnectAddress Interface 256:

IAdsConnectAddress Interface 257:

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

TwinCAT.Ads Namespace