ResultWriteControl Class

Class ResultWriteControl. Implements the ResultAds

Inheritance Hierarchy

SystemObject
  TwinCAT.AdsResultWriteControl

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

Syntax

C#

public class ResultWriteControl

The ResultWriteControl type exposes the following members.

Constructors

 

Name

Description

ResultWriteControl(ResultWriteControl)

Initializes a new instance of the ResultWriteControl class.

ResultWriteControl(AmsAddress, Boolean, AdsErrorCode, AdsStateCommand, AdsState, AdsState, TimeSpan, Int32)

Initializes a new instance of the ResultWriteControl class.

Properties

 

Name

Description

Empty

Gets the empty ResultWriteControl

Methods

 

Name

Description

Create

Creates an ResultWriteControl object.

CreateFailed(AmsAddress, AdsErrorCode, AdsStateCommand)

Creates a failed ResultWriteControl object.

CreateFailed(AmsAddress, AdsErrorCode, AdsStateCommand, AdsState)

Creates a failed ResultWriteControl object.

CreateFailed(AmsAddress, AdsErrorCode, AdsStateCommand, AdsState, AdsState)

Creates a failed ResultWriteControl object.

CreateSucceeded

Creates a succeeding ResultWriteControl object.

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)

GetHashCode

Serves as the default hash function.
(Inherited from Object)

GetType

Gets the Type of the current instance.
(Inherited from Object)

MemberwiseClone

Creates a shallow copy of the current Object.
(Inherited from Object)

ToString

Returns a string that represents the current object.
(Inherited from Object)

Fields

 

Name

Description

Address

The address

AdsErrorCode

The AdsErrorCode that was produced with the WriteControl/ReadStates.

Latency

The latency/duration until the Result state has been reached.

Original

The original state before the request is sent.

PollCycles

The Polling cycles occurred until the result is taken.

Reached

The reached AdsState after the AdsStateCommand request has been sent (Resulting state)

Requested

The AdsStateCommand (Request)

Succeeded

Gets an indication if the WriteControl request has been succeeded overall.

Reference

TwinCAT.Ads Namespace ResultAds

Beckhoff Automation GmbH & Co. KG 2001-2026