Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The PlcBlockInfo type exposes the following members.
Initializes a new instance of the PlcBlockInfo class using the specified device
and operand
.
C#
protected PlcBlockInfo(IPlcDevice device, PlcOperand operand)
Parameters
device
IPlcDevice
The IPlcDevice to which the PlcBlockInfo does belong.
operand
PlcOperand
The PlcOperand which uniquely identifies the block represented.
Exceptions
The device
or operand
is a null reference (Nothing in Visual Basic).
Gets the IPlcDevice to which the PlcBlockInfo belongs.
C#
public IPlcDevice Device { get; }
Property Value
The IPlcDevice to which the PlcBlockInfo belongs.
Gets the PlcOperand which unique identifies the PLC block its information is represented by this PlcBlockInfo.
C#
public PlcOperand Operand { get; }
Property Value
The PlcOperand of the block.
Gets the size of the PLC block represented.
C#
public abstract int Size { get; }
Property Value
The physical size (in bytes) of the block in the PLC memory.
When implemented in a derived class, refreshes the information of the block.
C#
public abstract void Refresh()
Returns a string that represents the current PlcBlockInfo.
C#
public override string ToString()
Returns
A string that represents the current PlcBlockInfo.