IPlcDevice Interface

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

Represents a single programmable logic controller (PLC) and is implemented by different device providers.

C#

public interface IPlcDevice
Name Description
EndPoint Gets or sets the PlcDeviceEndPoint of the PLC device.
Name Gets or sets the name of the device.
Objects Gets a collection of PlcObject objects associated with the device.
Types Gets a collection of PlcType objects associated with the device.
Values Gets a collection of IPlcValue objects associated with the device.
Name Description
CreateConnection Creates a new instance of an object implementing the PlcDeviceConnection class which is associated with the device.
CreateConnection(Boolean) Creates a new instance of an object implementing the PlcDeviceConnection class which is associated with the device.
GetBlock(PlcOperand) Retrieves the block information for the PLC block accessible by the operand specified.
GetInfo Retrieves an instance of an object implementing the IPlcDeviceInfo interface which provides additional metadata about the device.