Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The VirtualDevice type exposes the following members.
Initializes a new instance of the VirtualDevice class using the specified endPoint
.
C#
public VirtualDevice(PlcDeviceEndPoint endPoint)
Parameters
endPoint
PlcDeviceEndPoint
The PlcDeviceEndPoint which identifies the network address of the device.
Exceptions
The endPoint
is a null reference (Nothing in Visual Basic).
Creates a new instance of an object which is an instance of the VirtualDeviceConnection class which is associated with the PlcDevice.
C#
protected override PlcDeviceConnection CreateConnectionCore()
Returns
An instance of an object which is an instance of the VirtualDeviceConnection class and is associated with the VirtualDevice.
Retrieves the block information for the PLC block accessible by the operand
specified.
C#
protected override PlcBlockInfo GetBlockCore(PlcOperand operand)
Parameters
operand
PlcOperand
The PlcOperand for that the according block information is to be retrieved.
Returns
An instance of the VirtualBlockInfo class containing the information of the block requested.
Retrieves an instance of an object implementing the IPlcDeviceInfo interface which provides additional metadata about the device.
C#
public override IPlcDeviceInfo GetInfo()
Returns
An instance implementing the IPlcDeviceInfo interface which provides additional metadata about the device.
Returns a string that represents the current VirtualDevice.
C#
public override string ToString()
Returns
A string that represents the current VirtualDevice.