TimeBaseTimeToValue Method

Converts the Timespan to PlcOpen ticks.


Namespace: TwinCAT.PlcOpen
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public static long TimeToValue(
    TimeSpan time
)

Parameters

time  TimeSpan

The time.

Return Value

Int64

Reference

TimeBase Class TwinCAT.PlcOpen Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026