AdsCommunicationStatistics Class

ADS Communication statistics

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.AdsCommunicationStatistics
Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 5.0.294+Branch.releases-5.0.Sha.90bb9a1b43b6095934fddca3e72bc0ea15da1c14

Syntax

C#

public class AdsCommunicationStatistics

The AdsCommunicationStatistics type exposes the following members.

Properties

 

Name

Description

AdsCommunicationStatistics Class 1:

AccessWaitTime

Gets the wait time for the next access (Resurrection time) if in Lost.

AdsCommunicationStatistics Class 2:

ConnectionActiveSince

Gets the UTC time of the last conenction activation.

AdsCommunicationStatistics Class 3:

ConnectionEstablishedAt

Gets the UTC time when the current connection was established.

AdsCommunicationStatistics Class 4:

ConnectionLostCount

Gets the connection lost count.

AdsCommunicationStatistics Class 5:

ConnectionLostTime

Gets the UTC connection lost time.

AdsCommunicationStatistics Class 6:

ConnectionResurrections

Gets the number of resurrections on the AdsConnection

AdsCommunicationStatistics Class 7:

ErrorsSinceLastSucceeded

Gets the error count since last access (UTC)

AdsCommunicationStatistics Class 8:

LastSucceededAccess

Gets the UTC time of the last succeeded access.

AdsCommunicationStatistics Class 9:

Resurrections

Gets the number of Resurrections of this Session.

AdsCommunicationStatistics Class 10:

SessionEstablishedAt

Gets the UTC time when the session was established.

AdsCommunicationStatistics Class 11:

TotalCycles

Gets the total cycles.

AdsCommunicationStatistics Class 12:

TotalErrors

Gets the total error count.

Methods

 

Name

Description

AdsCommunicationStatistics Class 13:

Equals

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

AdsCommunicationStatistics Class 14:

Finalize

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

AdsCommunicationStatistics Class 15:

GetHashCode

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

AdsCommunicationStatistics Class 16:

GetType

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

AdsCommunicationStatistics Class 17:

MemberwiseClone

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

AdsCommunicationStatistics Class 18:

ToString

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

Remarks

These statistics can be used for communication diagnosis. They contain Error/Succeed counts as well as Resurrection infos.

Reference

TwinCAT.Ads Namespace