PlcLRealArray Class

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

Represents a PLC array which addresses an unique data entry stored within a programmable logic controller (PLC) its values are double-precision floating-point numbers (Double).

C#

public class PlcLRealArray : PlcArray<double, PlcLReal>, IPlcArray<double, PlcLReal>, IPlcValue<double[]>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<double>, IEnumerable


Inheritance ObjectPlcValue<Double> › PlcArray<Double, PlcLReal> › PlcLRealArray


Implements IPlcArray<Double, PlcLReal>, IPlcValue<Double>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<Double>, IEnumerable

Remarks

While a PLC array of this type represents an array of Double values, all PLC operations performed using this class are done using the LWord. A PLC developer knows an array of this type as an ARRAY OF LREAL.

Name Description
PlcLRealArray(PlcIdentity, Double) Initializes a new instance of the PlcLRealArray class using the specified identity and values.
PlcLRealArray(PlcIdentity, Int32) Initializes a new instance of the PlcLRealArray class using the specified identity and length.
PlcLRealArray(PlcIdentity, PlcName, Double) Initializes a new instance of the PlcLRealArray class using the specified identity, name and values.
PlcLRealArray(PlcIdentity, PlcName, Int32) Initializes a new instance of the PlcLRealArray class using the specified identity, name and length.
PlcLRealArray(PlcLRealArrayType) Initializes a new instance of the PlcLRealArray class using the specified type.
PlcLRealArray(PlcLRealArrayType, Double) Initializes a new instance of the PlcLRealArray class using the specified type and values.
PlcLRealArray(PlcLRealArrayType, PlcName, Double) Initializes a new instance of the PlcLRealArray class using the specified type, name and values.
Name Description
GetElementCore(Int32) Retrieves the PlcLReal at the specified index.
GetValueCore(PlcDeviceConnection) Retrieves the current value of the PLC value from a IPlcDevice using the connection specified.
RelocateCore(PlcAddress) Relocates the value to the address specified.
SetValueCore(PlcDeviceConnection, Double) Stores the value in the IPlcDevice assigned to the connection specified.