TIME Class

PlcOpen TIME class

Inheritance Hierarchy

SystemObject
  TwinCAT.PlcOpenTimeBase
    TwinCAT.PlcOpenTIME

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

Syntax

C#

public sealed class TIME : TimeBase

The TIME type exposes the following members.

Constructors

 

Name

Description

TIME Class 1:

TIME

Initializes a new instance of the TIME class.

TIME Class 2:

TIME(Int64)

Initializes a new instance of the TIME class.

TIME Class 3:

TIME(TimeSpan)

Initializes a new instance of the TIME class.

TIME Class 4:

TIME(UInt32)

Initializes a new instance of the TIME class.

TIME Class 5:

TIME(Int32, Int32)

Initializes a new instance of the TIME class.

TIME Class 6:

TIME(Int32, Int32, Int32, Int32, Int32)

Initializes a new instance of the TIME class.

Properties

 

Name

Description

TIME Class 7:

InternalTimeValue

Gets the internal time value.
(Inherited from TimeBase)

TIME Class 8:

Ticks

Returns the number of ticks that represent the value of this TimeBase (uint32 or uint64).
(Inherited from TimeBase)

TIME Class 9:

Time

Gets the time value.
(Inherited from TimeBase)

Methods

 

Name

Description

TIME Class 10:

Equals

Determines whether the specified Object is equal to this instance.
(Inherited from TimeBase)

TIME Class 11:

GetHashCode

Gets the HashCode of the Address
(Inherited from TimeBase)

TIME Class 12:

GetType

Gets the Type of the current instance.
(Inherited from Object)

TIME Class 13:

TIME Class 14:

Parse

Parses the specified string to a TIME object.

TIME Class 15:

ToString

Returns a String that represents this instance.
(Overrides ObjectToString)

TIME Class 16:

TIME Class 17:

TryParse

Tries to parse the TIME object from string.

Remarks

This class has an internal representation of an UINT32 (4 bytes).

Reference

TwinCAT.PlcOpen Namespace

Beckhoff Automation GmbH & Co. KG 2001-2026