Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

Using the Batch-write Mechanism

  • Last UpdatedSep 28, 2021
  • 1 minute read

The OFSOPC driver supports a batch-write mechanism that allows a defined set of tags to be updated at the same time.

A batch-write is implemented by creating a special tag with the address "BatchWrite". This functionality will be implemented on a per-PLC basis (you need to create one special tag per device).

Once BatchWrite has been written to with a value of 1, subsequent writes to the I/O device will be deferred until a write operation to BatchWrite with value 0 (zero) is received. At that time, the deferred writes will be performed together to the OFS server.

If a 0 value is not received within a pre-defined timeout period, the batch write operation will be performed on the deferred writes currently held by the driver. The BatchWrite tag will be reset with to a value of 0 (zero) to help prevent infinite waiting. This timeout period (set to 30 seconds by default), can be adjusted using the BatchWriteTimeout parameter.

Note: The OFSOPC driver does not support a batch write operation during any kind of redundancy switchover. Under these circumstances, the batch-write operation will not work.

TitleResults for “How to create a CRG?”Also Available in