PlcRealArray 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 single-precision floating-point numbers (Single).

C#

public class PlcRealArray : PlcArray<float, PlcReal>, IPlcArray<float, PlcReal>, IPlcValue<float[]>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<float>, IEnumerable


Inheritance ObjectPlcValue<Single> › PlcArray<Single, PlcReal> › PlcRealArray


Implements IPlcArray<Single, PlcReal>, IPlcValue<Single>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<Single>, IEnumerable

Remarks

While a PLC array of this type represents an array of Single 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 REAL.

Name Description
PlcRealArray(PlcIdentity, Int32) Initializes a new instance of the PlcRealArray class using the specified identity and length.
PlcRealArray(PlcIdentity, PlcName, Int32) Initializes a new instance of the PlcRealArray class using the specified identity, name and length.
PlcRealArray(PlcIdentity, PlcName, Single) Initializes a new instance of the PlcRealArray class using the specified identity, name and values.
PlcRealArray(PlcIdentity, Single) Initializes a new instance of the PlcRealArray class using the specified identity and values.
PlcRealArray(PlcRealArrayType) Initializes a new instance of the PlcRealArray class using the specified type.
PlcRealArray(PlcRealArrayType, PlcName, Single) Initializes a new instance of the PlcRealArray class using the specified type, name and values.
PlcRealArray(PlcRealArrayType, Single) Initializes a new instance of the PlcRealArray class using the specified type and values.
Name Description
GetElementCore(Int32) Retrieves the PlcReal 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, Single) Stores the value in the IPlcDevice assigned to the connection specified.