PlcInt32 Class

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll

Represents a Int32 value (in PLC a DINT) its value defines a 32-bit signed integer value.

C#

public class PlcInt32 : PlcValue<int>, IPlcValue<int>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize


Inheritance ObjectPlcValue<Int32> › PlcInt32


Implements IPlcValue<Int32>, IPlcValue, IPlcSymbol, IPlcEntity, IPlcStatusProvider, IPlcRelocatable<IPlcValue>, IPlcRelocatable, ISupportInitialize

Remarks

While a PLC value of this type represents an Int32 value, all PLC operations performed using this class are done using the DWord. A PLC developer knows a value of this type as DINT.

Name Description
PlcInt32(PlcIdentity) Initializes a new instance of the PlcInt32 class using the specified identity
PlcInt32(PlcIdentity, Int32) Initializes a new instance of the PlcInt32 class using the specified identity and value.
PlcInt32(PlcIdentity, PlcName) Initializes a new instance of the PlcInt32 class using the specified identity and name.
PlcInt32(PlcIdentity, PlcName, Int32) Initializes a new instance of the PlcInt32 class using the specified identity, name and value.
PlcInt32(PlcInt32Type) Initializes a new instance of the PlcInt32 class using the specified type
PlcInt32(PlcInt32Type, Int32) Initializes a new instance of the PlcInt32 class using the specified type and value.
PlcInt32(PlcInt32Type, PlcName) Initializes a new instance of the PlcInt32 class using the specified type and name.
PlcInt32(PlcInt32Type, PlcName, Int32) Initializes a new instance of the PlcInt32 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, Int32) Stores the value in the IPlcDevice assigned to the connection specified.