Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Item

Description

New Tag

There are several methods to create a new tag:

  1. Select [Edit] – [New Tag] when the ‘Database’ editor window is activated.

  2. Click the (blue star) icon in the ‘Database’ editor window.

  3. Press the ‘Insert’ key.

  4. Double-click a blank portion of the tag list.

  5. Right-click the tag list and select [New Tag] on the submenu.

  6. Press [Next Tag] in the ‘Edit Tag’ window.

Edit Tag

There are several methods to edit a tag:

  1. Double-click a tag in the tag list to edit it.

  2. Select the tag to edit and click [Edit] – [Edit Tag].

  3. Select the tag to edit and click the (blue star) icon in the ‘Database’ editor window.

  4. Right-click the tag to edit and select [Edit Tag] on the submenu.

Delete Tag

There are several methods for deleting a tag:

  1. Select the tag to delete and press the ‘Delete’ key.

  2. Select the tag to delete and click [Edit] – [Delete].

  3. Right-click the tag to delete and select [Delete] on the submenu.

Copy Tag

Select the tag to copy/cut from the tag list.

Copy or cut the tag with any of the methods shown below:
   1. Select [Edit] – [Copy], or [Edit] – [Cut].
   2. Press the Ctrl + C or Ctrl + X keys.
   3. Right-click the tag and select [Copy] or [Cut] from the submenu.
After copying, move to the destination and select [Edit] – [Paste] or press the Ctrl + V keys to paste.

Drag & Drop

Tags can also be copied and pasted by dragging and dropping:

  1. When you drag and drop a tag within the tag list, the selected tag moves to directly below where it was dropped.

  2. When you drag and drop a tag to a branch of the tag tree, the tag is copied into the corresponding branch.

  3. When you drag and drop a group tag to a branch of the tag tree, the group tag and its contents are copied into the corresponding branch.

...

Item

Description

Initial Value

Assign the initial tag value to be loaded to the tag at project startup.

Data Type

Select the data type (bit encoding) of the tag value to use within XpanelDesigner. Refer to the table below for a description of each data type.

Clipping

With this option, when the analog value exceeds the specified Min/Max range, a warning message will appear and the value will not be recognized.

Scale

Converts the original input data into a new value using one of two methods. Note that the behavior of the ‘Eng. Data’ Min/Max valuess values change depending on whether the “Scale” box is checked or not.

Scale/Offset

(Only visible when Scale is selected)

To use the Scale/Offset method, check the “Scale” box, then enter the Scale and Offset values in the ‘Scale/Offset’ field. With this option, the tag value will be calculated using the formula below:

Tag Value = (Input Value * Scale) + Offset

Example: Select an analog tag with data type UINT16. When Scale is 0.1 and Offset is 10:

Minimum value: (0 * 0.1) + 10 = 10,
Maximum value: (65535 * 0.1) + 10 = 6563.5

For a given tag value, the corresponding input value can be calculated using the formula below:

Input Value = (Tag Value – Offset) / Scale

Min./Max.

(Visible when Scale is not selected)

To use the Min/Max method, uncheck the “Scale” box, then enter the Minimum and Maximum values in the ‘Raw Data’ field. With this option, the tag value will be linearly scaled so that that the Raw Data minimum is converted to the Eng. Data minimum and the Raw Data maximum is converted to the Eng. Data maximum. Intermediate values are scaled linearly. For a given input (raw) value, the exact output (tag) value can be calculated using the formula below:

Tag Value = (Input Value – Raw Data Min) / (Raw Data Max – Raw Data Min) * (Eng. Data Max – Eng. Data Min) + Eng. Data Min

Example: Select an analog tag with data type Float. Set the Raw Data minimum to 0 and the maximum to 1. Set the Eng. Data minimum to 0 and the maximum to 100. Now, PLC values (on the left) will be converted to the following tag values (on the right):

-17.0 becomes 0
0.0 becomes 0
0.25 becomes 25
0.75 becomes 75
1.0 becomes 100
24.0 becomes 100

Any input value below the Raw Data minimum will be converted to the Eng. Data minimum. Any input above the Raw Data maximum will be converted to the Eng. Data maximum.

For a given tag value, the corresponding input value can be calculated using the formula below:

Input Value = (Tag Value – Eng. Data Min) / (Eng. Data Max – Eng. Data Min) * (Raw Data Max – Raw Data Min) + Raw Data Min

...