Method WriteDO4ThresholdAsync
WriteDO4ThresholdAsync(short, CancellationToken)
Asynchronously writes a value to the DO4Threshold register.
public Task WriteDO4ThresholdAsync(short value, CancellationToken cancellationToken = default)
Parameters
valueshortThe value to be stored in the register.
cancellationTokenCancellationTokenA CancellationToken which can be used to cancel the operation.
Returns
- Task
The task object representing the asynchronous write operation.