SimaticBlockInfo Members

Namespace: IPS7Lnk.Advanced
Assemblies: IPS7LnkNet.Advanced.dll, IPS7LnkNet.Advanced.dll
The SimaticBlockInfo type exposes the following members.

SimaticBlockInfo(SimaticDevice, PlcOperand)

Initializes a new instance of the SimaticBlockInfo class using the specified device and operand.

C#

public SimaticBlockInfo(SimaticDevice device, PlcOperand operand)


Parameters

device SimaticDevice

The SimaticDevice to which the SimaticBlockInfo does belong.

operand PlcOperand

The PlcOperand which uniquely identifies the block represented.


Exceptions

ArgumentNullException

The device or operand is a null reference (Nothing in Visual Basic).

Exists

Gets a value indicating whether the represented block does exist within the memory of the Device.

C#

public override bool Exists { get; }


Property Value

Boolean

The value true, if the block does exist; otherwise the value false.

Size

Gets the size of the PLC block represented.

C#

public override int Size { get; }


Property Value

Int32

The physical size (in bytes) of the block in the PLC memory.

Refresh()

Refreshes the information of the block.

C#

public override void Refresh()