PlcRealInfo Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Represents a Single value member (in PLC a REAL) its value defines a single-precision floating-point number.

C#

public class PlcRealInfo : PlcValueInfo<float>, IPlcValueInfo, IPlcMemberInfo, IPlcRelocatable<IPlcMemberInfo>, IPlcRelocatable


Inheritance ObjectPlcMemberInfoPlcValueInfo<Single> › PlcRealInfo


Implements IPlcValueInfo, IPlcMemberInfo, IPlcRelocatable<IPlcMemberInfo>, IPlcRelocatable

Remarks

While a PLC value of this type represents a Single value, all PLC operations performed using this class are done using the DWord. A PLC developer knows a value of this type as REAL.

Name Description
PlcRealInfo(PlcIdentity, PlcName) Initializes a new instance of the PlcRealInfo class using the specified identity and name.
PlcRealInfo(PlcIdentity, PlcName, Single) Initializes a new instance of the PlcRealInfo class using the specified identity, name and initialValue.
PlcRealInfo(PlcName) Initializes a new instance of the PlcRealInfo class using the specified name
PlcRealInfo(PlcName, Single) Initializes a new instance of the PlcRealInfo class using the specified name and initialValue.
PlcRealInfo(PlcRealType, PlcName) Initializes a new instance of the PlcRealInfo class using the specified type and name.
PlcRealInfo(PlcRealType, PlcName, Single) Initializes a new instance of the PlcRealInfo class using the specified type, name and initialValue.
Name Description
Name Gets the name of the member.
(Inherited from PlcMemberInfo)
Type Gets the PlcType of the member.
(Inherited from PlcMemberInfo)
Name Description
MakeAbsoluteMember(PlcIdentity) Retrieves the PlcRealInfo as an absolute addressable PLC data member.
MakeAbsoluteMember(PlcIdentity) When implemented in a derived class, retrieves the IPlcMemberInfo as an absolute addressable PLC data member.
(Inherited from PlcMemberInfo)
Relocate(Int32) Relocates the PlcMemberInfo using the specified offset.
(Inherited from PlcMemberInfo)
Relocate(Int32, Int32) Relocates the PlcMemberInfo using the specified offset.
(Inherited from PlcMemberInfo)
Relocate(Int32, Int32, Int32) Relocates the PlcMemberInfo using the specified offset.
(Inherited from PlcMemberInfo)
Relocate(PlcAddress) Relocates the PlcMemberInfo using the specified address.
(Inherited from PlcMemberInfo)
RelocateCore(PlcType) Relocates the member to the type specified.
RelocateCore(PlcType) When implemented in a derived class, relocates the member to the type specified.
(Inherited from PlcMemberInfo)
ToString Retrieves the string representation of the PlcMemberInfo.
(Inherited from PlcMemberInfo)