IAdsSymbolicAccess Interface

Interface for symbolic ADS access (Read or Write)


Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

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

Reads/Determines the DataType Inforrmation with the specifed name.

IAdsSymbolicAccess Interface 3:

ReadDataTypeAsync

Reads/Determines the DataType of the specified type as an asynchronous operation.

IAdsSymbolicAccess Interface 4:

ReadSymbol

Reads the symbol information about an individual variable in ADS devices.

IAdsSymbolicAccess Interface 5:

ReadSymbolAsync

Reads the symbol information object specified by the instance path as an asynchronous operation.

IAdsSymbolicAccess Interface 6:

ReadValue(ISymbol)

Reads the value of a symbol and returns the value as (boxed) object.

IAdsSymbolicAccess Interface 7:

ReadValue(String)

Reads the value of a symbol specified with its instance path and returns the value as boxed object.

IAdsSymbolicAccess Interface 8:

ReadValue(String, Type)

Reads the value of a symbol specified with its instance path and returns the value as object of the specified type.

IAdsSymbolicAccess Interface 9:

ReadValueT(ISymbol)

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

IAdsSymbolicAccess Interface 10:

ReadValueT(String)

Reads the value of a symbol and returns the value as specified type.

IAdsSymbolicAccess Interface 11:

ReadValueAsync(ISymbol, CancellationToken)

Reads the value of a symbol as an asynchronous operation and returns the value as an (boxed) object.

IAdsSymbolicAccess Interface 12:

ReadValueAsync(String, Type, CancellationToken)

Reads the typed value of a symbol as an asynchronous operation.

IAdsSymbolicAccess Interface 13:

ReadValueAsyncT(ISymbol, CancellationToken)

Reads the value of a symbol as an asynchornous operation and returns the value of the specified type.

IAdsSymbolicAccess Interface 14:

ReadValueAsyncT(String, CancellationToken)

Reads the typed value of a symbol specified by the instance path as an asynchronous operation.

IAdsSymbolicAccess Interface 15:

TryReadDataType

Tries to Read/Determine the DataType of the specified type.

IAdsSymbolicAccess Interface 16:

TryReadSymbol

Tries to read the symbol information object specified by the instance path.

IAdsSymbolicAccess Interface 17:

TryReadValue(ISymbol, Object)

Tries to read the value of a symbol and returns the value as boxed object.

IAdsSymbolicAccess Interface 18:

TryReadValue(String, Type, Object)

Tries to the value of a symbol specified as instance path and returns the value as (boxed) object.

IAdsSymbolicAccess Interface 19:

TryReadValueT(ISymbol, T)

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

IAdsSymbolicAccess Interface 20:

TryReadValueT(String, T)

Tries to reads the value of a symbol specified with instance path and returns the typed value.

IAdsSymbolicAccess Interface 21:

TryWriteValue(ISymbol, Object)

Tries to write a (boxed) value to the symbol

IAdsSymbolicAccess Interface 22:

TryWriteValue(String, Object)

Tries to write a (boxed) value to the symbol instance specified by its instance/symbol path.

IAdsSymbolicAccess Interface 23:

TryWriteValueT(ISymbol, T)

Tries to write a value to the symbol.

IAdsSymbolicAccess Interface 24:

TryWriteValueT(String, T)

Tries to Write a (typed) value to the symbol instance specified by its instance/symbol path.

IAdsSymbolicAccess Interface 25:

WriteValue(ISymbol, Object)

Writes a (boxed) value to the symbol.

IAdsSymbolicAccess Interface 26:

WriteValue(String, Object)

Writes a (boxed value) to the symbol instance specified by its instance/symbol path.

IAdsSymbolicAccess Interface 27:

WriteValueT(ISymbol, T)

Writes a (typed) value to the symbol.

IAdsSymbolicAccess Interface 28:

WriteValueT(String, T)

Writes a typed value to the symbol instance specified by its instance/symbol path.

IAdsSymbolicAccess Interface 29:

WriteValueAsync(ISymbol, Object, CancellationToken)

Writes a (boxed) value to the symbol as an asynchronous operation.

IAdsSymbolicAccess Interface 30:

WriteValueAsyncT(ISymbol, T, CancellationToken)

Writes a (typed) value to the symbol as an asynchronous operation.

IAdsSymbolicAccess Interface 31:

WriteValueAsyncT(String, T, CancellationToken)

Writes a (typed) value to the symbol instance specified by its instance/symbol path as an asynchronous operation.

Remarks

To convert the read ADS value to its appropriate .NET type or writing to ADS, the following rules take place:

For writing values:

Reference

TwinCAT.Ads Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026