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 signed integer values (Int16).
C#
public class PlcInt16Array : PlcArray<short, PlcInt16>, IPlcArray<short, PlcInt16>, IPlcValue<short[]>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<short>, IEnumerable
Inheritance Object › PlcValue<Int16> › PlcArray<Int16, PlcInt16> › PlcInt16Array
Implements IPlcArray<Int16, PlcInt16>, IPlcValue<Int16>, IPlcArray, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize, IEnumerable<Int16>, IEnumerable
While a PLC array of this type represents an array of Int16 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 INT.
Name | Description |
---|---|
PlcInt16Array(PlcIdentity, Int16) | Initializes a new instance of the PlcInt16Array class using the specified identity and values . |
PlcInt16Array(PlcIdentity, Int32) | Initializes a new instance of the PlcInt16Array class using the specified identity and length . |
PlcInt16Array(PlcIdentity, PlcName, Int16) | Initializes a new instance of the PlcInt16Array class using the specified identity , name and values . |
PlcInt16Array(PlcIdentity, PlcName, Int32) | Initializes a new instance of the PlcInt16Array class using the specified identity , name and length . |
PlcInt16Array(PlcInt16ArrayType) | Initializes a new instance of the PlcInt16Array class using the specified type . |
PlcInt16Array(PlcInt16ArrayType, Int16) | Initializes a new instance of the PlcInt16Array class using the specified type and values . |
PlcInt16Array(PlcInt16ArrayType, PlcName, Int16) | Initializes a new instance of the PlcInt16Array class using the specified type , name and values . |
Name | Description |
---|---|
GetElementCore(Int32) | Retrieves the PlcInt16 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, Int16) | Stores the value in the IPlcDevice assigned to the connection specified. |