IAdsSymbolicAccess Methods

The IAdsSymbolicAccess type exposes the following members.

Methods

 

Name

Description

IAdsSymbolicAccess Methods 1:

CleanupSymbolTable

Clears the internal symbol / DataTypes cache.

IAdsSymbolicAccess Methods 2:

ReadDataType

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

IAdsSymbolicAccess Methods 3:

ReadDataTypeAsync

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

IAdsSymbolicAccess Methods 4:

ReadSymbol

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

IAdsSymbolicAccess Methods 5:

ReadSymbolAsync

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

IAdsSymbolicAccess Methods 6:

ReadValue(ISymbol)

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

IAdsSymbolicAccess Methods 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 Methods 8:

ReadValue.T.(ISymbol)

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

IAdsSymbolicAccess Methods 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 Methods 10:

ReadValueAsync(ISymbol, CancellationToken)

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

IAdsSymbolicAccess Methods 11:

ReadValueAsync(String, Type, CancellationToken)

Reads the value of a symbol asynchronously.

IAdsSymbolicAccess Methods 12:

ReadValueAsync.T.(ISymbol, CancellationToken)

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

IAdsSymbolicAccess Methods 13:

ReadValueAsync.T.(String, CancellationToken)

Reads the value of a symbol asynchronously.

IAdsSymbolicAccess Methods 14:

TryReadDataType

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

IAdsSymbolicAccess Methods 15:

TryReadSymbol

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

IAdsSymbolicAccess Methods 16:

TryReadValue(ISymbol, Object.)

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

IAdsSymbolicAccess Methods 17:

TryReadValue(String, Type, Object.)

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

IAdsSymbolicAccess Methods 18:

TryReadValue.T.(ISymbol, T.)

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

IAdsSymbolicAccess Methods 19:

TryReadValue.T.(String, T.)

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

IAdsSymbolicAccess Methods 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 Methods 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 Methods 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 Methods 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 Methods 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 Methods 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 Methods 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 Methods 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 Methods 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 Methods 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 Methods 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

IAdsSymbolicAccess Interface

TwinCAT.Ads Namespace