PlcDevice Class

Provides an abstract base class which represents a single programmable logic controller (PLC).

System.Object
IPS7Lnk.Advanced.PlcDevice
IPS7Lnk.Advanced.SiemensDevice
IPS7Lnk.Advanced.VirtualDevice

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

C#

public abstract class PlcDevice : IPlcDevice


The PlcDevice type exposes the following members.

—– Name Description
PlcDevice() Initializes a new instance of the PlcDevice class.
PlcDevice(PlcDeviceEndPoint) Initializes a new instance of the PlcDevice class using the specified endPoint.

Top

—– 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, if createNew is equals to the value true.
CreateConnectionCore When implemented in a derived class, creates a new instance of an object which is an instance of the PlcDeviceConnection class which is associated with the PlcDevice.
Equals Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
GetBlock Retrieves the block information for the PLC block accessible by the operand specified.
GetBlockCore When implemented in a derived class, retrieves the block information for the PLC block accessible by the operand specified.
GetBlocks Retrieves all so far known block information which has been determined by either discovering a block using GetBlock(PlcOperand).
GetHashCode Serves as a hash function for a particular type.
(Inherited from Object.)
GetInfo When implemented in a derived class, retrieves an instance of an object implementing the IPlcDeviceInfo interface which provides additional metadata about the device.
GetType Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object.)
ToString Returns a string that represents the current PlcDevice.
(Overrides Object.ToString().)

Top

—– Name Description
EndPoint Gets or sets the PlcDeviceEndPoint of the PLC device.

Top

Reference