AdsCommunicationStatistics Class
ADS Communication statistics
Inheritance Hierarchy
System.Object
TwinCAT.AdsCommunicationStatistics
Namespace: TwinCAT
Assembly: TwinCAT.Ads (in TwinCAT.Ads.dll)
Version: 6.0.328+39e3229
Syntax
C#
public class AdsCommunicationStatistics
The 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 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 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. (Inherited from Object.) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
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.