LTimeBase.ValueToTime Method (UInt64)
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(
ulong nanoseconds
)
VB
Public Shared Function ValueToTime (
nanoseconds As ULong
) As TimeSpan
Parameters
nanoseconds |
Type: System.UInt64 |
Return Value
Type: TimeSpan