IDEC WindSRV User Manual

Page 90

Advertising
background image

89

www.kepware.com

KEPServerEX5 Help

Client should appear as shown below.


The first tag, "MyFirstTag," should contain a changing value. The second tag should be zero at this point. If users only
needed to test the reading of an OPC item, they are now finished. If, however, users desired to change an OPC item,
they can use one of the write methods to send new data to the OPC item.

Writing Data to the OPC Server

The OPC Quick Client supports two methods for writing data to an OPC server: Synchronous Writes and
Asynchronous Writes. Synchronous Writes perform a write operation on the OPC server and wait for it to
complete. Asynchronous Writes perform a write on the OPC server but doesn't wait for the write to complete. Users
can choose either method when writing data to an OPC: the different write methods are more of a factor in OPC client
application design.

11. To write to an OPC item, first select the item and right-click to display its context menu. Then, select either
Synchronous or Asynchronous Writes. Both choices will invoke the Write Dialog. For the purpose of this example, right-
click on "MyFirstTag" and select Asynchronous Write.


Note: Although the Write Dialog is displayed, the value will continue to update. Users can enter a new value in for this
item by clicking in the item's Write Value and then entering a different value. Once completed, the Apply button will
become active. Press Apply to write the data. Apply allows users to continue to write new values: OK writes the new
value but also closes the dialog. Thus, once users are finished making changes, they can exit the dialog by pressing OK

Advertising