TimeBase.ValueToTime Method (UInt32)

Converts the timeValue (PlcOpen ticks) to TimeSpan

Namespace:  TwinCAT.PlcOpen
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public static TimeSpan ValueToTime(
    uint timeValue
)

Parameters

timeValue

Type: System.UInt32
The time value.

Return Value

Type: TimeSpan

Reference

TimeBase Class

ValueToTime Overload

TwinCAT.PlcOpen Namespace