AdsClient.WriteSymbolAsync Method
Writes the passed object value to the specified ADS symbol.The parameter type must have the same layout as the ADS symbol.
          Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public Task<ResultWrite> WriteSymbolAsync(
string name,
Object value,
CancellationToken cancel
)
Parameters
| name | Type: System.String | 
| value | Type: System.Object | 
| cancel | Type: System.Threading.CancellationToken | 
Return Value
Type: Task.ResultWrite.
A task that represents the asynchronous 'WriteSymbol'
operation. The ResultWrite
parameter contains the ErrorCode after
execution.