IAdsSymbolicAccess.WriteValue.T. Method (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.

Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

void WriteValue<T>(
    string symbolPath,
    T value
)

Parameters

symbolPath

Type: System.String
Name of the ADS symbol.

value

Type: T
Object holding the value to be written to the ADS symbol

Type Parameters

T

the value type.

Reference

IAdsSymbolicAccess Interface

WriteValue Overload

TwinCAT.Ads Namespace

IAdsSymbolicAccess.TryWriteValue.T.(String, T)

IAdsSymbolicAccess.WriteValueAsync.T.(String, T, CancellationToken)