IPlcValue Interface

Represents a value stored within a programmable logic controller (PLC).

Namespace: IPS7Lnk.Advanced
Assembly:  IPS7LnkNet.Advanced (in IPS7LnkNet.Advanced.dll) Version: 1.0.0.0 (1.7.2.0)

C#

public interface IPlcValue : IPlcStatusProvider, 
	ISupportInitialize


The IPlcValue type exposes the following members.

—– Name Description
BeginInit Signals the object that initialization is starting.
(Inherited from ISupportInitialize.)
EndInit Signals the object that initialization is complete.
(Inherited from ISupportInitialize.)
GetValue(IPlcDevice) Retrieves the current value of the PLC value from the device specified.
GetValue(PlcDeviceConnection) Retrieves the current value of the PLC value from a IPlcDevice using the connection specified.
IsValidType Determines whether a specified value is acceptable for this IPlcValue.
IsValidValue Determines whether the provided value is accepted for the type of PLC value through basic type checking and also potentially if it is within the allowed range of value for that type.
Relocate(Int32) Relocates the IPlcValue using the specified offset. The original IPlcValue remains unmodified.
Relocate(PlcAddress) Relocates the IPlcValue using the specified address. The original IPlcValue remains unmodified.
Relocate(Int32, Int32) Relocates the IPlcValue using the specified offset. The original IPlcValue remains unmodified.
Relocate(Int32, Int32, Int32) Relocates the IPlcValue using the specified offset. The original IPlcValue remains unmodified.
SetValue(IPlcDevice) Stores the Value in the device specified.
SetValue(PlcDeviceConnection) Stores the Value in the IPlcDevice assigned to the connection specified.
SetValue(IPlcDevice, Object) Stores the value in the device specified.
SetValue(PlcDeviceConnection, Object) Stores the value in the IPlcDevice assigned to the connection specified.
ValidateValue Validates the specified value whether it can be assigned to this IPlcValue.

Top

—– Name Description
Status Gets the status information provided by the software driver.
(Inherited from IPlcStatusProvider.)
Tag Gets or sets the object that contains additional user data about the value.
Type Gets the type of value represented by the PLC value.
Value Gets or sets the value assigned to the PLC value.

Top

—– Name Description
Changed Occurs when the value of the Value property has changed.

Top

Reference