PlcBooleanArray Class

Represents a PLC array which addresses an unique data entry stored within a programmable logic controller (PLC) its values are interpreted as boolean expressions (Boolean).

System.Object
IPS7Lnk.Advanced.PlcValue<Boolean[]>
IPS7Lnk.Advanced.PlcArray<Boolean, PlcBoolean>
IPS7Lnk.Advanced.PlcBooleanArray

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

C#

public class PlcBooleanArray : PlcArray<bool, PlcBoolean>


The PlcBooleanArray type exposes the following members.

—– Name Description
PlcBooleanArray(PlcAddress, Boolean[]) Initializes a new instance of the PlcBooleanArray class using the specified address and values.
PlcBooleanArray(PlcAddress, Int32) Initializes a new instance of the PlcBooleanArray class using the specified address and length.

Top

—– Name Description
BeginInitCore Signals the PlcArray<T, TElement> that initialization is started.
(Inherited from PlcArray<T, TElement>.)
EndInitCore Signals the PlcValue<T> that initialization is completed.
(Inherited from PlcArray<T, TElement>.)
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.)
GetElement Retrieves the TElement at the specified index.
(Inherited from PlcArray<T, TElement>.)
GetElementCore Retrieves the PlcBoolean at the specified index.
(Overrides PlcArray<T, TElement>.GetElementCore(Int32).)
GetEnumerator Returns an enumerator that iterates through the array.
(Inherited from PlcArray<T, TElement>.)
GetHashCode Serves as a hash function for a particular type.
(Inherited from Object.)
GetInstanceValue Retrieves the value assigned to the PLC value.
(Inherited from PlcArray<T, TElement>.)
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 PlcArray<T, TElement>.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 PlcArray<T, TElement>.SetValueCore(PlcDeviceConnection, UTT[]).)
ToString Converts the array to its string representation.
(Inherited from PlcArray<T, TElement>.)
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>.)
Item Gets the element at the specified index.
(Inherited from PlcArray<T, TElement>.)
Length Gets a 32-bit integer that represents the total number of elements within the array.
(Inherited from PlcArray<T, TElement>.)
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 PlcArray<T, TElement>.)

Top

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

Top

While a PLC array of this type represents Boolean values, all PLC operations performed using this class are done using the Bit. A PLC developer knows an array of this type as an ARRAY OF BOOL.

Reference