PlcCharArray 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 represent Char values.

C#

public class PlcCharArray : PlcArray<char, PlcChar>, IPlcArray<char, PlcChar>, IPlcValue<char[]>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<char>, IEnumerable


Inheritance ObjectPlcValue<Char> › PlcArray<Char, PlcChar> › PlcCharArray


Implements IPlcArray<Char, PlcChar>, IPlcValue<Char>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<Char>, IEnumerable

Remarks

A PLC array of this type will be directly used by all PLC operations performed through interpreting the Char's as Byte values using the Byte. A PLC developer knows an array of this type as an ARRAY OF CHAR.

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