ConnectionStateExtension Class

Class ConnectionStateExtension.

Inheritance Hierarchy

SystemObject
  TwinCAT.Ads.ExtensionsConnectionStateExtension

Namespace: TwinCAT.Ads.Extensions
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public static class ConnectionStateExtension

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

TwinCAT.Ads.Extensions Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026