LTimeBase.ValueToTime Method (UInt64)

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(
    ulong nanoseconds
)

Parameters

nanoseconds

Type: System.UInt64
The time value.

Return Value

Type: TimeSpan

Reference

LTimeBase Class

ValueToTime Overload

TwinCAT.PlcOpen Namespace