Select [ToolsView] - [Database] or press the 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.
| ||
Edit Tag | There are several two methods to edit a tag:
| ||
Delete Tag | There are several two methods for deleting a tag:
| ||
Copy Tag | Select the tag to copy/cut from the tag list. Copy or cut the tag with any of the methods shown below: | 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 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. 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 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
Item | Description | |
Tag | TypeSelect 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 | Select 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] | . This field is enabled only when ‘Real tag’ is selected. 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 | ‘Real tag’ an I/O device is selected. |
Save last status when closingPersistent | When | you select 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. | Note: this feature is only available for virtual tags. Upon startup, real tag values will be read from the device they are linked to.
(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.
...