TimeBase.ValueToTime Method (UInt32)

Converts the timeValue (PlcOpen ticks) to TimeSpan

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

Syntax

C#

public static TimeSpan ValueToTime(
    uint timeValue
)

VB

Public Shared Function ValueToTime ( 
    timeValue As UInteger
) As TimeSpan

Parameters

timeValue

Type: System.UInt32
The time value.

Return Value

Type: TimeSpan

Reference

TimeBase Class

ValueToTime Overload

TwinCAT.PlcOpen Namespace