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 interpreted as boolean expressions (Boolean).
C#
public class PlcBooleanArray : PlcArray<bool, PlcBoolean>, IPlcArray<bool, PlcBoolean>, IPlcValue<bool[]>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<bool>, IEnumerable
Inheritance Object › PlcValue<Boolean> › PlcArray<Boolean, PlcBoolean> › PlcBooleanArray
Implements IPlcArray<Boolean, PlcBoolean>, IPlcValue<Boolean>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<Boolean>, IEnumerable
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.
Name | Description |
---|---|
PlcBooleanArray(PlcBooleanArrayType) | Initializes a new instance of the PlcBooleanArray class using the specified type . |
PlcBooleanArray(PlcBooleanArrayType, Boolean) | Initializes a new instance of the PlcBooleanArray class using the specified type and values . |
PlcBooleanArray(PlcBooleanArrayType, PlcName, Boolean) | Initializes a new instance of the PlcBooleanArray class using the specified type , name and values . |
PlcBooleanArray(PlcIdentity, Boolean) | Initializes a new instance of the PlcBooleanArray class using the specified identity and values . |
PlcBooleanArray(PlcIdentity, Int32) | Initializes a new instance of the PlcBooleanArray class using the specified identity and length . |
PlcBooleanArray(PlcIdentity, PlcName, Boolean) | Initializes a new instance of the PlcBooleanArray class using the specified identity , name and values . |
PlcBooleanArray(PlcIdentity, PlcName, Int32) | Initializes a new instance of the PlcBooleanArray class using the specified identity , name and length . |
Name | Description |
---|---|
GetElementCore(Int32) | Retrieves the PlcBoolean 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, Boolean) | Stores the value in the IPlcDevice assigned to the connection specified. |