IAdsSymbolicAccess.TryReadValue Method (String, Type, Object.)
Reads the value of a symbol and returns the value as object.
Namespace: TwinCAT.Ads
Assembly: TwinCAT.Ads.Abstractions (in
TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229
Syntax
C#
AdsErrorCode TryReadValue(
string symbolPath,
Type type,
out Object?? value
)
Parameters
symbolPath |
Type: System.String |
type |
Type: System.Type |
value |
Type: System.Object. |
Remarks
The parameter type must have the same binary layout as the ADS symbol.