PlcDouble Class

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

Represents a Double value (in PLC a DOUBLE) its value defines a double-precision floating-point number.

C#

public class PlcDouble : PlcValue<double>, IPlcValue<double>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize


Inheritance ObjectPlcValue<Double> › PlcDouble


Implements IPlcValue<Double>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize

Remarks

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

Name Description
PlcDouble(PlcDoubleType) Initializes a new instance of the PlcDouble class using the specified type
PlcDouble(PlcDoubleType, Double) Initializes a new instance of the PlcDouble class using the specified type and value.
PlcDouble(PlcDoubleType, PlcName) Initializes a new instance of the PlcDouble class using the specified type and name.
PlcDouble(PlcDoubleType, PlcName, Double) Initializes a new instance of the PlcDouble class using the specified type, name and value.
PlcDouble(PlcIdentity) Initializes a new instance of the PlcDouble class using the specified identity
PlcDouble(PlcIdentity, Double) Initializes a new instance of the PlcDouble class using the specified identity and value.
PlcDouble(PlcIdentity, PlcName) Initializes a new instance of the PlcDouble class using the specified identity and name.
PlcDouble(PlcIdentity, PlcName, Double) Initializes a new instance of the PlcDouble class using the specified identity, name and value.
Name Description
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.