Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The IPlcDevice interface defines the following members.
Gets or sets the PlcDeviceEndPoint of the PLC device.
C#
PlcDeviceEndPoint EndPoint { get; set; }
Property Value
An instance of the PlcDeviceEndPoint class, which defines the end point information required to establish a connection to the device represented.
Exceptions
The value is a null reference (Nothing in Visual Basic).
Gets a collection of PlcObject objects associated with the device.
C#
PlcObjectCollection Objects { get; }
Property Value
An instance of the PlcObjectCollection class.
Gets a collection of PlcType objects associated with the device.
C#
PlcTypeCollection Types { get; }
Property Value
An instance of the PlcTypeCollection class.
Gets a collection of IPlcValue objects associated with the device.
C#
PlcValueCollection Values { get; }
Property Value
An instance of the PlcValueCollection class.
Creates a new instance of an object implementing the PlcDeviceConnection class which is associated with the device.
C#
PlcDeviceConnection CreateConnection()
Returns
An instance of the PlcDeviceConnection class which is associated with the device.
Creates a new instance of an object implementing the PlcDeviceConnection class which is associated with the device.
C#
PlcDeviceConnection CreateConnection(bool createNew)
Parameters
createNew
Boolean
A value indicating whether a new instance is to be created (the value true) or if there is already an existing instance of the PlcDeviceConnection class in usable state is to be returned (the value false).
Returns
An instance of the PlcDeviceConnection class which is associated with the device.
Retrieves the block information for the PLC block accessible by the operand
specified.
C#
PlcBlockInfo GetBlock(PlcOperand operand)
Parameters
operand
PlcOperand
The PlcOperand for that the according block information is to be retrieved.
Returns
An instance of the PlcBlockInfo class containing the information of the block requested.
Exceptions
The operand
is a null reference (Nothing in Visual Basic).
Retrieves an instance of an object implementing the IPlcDeviceInfo interface which provides additional metadata about the device.
C#
IPlcDeviceInfo GetInfo()
Returns
An instance implementing the IPlcDeviceInfo interface which provides additional metadata about the device.