PlcDeviceConnection.WriteDouble Method (String, Double)

Writes the Doublevalue (in PLC a DOUBLE) 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(
	string address,
	double value
)


Parameters

address
Type: System.String
The address of the data area to that the value is to be written.
value
Type: System.Double
The Double value to write to 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).
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