OPC Block

<< Click to Display Table of Contents >>

 

OPC Block

An OPC Block allows reading or writing a set of values. For Tag writing, users must set a new value to Tag's Value property. A Tag reading is performed automatically by an OPC Server, with a scan time defined on its OPC Group. The Size property determines the number of Tag Elements on a server. To use this resource, follow these procedures:

1.Right-click an OPC Group and select the Insert - OPC Block option.

Inserting an OPC Block

Inserting an OPC Block

A window is opened asking for a number of Blocks to create in this Group, as well as their names. This name is auto-incremented and if this option remains blank, Blocks are created with a default name.

Adding OPC Blocks

Adding OPC Blocks

3.A dialog box is displayed to determine the number of Block Elements in this object. In this option, users can indicate a mapping for all Elements in this Block or inside a given Elements' interval.

Configuring the new Block

Configuring the new Block

4.Inform a Block size and its mapping options.

5.Click OK.

6.If necessary, configure this object's properties.

 

Some OPC Block properties can be configured using Properties List, without creating scripts for this. To configure any property, locate it on Properties List and perform the necessary adjustments. For more information on properties, please check the E3 Reference and Scripts Manual.

Was this page useful?