IPlcDevice.GetBlock Method

Retrieves the block information for the PLC block accessible by the operand specified.

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

C#

PlcBlockInfo GetBlock(
	PlcOperand operand
)


Parameters

operand
Type: IPS7Lnk.Advanced.PlcOperand
The PlcOperand for that the according block information is to be retrieved.

Return Value

Type: PlcBlockInfo
An instance of the PlcBlockInfo class containing the information of the block requested.

Exception Condition
ArgumentNullException The operand is a null reference (Nothing in Visual Basic).


Reference