Defining a Variable field and attaching a Variable

To display data from an HMI variable within a display, you must:

To create a field

  1. Click your cursor in the display. This is the starting point of the field.

  2. To create the field, either:

  3. Drag the cursor across the display. The field you create is automatically highlighted in blue.

    OR

  4. Hold the SHIFT key down, and press the right-pointing arrow key. Each time you press the arrow key, a space is automatically highlighted in blue.

In the figure below, the display contains a field two spaces long.

To attach a variable

  1. Click Attach Variable on the HMI toolbar. The Attach Variable dialog box opens as shown below.

  2. Enter the number of the desired variable as shown below and press OK. If you do not enter a variable number, the program assigns a default variable.

     

  3. The variable-linked spaces now appear as red pound signs, and the variable itself appears in the Variable pane of this Display as shown below.

Related Topics

Variables