PlcDoubleArray 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 PlcDoubleArray : PlcArray<double, PlcDouble>, IPlcArray<double, PlcDouble>, IPlcValue<double[]>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<double>, IEnumerable


Inheritance ObjectPlcValue<Double> › PlcArray<Double, PlcDouble> › PlcDoubleArray


Implements IPlcArray<Double, PlcDouble>, 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 DWord. A PLC developer knows an array of this type as an ARRAY OF DOUBLE.

Name Description
PlcDoubleArray(PlcDoubleArrayType) Initializes a new instance of the PlcDoubleArray class using the specified type.
PlcDoubleArray(PlcDoubleArrayType, Double) Initializes a new instance of the PlcDoubleArray class using the specified type and values.
PlcDoubleArray(PlcDoubleArrayType, PlcName, Double) Initializes a new instance of the PlcDoubleArray class using the specified type, name and values.
PlcDoubleArray(PlcIdentity, Double) Initializes a new instance of the PlcDoubleArray class using the specified identity and values.
PlcDoubleArray(PlcIdentity, Int32) Initializes a new instance of the PlcDoubleArray class using the specified identity and length.
PlcDoubleArray(PlcIdentity, PlcName, Double) Initializes a new instance of the PlcDoubleArray class using the specified identity, name and values.
PlcDoubleArray(PlcIdentity, PlcName, Int32) Initializes a new instance of the PlcDoubleArray class using the specified identity, name and length.
Name Description
GetElementCore(Int32) Retrieves the PlcDouble 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.