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 16-bit unsigned integer values (UInt16).
C#
[CLSCompliant(false)] public class PlcUInt16Array : PlcArray<ushort, PlcUInt16>, IPlcArray<ushort, PlcUInt16>, IPlcValue<ushort[]>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<ushort>, IEnumerable
Inheritance Object › PlcValue<UInt16> › PlcArray<UInt16, PlcUInt16> › PlcUInt16Array
Attributes CLSCompliantAttribute
Implements IPlcArray<UInt16, PlcUInt16>, IPlcValue<UInt16>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<UInt16>, IEnumerable
While a PLC array of this type represents an array of UInt16 values, all PLC operations performed using this class are done using the Word. A PLC developer knows an array of this type as an ARRAY OF WORD.
Name | Description |
---|---|
PlcUInt16Array(PlcIdentity, Int32) | Initializes a new instance of the PlcUInt16Array class using the specified identity and length . |
PlcUInt16Array(PlcIdentity, PlcName, Int32) | Initializes a new instance of the PlcUInt16Array class using the specified identity , name and length . |
PlcUInt16Array(PlcIdentity, PlcName, UInt16) | Initializes a new instance of the PlcUInt16Array class using the specified identity , name and values . |
PlcUInt16Array(PlcIdentity, UInt16) | Initializes a new instance of the PlcUInt16Array class using the specified identity and values . |
PlcUInt16Array(PlcUInt16ArrayType) | Initializes a new instance of the PlcUInt16Array class using the specified type . |
PlcUInt16Array(PlcUInt16ArrayType, PlcName, UInt16) | Initializes a new instance of the PlcUInt16Array class using the specified type , name and values . |
PlcUInt16Array(PlcUInt16ArrayType, UInt16) | Initializes a new instance of the PlcUInt16Array class using the specified type and values . |
Name | Description |
---|---|
GetElementCore(Int32) | Retrieves the PlcUInt16 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, UInt16) | Stores the value in the IPlcDevice assigned to the connection specified. |