TcAdsClient Methods
The TcAdsClient type exposes the following members.
Methods
|
Name |
Description |
---|---|---|
|
AddDeviceNotification(String, AdsStream, AdsTransMode, Int32, Int32, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotification(String, AdsStream, AdsTransMode, TimeSpan, TimeSpan, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotification(UInt32, UInt32, AdsStream, AdsTransMode, Int32, Int32, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotification(UInt32, UInt32, AdsStream, AdsTransMode, TimeSpan, TimeSpan, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotification(String, AdsStream, Int32, Int32, AdsTransMode, Int32, Int32, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotification(String, AdsStream, Int32, Int32, AdsTransMode, TimeSpan, TimeSpan, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotification(UInt32, UInt32, AdsStream, Int32, Int32, AdsTransMode, Int32, Int32, Object) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. | |
|
AddDeviceNotificationEx(String, AdsTransMode, Int32, Int32, Object, Type) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(String, AdsTransMode, TimeSpan, TimeSpan, Object, Type) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(String, AdsTransMode, Int32, Int32, Object, Type, .Int32.) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(String, AdsTransMode, TimeSpan, TimeSpan, Object, Type, .Int32.) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(UInt32, UInt32, AdsTransMode, Int32, Int32, Object, Type) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(UInt32, UInt32, AdsTransMode, TimeSpan, TimeSpan, Object, Type) |
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. |
|
AddDeviceNotificationEx(UInt32, UInt32, AdsTransMode, Int32, Int32, 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. At the moment only 1 dimensional Arrays are supported. |
|
AddDeviceNotificationEx(UInt32, UInt32, AdsTransMode, TimeSpan, TimeSpan, 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. At the moment only 1 dimensional Arrays are supported. |
|
Closes this IConnection | |
|
Establishes a connection to a ADS device using the local netID. | |
|
Establishes a connection to a ADS device. | |
|
Establishes a connection to a ADS device. | |
|
Establishes a connection to a ADS device. | |
|
Establishes a connection to a ADS device. | |
|
Establishes a connection to a ADS device. | |
|
Obsolete. Creates a new instance of the TcAdsSymbolInfoLoader class (Symbol Browser V1, obsolete). | |
|
Generates a unique handle for an ADS variable. | |
|
Deletes an existing notification. | |
|
Releases the handle of a ADS variable again. | |
|
Disconnects the TcAdsClient | |
|
Releases the resources used by TcAdsClient. | |
|
Disposes the TcAdsClient. | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Finalizes an instance of the TcAdsClient class. (Overrides Object.Finalize..) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Invokes the specified RPC Method | |
|
Invokes the RPC method. | |
|
Invokes the specified RPC Method | |
|
Invokes the RPC method. | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Called when before the TcAdsClient is disconnected. | |
|
Called when the ConnectionState of the TcAdsClient has changed. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to an object. | |
|
Reads data synchronously from an ADS device and writes it to an object. | |
|
Reads data synchronously from an ADS device and writes it to an object. | |
|
Reads data synchronously from an ADS device and writes it to an object. | |
|
Reads the string. | |
|
Reads the string | |
|
Reads the identification and version number of an ADS server. | |
|
Reads the ADS status and the device status from an ADS server. | |
|
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. | |
|
Reads the value of a symbol and returns the value as object. The parameter type must have the same layout as the ADS symbol. | |
|
Call this method to obtain information about the individual symbols (variables) in ADS devices. | |
|
Writes data synchronously to an ADS device and then Reads data from this device. | |
|
ReadWrite(Int32, AdsStream, Int32, Int32, AdsStream, Int32, Int32) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
ReadWrite(UInt32, UInt32, .Byte., Int32, Int32, .Byte., Int32, Int32) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
ReadWrite(UInt32, UInt32, AdsStream, Int32, Int32, AdsStream, Int32, Int32) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
Returns a string that represents the current object. (Inherited from Object.) | |
|
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. | |
|
Connects a variable to the ADS client. The ADS client will be notified by the AdsNotification event. | |
|
Deletes an existing notification. | |
|
Invokes the specified RPC Method | |
|
Tries to invoke the RPC method. | |
|
Invokes the specified RPC Method | |
|
Tries to invoke a RPC method. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
Reads data synchronously from an ADS device and writes it to the given stream. | |
|
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 successfull. | |
|
TryReadWrite(Int32, .Byte., Int32, Int32, .Byte., Int32, Int32, Int32.) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
TryReadWrite(Int32, AdsStream, Int32, Int32, AdsStream, Int32, Int32, Int32.) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
TryReadWrite(UInt32, UInt32, .Byte., Int32, Int32, .Byte., Int32, Int32, Int32.) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
TryReadWrite(UInt32, UInt32, AdsStream, Int32, Int32, AdsStream, Int32, Int32, Int32.) |
Writes data synchronously to an ADS device and then Reads data from this device. |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Trigger Client Method/Command. | |
|
Writes data synchronously to an ADS device. | |
|
Trigger Client Method/Command. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes data synchronously to an ADS device. | |
|
Writes an object synchronously to an ADS device. | |
|
Writes an object synchronously to an ADS device. | |
|
Writes an object synchronously to an ADS device. | |
|
Writes an object synchronously to an ADS device. | |
|
Writes the string (Potentially unsafe!) | |
|
Writes the string (Potentially unsafe!) | |
|
Changes the ADS status and the device status of an ADS server. | |
|
Changes the ADS status and the device status of an ADS server. | |
|
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. | |
|
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 |
---|---|---|
|
Overloaded. Gets an observable sequence of AdsStates via Polling. (Defined by AdsClientExtensions.) | |
|
Overloaded. Gets an observable sequence of AdsStates via Polling. (Defined by AdsClientExtensions.) | |
|
Overloaded. Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.) | |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
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.) |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
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.) |
|
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.) |
|
Overloaded. Polls the symbol values on timepoints where the polling observable streams data / triggers (Defined by AnyTypeExtensions.) | |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
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.) |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
Overloaded. Polls the symbol values on time points where the polling observable streams data / triggers (Defined by AnyTypeExtensions.) | |
|
Overloaded. Polls the symbol as value sequence of object values with a specified period time. (Defined by AnyTypeExtensions.) | |
|
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.) |
|
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.) |
|
Gets an observable sequence of AdsStates. (Defined by AdsClientExtensions.) | |
|
Overloaded. Gets an observable sequence of Notifications. (Defined by AdsClientExtensions.) | |
|
Overloaded. Gets an observable sequence of Notification objects. (Defined by AdsClientExtensions.) | |
|
Overloaded. Gets an observable sequence of Notifications. (Defined by AdsClientExtensions.) | |
|
Overloaded. Gets an observable sequence of Notification objects. (Defined by AdsClientExtensions.) | |
|
Observable sequence of Values driven by ADS Notifications on the specified symbol. (Defined by ValueSymbolExtensions.) | |
|
Overloaded. Writes the sequence of values to the symbol specified by the instance path. (Defined by AnyTypeExtensions.) | |
|
Overloaded. Writes the sequence of values to the symbol specified by the instance path. (Defined by AnyTypeExtensions.) |
- TcAdsClient.AddDeviceNotification Method
- TcAdsClient.AddDeviceNotificationEx Method
- TcAdsClient.Close Method
- TcAdsClient.Connect Method
- TcAdsClient.CreateSymbolInfoLoader Method
- TcAdsClient.CreateVariableHandle Method
- TcAdsClient.DeleteDeviceNotification Method
- TcAdsClient.DeleteVariableHandle Method
- TcAdsClient.Disconnect Method
- TcAdsClient.Dispose Method
- TcAdsClient.Finalize Method
- TcAdsClient.InvokeRpcMethod Method
- TcAdsClient.OnBeforeDisconnect Method
- TcAdsClient.OnConnectionStateChanged Method
- TcAdsClient.Read Method
- TcAdsClient.ReadAny Method
- TcAdsClient.ReadAnyString Method
- TcAdsClient.ReadDeviceInfo Method
- TcAdsClient.ReadState Method
- TcAdsClient.ReadSymbol Method
- TcAdsClient.ReadSymbolInfo Method
- TcAdsClient.ReadWrite Method
- TcAdsClient.TryAddDeviceNotification Method
- TcAdsClient.TryAddDeviceNotificationEx Method
- TcAdsClient.TryDeleteDeviceNotification Method
- TcAdsClient.TryInvokeRpcMethod Method
- TcAdsClient.TryRead Method
- TcAdsClient.TryReadState Method
- TcAdsClient.TryReadWrite Method
- TcAdsClient.TryWrite Method
- TcAdsClient.TryWriteControl Method
- TcAdsClient.Write Method
- TcAdsClient.WriteAny Method
- TcAdsClient.WriteAnyString Method
- TcAdsClient.WriteControl Method
- TcAdsClient.WriteSymbol Method