PlcReal Class

Represents a Single value (in PLC a REAL) its value defines a single-precision floating-point number.

System.Object
IPS7Lnk.Advanced.PlcValue<Single>
IPS7Lnk.Advanced.PlcReal

Namespace:  IPS7Lnk.Advanced
Assembly:  IPS7LnkNet.Advanced (in IPS7LnkNet.Advanced.dll) Version: 1.0.0.0 (1.7.2.0)

C#

public class PlcReal : PlcValue<float>


The PlcReal type exposes the following members.

—– Name Description
PlcReal(PlcAddress) Initializes a new instance of the PlcReal class using the specified address.
PlcReal(PlcAddress, Single) Initializes a new instance of the PlcReal class using the specified address and value.

Top

—– Name Description
BeginInitCore When implemented in a derived class; signals the PlcValue<T> that initialization is started.
(Inherited from PlcValue<T>.)
EndInitCore When implemented in a derived class; signals the PlcValue<T> that initialization is completed.
(Inherited from PlcValue<T>.)
Equals Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode Serves as a hash function for a particular type.
(Inherited from Object.)
GetInstanceValue Retrieves the value assigned to the PLC value.
(Inherited from PlcValue<T>.)
GetType Gets the Type of the current instance.
(Inherited from Object.)
GetValue(IPlcDevice) Retrieves the current value of the PLC value from the device specified.
(Inherited from PlcValue<T>.)
GetValue(PlcDeviceConnection) Retrieves the current value of the PLC value from a IPlcDevice using the connection specified.
(Inherited from PlcValue<T>.)
GetValueCore Retrieves the current value of the PLC value from a IPlcDevice using the connection specified.
(Overrides PlcValue<T>.GetValueCore(PlcDeviceConnection).)
IsValidType Determines whether a specified value is acceptable for this PlcValue<T>.
(Inherited from PlcValue<T>.)
IsValidValue Determines whether the provided value is accepted for the type of PLC value through basic type checking and also potentially if it is within the allowed range of value for that type.
(Inherited from PlcValue<T>.)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object.)
OnChanged(ValueChangedEventArgs) Raises the Changed event.
(Inherited from PlcValue<T>.)
OnChanged(ValueChangedEventArgs<UTT>) (Inherited from PlcValue<T>.)
RaiseChanged (Inherited from PlcValue<T>.)
Relocate(Int32) Relocates the PlcValue<T> using the specified offset. The original PlcValue<T> remains unmodified.
(Inherited from PlcValue<T>.)
Relocate(PlcAddress) Relocates the PlcValue<T> using the specified address. The original PlcValue<T> remains unmodified.
(Inherited from PlcValue<T>.)
Relocate(Int32, Int32) Relocates the PlcValue<T> using the specified offset. The original PlcValue<T> remains unmodified.
(Inherited from PlcValue<T>.)
Relocate(Int32, Int32, Int32) Relocates the PlcValue<T> using the specified offset. The original PlcValue<T> remains unmodified.
(Inherited from PlcValue<T>.)
RelocateCore Relocates the value to the address specified.
(Overrides PlcValue<T>.RelocateCore(PlcAddress).)
SetInstanceValue (Inherited from PlcValue<T>.)
SetValue(IPlcDevice) Stores the Value in the device specified.
(Inherited from PlcValue<T>.)
SetValue(PlcDeviceConnection) Stores the Value in the IPlcDevice assigned to the connection specified.
(Inherited from PlcValue<T>.)
SetValue(IPlcDevice, UTT) (Inherited from PlcValue<T>.)
SetValue(PlcDeviceConnection, UTT) (Inherited from PlcValue<T>.)
SetValueCore Stores the value in the IPlcDevice assigned to the connection specified.
(Overrides PlcValue<T>.SetValueCore(PlcDeviceConnection, UTT).)
ToString Converts the value to its string representation.
(Inherited from PlcValue<T>.)
ValidateValue Validates the specified value whether it can be assigned to this PlcValue<T>.
(Inherited from PlcValue<T>.)

Top

—– Name Description
IsInitializing Gets a value indicating whether the instance is in initializing mode.
(Inherited from PlcValue<T>.)
Status Gets the status information provided by the software driver related to the value.
(Inherited from PlcValue<T>.)
Tag Gets or sets the object that contains additional user data about the value.
(Inherited from PlcValue<T>.)
Type Gets the type of value represented by the PLC value.
(Inherited from PlcValue<T>.)
Value Gets or sets the value assigned to the PLC value.
(Inherited from PlcValue<T>.)

Top

—– Name Description
Changed (Inherited from PlcValue<T>.)

Top

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

Reference