Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcTimeInfo type exposes the following members.
Initializes a new instance of the PlcTimeInfo class using the specified identity
and name
.
C#
public PlcTimeInfo(PlcIdentity identity, PlcName name)
Parameters
identity
PlcIdentity
The PlcIdentity of the type of value member.
name
PlcName
The name of the value member.
Exceptions
The identity
does not refer to the DWord.
The identity
or name
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the PlcTimeInfo class using the specified identity
, name
and initialValue
.
C#
public PlcTimeInfo(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 PlcTimeInfo.
Exceptions
The identity
does not refer to the DWord.
The identity
, or name
is a null reference (Nothing in Visual Basic).
The initialValue
is out of the bounds defined by MinValue and MaxValue.
Initializes a new instance of the PlcTimeInfo class using the specified name
C#
public PlcTimeInfo(PlcName name)
Parameters
name
PlcName
The name of the value member.
Exceptions
The name
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the PlcTimeInfo class using the specified name
and initialValue
.
C#
public PlcTimeInfo(PlcName name, TimeSpan initialValue)
Parameters
name
PlcName
The name of the value member.
initialValue
TimeSpan
The initial value of the new PlcTimeInfo.
Exceptions
The name
is a null reference (Nothing in Visual Basic).
The initialValue
is out of the bounds defined by MinValue and MaxValue.
Initializes a new instance of the PlcTimeInfo class using the specified type
and name
.
C#
public PlcTimeInfo(PlcTimeType type, PlcName name)
Parameters
type
PlcTimeType
The type of value member.
name
PlcName
The name of the value member.
Exceptions
The type
or name
is a null reference (Nothing in Visual Basic).
Initializes a new instance of the PlcTimeInfo class using the specified type
, name
and initialValue
.
C#
public PlcTimeInfo(PlcTimeType type, PlcName name, TimeSpan initialValue)
Parameters
type
PlcTimeType
The type of value member.
name
PlcName
The name of the value member.
initialValue
TimeSpan
The initial value of the new PlcTimeInfo.
Exceptions
The type
or name
is a null reference (Nothing in Visual Basic).
The initialValue
is out of the bounds defined by MinValue and MaxValue.
Retrieves the PlcTimeInfo 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
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
The identity
specified does not provide the necessary information required to address the type of data.
The identity
is a null reference (Nothing in Visual Basic).