PlcS5TimeInfo Members

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcS5TimeInfo type exposes the following members.

PlcS5TimeInfo(PlcIdentity, PlcName)

Initializes a new instance of the PlcS5TimeInfo class using the specified identity and name.

C#

public PlcS5TimeInfo(PlcIdentity identity, PlcName name)


Parameters

identity PlcIdentity

The PlcIdentity of the type of value member.

name PlcName

The name of the value member.


Exceptions

ArgumentException

The identity does not refer to the Word.

ArgumentNullException

The identity or name is a null reference (Nothing in Visual Basic).

PlcS5TimeInfo(PlcIdentity, PlcName, TimeSpan)

Initializes a new instance of the PlcS5TimeInfo class using the specified identity, name and initialValue.

C#

public PlcS5TimeInfo(PlcIdentity identity, PlcName name, TimeSpan initialValue)


Parameters

identity PlcIdentity

The PlcIdentity of the type of value member.

name PlcName

The name of the value member.

initialValue TimeSpan

The initial value of the new PlcS5TimeInfo.


Exceptions

ArgumentException

The identity does not refer to the Word.

ArgumentNullException

The identity, or name is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

The initialValue is out of the bounds defined by MinValue and MaxValue.

PlcS5TimeInfo(PlcName)

Initializes a new instance of the PlcS5TimeInfo class using the specified name

C#

public PlcS5TimeInfo(PlcName name)


Parameters

name PlcName

The name of the value member.


Exceptions

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

PlcS5TimeInfo(PlcName, TimeSpan)

Initializes a new instance of the PlcS5TimeInfo class using the specified name and initialValue.

C#

public PlcS5TimeInfo(PlcName name, TimeSpan initialValue)


Parameters

name PlcName

The name of the value member.

initialValue TimeSpan

The initial value of the new PlcS5TimeInfo.


Exceptions

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

The initialValue is out of the bounds defined by MinValue and MaxValue.

PlcS5TimeInfo(PlcS5TimeType, PlcName)

Initializes a new instance of the PlcS5TimeInfo class using the specified type and name.

C#

public PlcS5TimeInfo(PlcS5TimeType type, PlcName name)


Parameters

type PlcS5TimeType

The type of value member.

name PlcName

The name of the value member.


Exceptions

ArgumentNullException

The type or name is a null reference (Nothing in Visual Basic).

PlcS5TimeInfo(PlcS5TimeType, PlcName, TimeSpan)

Initializes a new instance of the PlcS5TimeInfo class using the specified type, name and initialValue.

C#

public PlcS5TimeInfo(PlcS5TimeType type, PlcName name, TimeSpan initialValue)


Parameters

type PlcS5TimeType

The type of value member.

name PlcName

The name of the value member.

initialValue TimeSpan

The initial value of the new PlcS5TimeInfo.


Exceptions

ArgumentNullException

The type or name is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

The initialValue is out of the bounds defined by MinValue and MaxValue.

MakeAbsoluteMember(PlcIdentity)

Retrieves the PlcS5TimeInfo as an absolute addressable PLC data member.

C#

public override IPlcMemberInfo MakeAbsoluteMember(PlcIdentity identity)


Parameters

identity PlcIdentity

The PlcIdentity to use to define the absolute location. This identity is used to define the basis starting from that the member is be located.


Returns

IPlcMemberInfo

In case there IsAbsolute is equals true the reference to this member; otherwise a new instance of the member which refers to an absolute PlcType.



Exceptions

ArgumentException

The identity specified does not provide the necessary information required to address the type of data.

ArgumentNullException

The identity is a null reference (Nothing in Visual Basic).

RelocateCore(PlcType)

Relocates the member to the type specified.

C#

protected override PlcMemberInfo RelocateCore(PlcType type)


Parameters

type PlcType

The PlcType to that the member is to be relocated.


Returns

PlcMemberInfo

A new instance of the same type as this PLC member instance relocated to the type specified.