IAdsSymbolicAccess Interface

Interface for symbolic ads access.

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

Syntax

C#

public interface IAdsSymbolicAccess

The IAdsSymbolicAccess type exposes the following members.

Methods

 

Name

Description

IAdsSymbolicAccess Interface 1:

CleanupSymbolTable

Clears the internal symbol / DataTypes cache.

IAdsSymbolicAccess Interface 2:

ReadDataType

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

IAdsSymbolicAccess Interface 3:

ReadDataTypeAsync

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

IAdsSymbolicAccess Interface 4:

ReadSymbol

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

IAdsSymbolicAccess Interface 5:

ReadSymbolAsync

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

IAdsSymbolicAccess Interface 6:

ReadValue(ISymbol)

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

IAdsSymbolicAccess Interface 7:

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.

IAdsSymbolicAccess Interface 8:

ReadValue.T.(ISymbol)

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

IAdsSymbolicAccess Interface 9:

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.

IAdsSymbolicAccess Interface 10:

ReadValueAsync(ISymbol, CancellationToken)

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

IAdsSymbolicAccess Interface 11:

ReadValueAsync(String, Type, CancellationToken)

Reads the value of a symbol asynchronously.

IAdsSymbolicAccess Interface 12:

ReadValueAsync.T.(ISymbol, CancellationToken)

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

IAdsSymbolicAccess Interface 13:

ReadValueAsync.T.(String, CancellationToken)

Reads the value of a symbol asynchronously.

IAdsSymbolicAccess Interface 14:

TryReadDataType

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

IAdsSymbolicAccess Interface 15:

TryReadSymbol

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

IAdsSymbolicAccess Interface 16:

TryReadValue(ISymbol, Object.)

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

IAdsSymbolicAccess Interface 17:

TryReadValue(String, Type, Object.)

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

IAdsSymbolicAccess Interface 18:

TryReadValue.T.(ISymbol, T.)

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

IAdsSymbolicAccess Interface 19:

TryReadValue.T.(String, T.)

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

IAdsSymbolicAccess Interface 20:

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.

IAdsSymbolicAccess Interface 21:

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.

IAdsSymbolicAccess Interface 22:

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.

IAdsSymbolicAccess Interface 23:

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.

IAdsSymbolicAccess Interface 24:

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.

IAdsSymbolicAccess Interface 25:

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.

IAdsSymbolicAccess Interface 26:

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.

IAdsSymbolicAccess Interface 27:

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.

IAdsSymbolicAccess Interface 28:

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.

IAdsSymbolicAccess Interface 29:

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.

IAdsSymbolicAccess Interface 30:

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.

Reference

TwinCAT.Ads Namespace