AdsClientReadValueAsync(String, Type, CancellationToken) Method
Read value as an asynchronous operation.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470
Syntax
C#
public Task<ResultAnyValue> ReadValueAsync(
string instancePath,
Type type,
CancellationToken cancel
)Parameters
|
instancePath String |
Name of the ADS symbol. |
|
type Type |
Managed type of the ADS symbol |
|
cancel CancellationToken |
The cancel token. |
Remarks
This method automatically marshals the read values to appropriate .NET objects if possible. The overall behaviour is described here in the interface description.
Reference
AdsClient Class ReadValueAsync Overload TwinCAT.Ads Namespace ReadValue(String, Type) TryReadValue(String, Type, Object)
Beckhoff Automation GmbH & Co. KG 2001-2026