PlcDeviceConnection.WriteBoolean Method (PlcAddress, IEnumerable(Boolean))

Writes the Booleanvalues to the data area specified by address.

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


public void WriteBoolean(
	PlcAddress address,
	IEnumerable<bool> values


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

Exception Condition
ArgumentException The address does not refer to the Bit.
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.