Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcS5TimeType type exposes the following members.
Represents the largest possible value of a PlcS5TimeType.
C#
public static readonly TimeSpan MaxValue
Field Value
TimeSpan
Remarks
The according PLC value would be: S5T#2H_46M_30S_00MS.
Represents the smallest possible value of a PlcS5TimeType.
C#
public static readonly TimeSpan MinValue
Field Value
TimeSpan
Remarks
The according PLC value would be: S5T#00H_00M_00S_00MS.
Gets the type dependent default value which can be assigned to an entity of the type represented.
C#
public override object DefaultValue { get; }
Property Value
The type dependent default value.
Gets the relative type declaration of type.
C#
public static PlcS5TimeType Relative { get; }
Property Value
The relative PlcS5TimeType.
Creates a new IPlcEntity object which represents a concrete accessible entity of this PlcType.
C#
public override IPlcEntity CreateEntity()
Returns
An instance implementing the IPlcEntity interface its Type property does refer to this PlcType.
Exceptions
This pure PlcType instance can't create an entity, because it is an abstract type representation.
Retrieves the according PlcS5TimeType which matches the supplied type metadata.
C#
public static PlcS5TimeType Of(PlcIdentity identity)
Parameters
identity
PlcIdentity
The PlcIdentity to which the PlcS5TimeType does refer.
Returns
The PlcS5TimeType which matches with the characteristics supplied.
Exceptions
The identity
does not provide the necessary information required to address the type of data.
The identity
is a null reference (Nothing in Visual Basic).
Retrieves the according PlcS5TimeType which matches the supplied type metadata.
C#
public static PlcS5TimeType Of(PlcIdentity identity, PlcName name)
Parameters
identity
PlcIdentity
The PlcIdentity to which the PlcS5TimeType does refer.
name
PlcName
Returns
The PlcS5TimeType which matches with the characteristics supplied.
Exceptions
The identity
does not provide the necessary information required to address the type of data.
The identity
or name
is a null reference (Nothing in Visual Basic).