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 AdsCommunicationStatisticsThe AdsCommunicationStatistics type exposes the following members.
Properties
|
|
Name |
Description |
|---|---|---|
|
|
Gets the wait time for the next access (Resurrection time) if in Lost. | |
|
|
Gets the number of communication errors since the last successful access | |
|
|
Gets the DateTime of the last connection activation. | |
|
|
Gets the UTC time when the current connection was established. | |
|
|
Gets the connection lost time. | |
|
|
Gets the number of invalidated notification handles so far in this session. | |
|
|
Gets the Time of the last read/write access | |
|
|
Gets the last tripping error time. | |
|
|
Get the Time of the last occurred Error (Error response codes and tripping errors) | |
|
|
Gets error code of the last access. | |
|
|
Gets the Date/Time of the last succeeded ADS communication/Roundtrip. | |
|
|
Gets the number of received notification errors in this Session. | |
|
|
Gets the number of received notifications. | |
|
|
Gets the number of received AdsServer state changes in this session. | |
|
|
Gets the number of SymbolVersionChanges received in this session. | |
|
|
Gets the the count of registered Client handles | |
|
|
Gets the count of registered notifications. | |
|
|
Gets the UTC time when the session was established. | |
|
|
Gets the communication error count. | |
|
|
Gets the connection lost count. | |
|
|
Gets the total cycles/requests done so far by this session. | |
|
|
Gets the total number of negative ADS responses. | |
|
|
Gets the number of resurrections on the AdsConnection |
Methods
|
|
Name |
Description |
|---|---|---|
|
|
Determines whether the specified object is equal to the current
object. | |
|
|
Allows an object to try to free resources and perform other
cleanup operations before it is reclaimed by garbage
collection. | |
|
|
Serves as the default hash function. | |
|
|
Gets the Type of the current
instance. | |
|
|
Creates a shallow copy of the current Object. | |
|
|
Returns a string that represents the current object. |
Remarks
These Client-side statistics can be used for communication diagnosis. They contain Error/Succeed counts, Notification statistics and Resurrection infos.
- AdsCommunicationStatistics.AccessWaitTime Property
- AdsCommunicationStatistics.CommunicationErrorsSinceLastSucceeded Property
- AdsCommunicationStatistics.ConnectionActiveSince Property
- AdsCommunicationStatistics.ConnectionEstablishedAt Property
- AdsCommunicationStatistics.ConnectionLostAt Property
- AdsCommunicationStatistics.LastAccessAt Property
- AdsCommunicationStatistics.LastCommunicationErrorAt Property
- AdsCommunicationStatistics.LastErrorAt Property
- AdsCommunicationStatistics.LastErrorCode Property
- AdsCommunicationStatistics.LastSucceededAt Property
- AdsCommunicationStatistics.SessionEstablishedAt Property
- AdsCommunicationStatistics.TotalCommunicationErrors Property
- AdsCommunicationStatistics.TotalConnectionLosses Property
- AdsCommunicationStatistics.TotalCycles Property
- AdsCommunicationStatistics.TotalErrors Property
- AdsCommunicationStatistics.TotalResurrections Property