Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll
Represents a Double value (in PLC a LREAL) its value defines a double-precision floating-point number.
C#
public class PlcLReal : PlcValue<double>, IPlcValue<double>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize
Inheritance Object › PlcValue<Double> › PlcLReal
Implements IPlcValue<Double>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize
While a PLC value of this type represents a Double value, all PLC operations performed using this class are done using the LWord. A PLC developer knows a value of this type as LREAL.
Name | Description |
---|---|
PlcLReal(PlcIdentity) | Initializes a new instance of the PlcLReal class using the specified identity |
PlcLReal(PlcIdentity, Double) | Initializes a new instance of the PlcLReal class using the specified identity and value . |
PlcLReal(PlcIdentity, PlcName) | Initializes a new instance of the PlcLReal class using the specified identity and name . |
PlcLReal(PlcIdentity, PlcName, Double) | Initializes a new instance of the PlcLReal class using the specified identity , name and value . |
PlcLReal(PlcLRealType) | Initializes a new instance of the PlcLReal class using the specified type |
PlcLReal(PlcLRealType, Double) | Initializes a new instance of the PlcLReal class using the specified type and value . |
PlcLReal(PlcLRealType, PlcName) | Initializes a new instance of the PlcLReal class using the specified type and name . |
PlcLReal(PlcLRealType, PlcName, Double) | Initializes a new instance of the PlcLReal class using the specified type , 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. |