Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll
Represents a Int16 value (in PLC a INT) its value defines a 16-bit signed integer value.
C#
public class PlcInt16 : PlcValue<short>, IPlcValue<short>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize
Inheritance Object › PlcValue<Int16> › PlcInt16
Implements IPlcValue<Int16>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize
While a PLC value of this type represents an Int16 value, all PLC operations performed using this class are done using the Word. A PLC developer knows a value of this type as an INT.
Name | Description |
---|---|
PlcInt16(PlcIdentity) | Initializes a new instance of the PlcInt16 class using the specified identity |
PlcInt16(PlcIdentity, Int16) | Initializes a new instance of the PlcInt16 class using the specified identity and value . |
PlcInt16(PlcIdentity, PlcName) | Initializes a new instance of the PlcInt16 class using the specified identity and name . |
PlcInt16(PlcIdentity, PlcName, Int16) | Initializes a new instance of the PlcInt16 class using the specified identity , name and value . |
PlcInt16(PlcInt16Type) | Initializes a new instance of the PlcInt16 class using the specified type |
PlcInt16(PlcInt16Type, Int16) | Initializes a new instance of the PlcInt16 class using the specified type and value . |
PlcInt16(PlcInt16Type, PlcName) | Initializes a new instance of the PlcInt16 class using the specified type and name . |
PlcInt16(PlcInt16Type, PlcName, Int16) | Initializes a new instance of the PlcInt16 class using the specified type , name and value . |
Name | Description |
---|---|
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. |