AdsClient.WriteValueAsync Method

Overload List

 

Name

Description

AdsClient.WriteValueAsync Method 1:

WriteValueAsync(ISymbol, Object, CancellationToken)

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.

AdsClient.WriteValueAsync Method 2:

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.

AdsClient.WriteValueAsync Method 3:

WriteValueAsync.T.(String, T, CancellationToken)

Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol.

Reference

AdsClient Class

TwinCAT.Ads Namespace