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