...
Item | Description |
Tag 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. |
Persistent | 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. |
Value Changed | |
Quality Changed |
BOOL Type
...
BOOL tags are used to represent ON/OFF status, 0 or 1, True or False, or other values with only 2 possible states. Within Canvas, binary values are stored and represented as either 0 or 1. If a boolean tag is tied to a device address with more than one bit, then any value other than 1 will be treated as a 1. This type selection does not carry any additional options in the Advanced tab of the Tag Editor.
Analog Types
Analog tags are used to represent 8-, 16-, 32-, or 3264-bit numeric values. It is important to choose the correct data type for interpreting the data (INT16, UINT32, Float, etc.). Note that within XpanelDesignerCanvas, “Analog” refers to multi-bit numeric values, but not necessarily values with an analog input source.
...
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
...
.
(1
...
Item
...
Description
...
Tag Type
...
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
...
Select the external device to associate the tag with. You can check the names of external devices using [Tools] – [I/O Device]. This field is enabled only when ‘Real tag’ is selected.
...
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 word addresses include “X00”, “M30” “D16”, etc. This field is enabled only when ‘Real tag’ is selected.
...
Save last status when closing
...
When you select this option, the last state of the tag is stored when the project is closed. When you execute the project again, the tag values will be maintained. Note: this feature is only available for virtual tags.
...
) Advanced (Analog
...
Types)
...
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 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, 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 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 |
...