Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcValueMember type exposes the following members.
Initializes a new instance of the PlcValueMember class using the name
and value
specified.
C#
public PlcValueMember(PlcName name, IPlcValue value)
Parameters
name
PlcName
The name of the member.
value
IPlcValue
The IPlcValue to be represented.
Exceptions
The name
or value
is a null reference (Nothing in Visual Basic).
Retrieves a value indicating whether the member supported by the given instance
is associated with a value.
C#
protected override bool HasValueCore(PlcObject instance)
Parameters
instance
PlcObject
The PlcObject its member value is to be tested.
Returns
The value true, if a value is associated with the instance using this member; otherwise the value false.
Retrieves the PlcValueMember as an absolute addressable PLC 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).
Relocates the member to the address
specified.
C#
protected override PlcMember RelocateCore(PlcAddress address)
Parameters
address
PlcAddress
The PlcAddress to that the member is to be relocated.
Returns
A new instance of the same type as this PLC member instance relocated to the address
specified.
Returns a string that represents the PlcValueMember.
C#
public override string ToString()
Returns
A string that represents the PlcValueMember.