IAdsSymbolicAccess.TryWriteValue Method

Overload List

 

Name

Description

IAdsSymbolicAccess.TryWriteValue Method 1:

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.TryWriteValue Method 2:

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.TryWriteValue Method 3:

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.TryWriteValue Method 4:

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.

Reference

IAdsSymbolicAccess Interface

TwinCAT.Ads Namespace