PlcByteArray Class

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 8-bit unsigned integer values (Byte).

C#

public class PlcByteArray : PlcArray<byte, PlcByte>, IPlcArray<byte, PlcByte>, IPlcValue<byte[]>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<byte>, IEnumerable


Inheritance ObjectPlcValue<Byte> › PlcArray<Byte, PlcByte> › PlcByteArray


Implements IPlcArray<Byte, PlcByte>, IPlcValue<Byte>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<Byte>, IEnumerable

Remarks

A PLC array of this type will be directly used by all PLC operations performed using the Byte. A PLC developer knows an array of this type as an ARRAY OF BYTE.

Name Description
PlcByteArray(PlcByteArrayType) Initializes a new instance of the PlcByteArray class using the specified type.
PlcByteArray(PlcByteArrayType, Byte) Initializes a new instance of the PlcByteArray class using the specified type and values.
PlcByteArray(PlcByteArrayType, PlcName, Byte) Initializes a new instance of the PlcByteArray class using the specified type, name and values.
PlcByteArray(PlcIdentity, Byte) Initializes a new instance of the PlcByteArray class using the specified identity and values.
PlcByteArray(PlcIdentity, Int32) Initializes a new instance of the PlcByteArray class using the specified identity and length.
PlcByteArray(PlcIdentity, PlcName, Byte) Initializes a new instance of the PlcByteArray class using the specified identity, name and values.
PlcByteArray(PlcIdentity, PlcName, Int32) Initializes a new instance of the PlcByteArray class using the specified identity, name and length.
Name Description
GetElementCore(Int32) Retrieves the PlcByte 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, Byte) Stores the value in the IPlcDevice assigned to the connection specified.