AdsCommunicationStatistics Class

ADS Communication statistics

Inheritance Hierarchy

System.Object
  TwinCAT.Ads.AdsCommunicationStatistics
Namespace:  TwinCAT.Ads
Assembly:  TwinCAT.Ads (in TwinCAT.Ads.dll) Version: 4.3.0.0

Syntax

C#

public class AdsCommunicationStatistics

VB

Public Class AdsCommunicationStatistics

The AdsCommunicationStatistics type exposes the following members.

Properties

 

Name

Description

AccessWaitTime

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

ConnectionActiveSince

Gets the UTC time of the last conenction activation.

ConnectionEstablishedAt

Gets the UTC time when the current connection was established.

ConnectionLostCount

Gets the connection lost count.

ConnectionLostTime

Gets the UTC connection lost time.

ConnectionResurrections

Gets the number of resurrections on the AdsConnection

ErrorsSinceLastSucceeded

Gets the error count since last access (UTC)

LastSucceededAccess

Gets the UTC time of the last succeeded access.

Resurrections

Gets the number of Resurrections of this Session.

SessionEstablishedAt

Gets the UTC time when the session was established.

TotalCycles

Gets the total cycles.

TotalErrors

Gets the total error count.

Methods

 

Name

Description

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.)

Remarks

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

Reference

TwinCAT.Ads Namespace