PlcDeviceConnection.WriteDouble Method (PlcAddress, IEnumerable(Double))

Writes the Doublevalues to the data area specified by address.

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

C#

public void WriteDouble(
	PlcAddress address,
	IEnumerable<double> values
)


Parameters

address
Type: IPS7Lnk.Advanced.PlcAddress
The address of the data area to that the values are to be written.
values
Type: System.Collections.Generic.IEnumerable<Double>
The Double values to write to the area specified by address.

Exception Condition
ArgumentException The address does not refer to the DWord.
ArgumentNullException The address or values is a null reference (Nothing in Visual Basic).
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