AdsConnection.AccessWaitTime Property

Gets the access wait time.

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

Syntax

C#

public TimeSpan AccessWaitTime { get; }

VB

Public ReadOnly Property AccessWaitTime As TimeSpan
    Get

Property Value

Type: TimeSpan
The access wait time.

Remarks

Gets the Wait Time until the next communication try will be done. This time is calculated as follows: ResurrectionTime - (DateTime.Now - ConnectionLostTime)

Reference

AdsConnection Class

TwinCAT.Ads Namespace

AdsConnection.ConnectionLostTime

SessionSettings.ResurrectionTime