AdsCommunicationStatistics Class

ADS Communication statistics

Inheritance Hierarchy

SystemObject
  TwinCATAdsCommunicationStatistics

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

Syntax

C#

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.

CommunicationErrorsSinceLastSucceeded

Gets the number of communication errors since the last successful access

ConnectionActiveSince

Gets the DateTime of the last connection activation.

ConnectionEstablishedAt

Gets the UTC time when the current connection was established.

ConnectionLostAt

Gets the connection lost time.

InvalidatedNotificationHandles

Gets the number of invalidated notification handles so far in this session.

LastAccessAt

Gets the Time of the last read/write access

LastCommunicationErrorAt

Gets the last tripping error time.

LastErrorAt

Get the Time of the last occurred Error (Error response codes and tripping errors)

LastErrorCode

Gets error code of the last access.

LastSucceededAt

Gets the Date/Time of the last succeeded ADS communication/Roundtrip.

ReceivedNotificationErrors

Gets the number of received notification errors in this Session.

ReceivedNotifications

Gets the number of received notifications.

ReceivedStateChanges

Gets the number of received AdsServer state changes in this session.

ReceivedSymbolVersionChanges

Gets the number of SymbolVersionChanges received in this session.

RegisteredHandles

Gets the the count of registered Client handles

RegisteredNotifications

Gets the count of registered notifications.

SessionEstablishedAt

Gets the UTC time when the session was established.

TotalCommunicationErrors

Gets the communication error count.

TotalConnectionLosses

Gets the connection lost count.

TotalCycles

Gets the total cycles/requests done so far by this session.

TotalErrors

Gets the total number of negative ADS responses.

TotalResurrections

Gets the number of resurrections on the AdsConnection

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 Client-side statistics can be used for communication diagnosis. They contain Error/Succeed counts, Notification statistics and Resurrection infos.

Reference

TwinCAT Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026