PlcDeviceConnection.ReadDouble Method (String, Int32)

Reads the values stored at the specified address as an array of Double (in PLC an ARRAY OF REAL) objects.

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

C#

public double[] ReadDouble(
	string address,
	int count
)


Parameters

address
Type: System.String
The address of the data area to read.
count
Type: System.Int32
The number of values to read from the data area.

Return Value

Type: Double[]
An array of values stored at the area specified by address.

Exception Condition
ArgumentException The address is an empty string or does not refer to the DWord.
ArgumentNullException The address is a null reference (Nothing in Visual Basic).
ArgumentOutOfRangeException The count is lower than zero.
InvalidOperationException The connection is not in Opened, Connected or Disconnected state and is therefore not ready to use or the connection is in Faulted state and cannot longer be used.
ObjectDisposedException The connection has been disposed of.


Reference