ConnectionStateExtension Methods

The ConnectionStateExtension type exposes the following members.

Methods

 

Name

Description

PollAdsState(IAdsConnection, IObservableUnit)

Gets an observable sequence of ResultReadAdsStates via Polling.

PollAdsState(IAdsConnection, TimeSpan)

Gets an observable sequence of ResultReadAdsStates via Polling.

PollAdsStateAsync(IAdsConnection, IObservableUnit, CancellationToken)

Gets an observable sequence of AdsStates via Polling.

PollAdsStateAsync(IAdsConnection, TimeSpan, CancellationToken)

Gets an observable sequence of AdsStates via Polling.

SetAdsState

Sends an AdsState/AdsStateCommand Request to an AdsServer and waits until the StateChange is done or fails.

SetAdsStateAsync

Sends an AdsState/AdsStateCommand Request to an AdsServer and waits until the StateChange is done or fails (asynchronously)

WaitForTargetState

Waits until the target AdsServer reaches the requested state.

WaitForTargetStateAsync

Waits until the target AdsServer reaches the requested state (asynchronous)

Reference

ConnectionStateExtension Class TwinCAT.Ads.Extensions Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026