Versions Compared

Key

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

Select [ToolsView] - [Database] or press the (blue star) icon to bring up the Database editor window as shown below:

...

Tag Browser] and make sure the Tag Browser is enabled to open the Tag Browser window.

...

For a more detailed view of the tags, the Tag Browser window can be undocked by dragging the header of the window. In this detailed view, the Tag Name, Type, Device, Address, Initial Value, Persistence, and Description are all displayed.

...

Tag Browser Editor

Item

Description

New Tag

There are several two methods to create a new tag:

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

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

  2. Press the ‘Insert’ key.

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

  4. ‘Tag Browser’ window.

  5. Right-click the tag list and select [New Tag] on the submenu. Press [Next Tag] in the ‘Edit Tag’ window.

Edit Tag

There are several two 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 two 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.
   32. Right-click the tag and select [Copy] or [Cut] from the submenu.
After copying, move to the destination, right click and select [Edit] – [Paste] from the sub menu or press the Ctrl + V keys to paste.

Drag & Drop

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

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

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

  • 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

    .

    (blue star)

    When creating a tag, use a name that follows the criteria listed below:

    1. No special characters (e.g. Space, Tab, @, *, /, +, -, etc.)

    2. The first character of a tag name cannot be a number.
    Ex: “DIG1” is valid, but “1DIG” is invalid

    3. Tags are not case-sensitive. All tags will be stored as uppercase.

    4. You cannot use the same tag name more than once in the same tag group. However, tags may use the same name if they are in different groups.

    ...

    If you have many tags in a single window, it may be difficult to find and manage individual tags. Group tags allow you to organize tags based on category, with a tree structure for subordinate tags. The grouped tags are displayed and managed in the tag tree on the left side of the ‘Database’ Tag Browser window.

    To create a group tag, select [Group] the (blue star) icon in the ‘Type’ field.

    ...

    Item

    ...

    Description

    ...

    Name

    ...

    Enter the tag name.

    ...

    Des.

    ...

    Enter a description for the tag.

    ...

    Previous

    ...

    Moves to the previous tag’s ‘Edit Tag’ window.

    ...

    Next

    ...

    Moves to the next tag’s ‘Edit Tag’ window.

    ...

    Ok

    ...

    Registers the tag in the database.

    ...

    Cancel

    ...

    Cancels the tag registration and goes back to the database window.

    Digital Tag

    Digital tags are used to represent ON/OFF status, 0 or 1, True or False, or other values with only 2 possible states. Within XpanelDesigner, digital values are stored and represented as either 0 or 1. If a digital tag is tied to a device address with more than one bit, then any value other than 1 will be treated as a 1. Note that within XpanelDesigner, “Digital” refers only to binary values, not to other value types that are stored digitally.

    ...

    Item

    ...

    Description

    ...

    Name

    ...

    Enter the tag name.

    ...

    Des.

    ...

    Enter a description of the tag.

    ...

    Previous

    ...

    Moves to the previous tag’s ‘Edit Tag’ window.

    ...

    Next

    ...

    Moves to the next tag’s ‘Edit Tag’ window.

    ...

    Ok

    ...

    Registers the tag in the database.

    ...

    Cancel

    ...

    Tag Browser window. After pressing the icon, a text field will open in the Tag Browser Window where a name for the Group Tag can be assigned.

    Tag Editor

    When creating a new tag or editing an existing tag, the ‘Tag Editor’ will appear on screen. This window has two main tabs: the General tab which contains pertinent data for all tag types, and the Advanced tab which contains type-specific data for the tag.

    (1) General Options

    Item

    Description

    Initial Value

    Assign the initial tag value to be loaded to the tag at the project startup. This field is only available for virtual tags. TypeSelect . This field is enabled only when ‘Real tag’ is selected ‘Real tag’ you select Note: this feature is only available for virtual tags. Upon startup, real tag values will be read from the device they are linked to.

    Item

    Description

    Tag

    Select the tag type (real or virtual)

    Real Tag

    Links to an external device connected to Xpanel. The tag value updates automatically when the device value updates.

    Virtual Tag

    Acts as a general-purpose variable for use within Xpanel. Does not connect to an external device.

    I/O Device

    Name

    Input a desired tag name

    Path

    Outlines the group path of the tag

    Type

    Allows the user to select from 12 possible data types. The available fields in the advanced options tab will change based on the selected data type.

    I/O Device

    For remote tags, select the external device to associate the tag with. You can check the name of external devices using [Tools] – [I/O Device Editor]

    .

    For local tags, select “None” from the drop down menu. Note that selecting this option will not allow the user to assign an I/O Address.

    I/O Address

    Enter the external device address to associate the tag with. You must enter the address using the device’s addressing method. For example, for a CIMON PLC, valid bit addresses include “X00”, “Y1E”, etc. This field is enabled only when

    an I/O device is selected.

    Save last status when closingPersistent

    When

    this option is true, the last state of the tag is stored when the project is closed. When you execute the project again, the tag values will be reloaded.

    (2) Advanced Options

    ...

    Value Changed

    Quality Changed

    BOOL Type

    Analog Tag

    Analog tags are used to represent 8-, 16-, or 32-bit numeric values. It is important to choose the correct data type for interpreting the data (INT16, UINT32, Float, etc.). Note that within XpanelDesigner, “Analog” refers to multi-bit numeric values, but not necessarily values with an analog input source.

    ...