6.1.2 Control Feature Configuration
(1) Visible
Shows or hides the object according to the tag value.
This feature does not support the following objects: Trend, Data Logging, Key Input Window, Alarm Summary, Page Link.
Item | Description | |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press to configure the detailed address. | |
Tag | You must enter the tag name that will become the standard for the ‘Visible’ feature. You can find the tag with or manually input the tag name. If the corresponding tag does not exist in the database, a message pops up asking the user if they wish to add a new tag. | |
Condition | ON | The object appears when the tag value is ON (Digital: ON, Analog: Values other than 0). |
OFF | The object appears when the tag value is OFF (Digital: OFF, Analog: 0). |
(2) Blink
Blinks in certain cycles according to the tag value.
This feature does not support the following objects: Trend, Data Logging, Key Input Window, Alarm Summary, Page Link.
Item | Description | |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press to configure the detailed address. | |
Tag | You must enter the tag name that will become the standard for the ‘Blink’ feature. You can find the tag with or manually input the tag name. If the corresponding tag does not exist in the database, a message pops up asking the user if they wish to add a new tag. | |
Condition | ON | The object appears when the tag value is ON (Digital: ON, Analog: Values other than 0). |
OFF | The object appears when the tag value is OFF (Digital: OFF, Analog: 0). | |
Interval | You can assign the interval value in 100msec units. The values from 1 to 999 can be assigned. If the value exceeds the range, a warning message pops up. e.g.) When you input 10, the object blinks every second. (1000msec) |
(3) V-Size
Changes the size of the object vertically according to the tag value.
This feature does not support the following objects: Trend, Data Logging, Key Input Window, Alarm Summary, Page Link.
[Vertical Size Variation]
Item | Description |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press to configure the detailed address. |
Tag | You must enter the tag name that will become the standard for the ‘V-Size’ feature. You can find the tag with or manually input the tag name. If the corresponding tag does not exist in the database, a message pops up asking the user if they wish to add a new tag. |
Data Range | Assign the range of the object’s transformation by minimum and maximum values. When the tag value is equal to or less than the minimum value, the object is hidden. When the tag value becomes greater, the object becomes closer to the original shape. If you enter ‘?’, the minimum and the maximum values are the same as the tag’s values. |
[Vertical Size]
Item | Description |
Top | The object’s size changes starting from top to bottom. |
Center | The object’s size changes starting from the center to both sides. |
Bottom | The object’s size changes starting from bottom to top. |
(4) H-Size
Changes the size of the object horizontally according to the tag value.
This feature does not support the following objects: Trend, Data Logging, Key Input Window, Alarm Summary, Page Link.
[Horizontal Size Variation]
Item | Description |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press to configure the detailed address. |
Tag | You must enter the tag name that will become the standard for the ‘H-Size’ feature. You can find the tag with or manually input the tag name. If the corresponding tag does not exist in the database, a message pops up asking the user if they wish to add a new tag. |
Data Range | Assign the range of the object’s transformation by minimum and maximum values. When the tag value is equal to or less than the minimum value, the object is hidden. When the tag value becomes greater, the object becomes closer to the original shape. If you enter ‘?’, the minimum and the maximum values are the same as the tag’s values. |
[Horizontal Size]
Item | Description |
Left | The object’s size changes starting from left to right. |
Middle | The object’s size changes starting from the middle to both sides. |
Right | The object’s size changes starting from right to left. |
(5) V-Move
Moves the object vertically according to the tag value.
This feature does not support the following objects: Trend, Data Logging, Key Input Window, Alarm Summary, Page Link.
[Vertical Movement]
Item | Description |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press to configure the detailed address. |
Tag | You must enter the tag name that will become the standard for the ‘V-Move’ feature. You can find the tag with or manually input the tag name. If the corresponding tag does not exist in the database, a message pops up asking the user if they wish to add a new tag. |
Data Range | Assign the range of the object’s movement by minimum and maximum values. When the tag value is equal to or less than the minimum value, the object is at the starting point. When the tag value becomes greater, the object moves further from the starting point. If you enter ‘?’, the minimum and the maximum values are the same as the tag’s values. |
[Vertical Move]
Item | Description |
Top | The object moves from top to bottom. |
Bottom | The object moves from bottom to top. |
Distance | Assign the maximum distance of movement. The distance is assigned in pixel units from 1 to 1024. |
(6) H-Move
Moves the object horizontally according to the tag value.
This feature does not support the following objects: Trend, Data Logging, Key Input Window, Alarm Summary, Page Link.
[Horizontal Movement]
Item | Description |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press to configure the detailed address. |
Tag | You must enter the tag name that will become the standard for the ‘H-Move’ feature. You can find the tag with or manually input the tag name. If the corresponding tag does not exist in the database, a message pops up asking the user if they wish to add a new tag. |
Data Range | Assign the range of the object’s movement by minimum and maximum values. When the tag value is equal to or less than the minimum value, the object is at the starting point. When the tag value becomes greater, the object moves further from the starting point. If you enter ‘?’, the minimum and the maximum values are the same as the tag’s values. |
[Horizontal Move]
Item | Description |
Left | The object moves from left to right. |
Right | The object moves from right to left. |
Distance | Assign the maximum distance of movement. The distance is assigned in pixel units from 1 to 1024. |
(7) Color
Changes the color of the object according to the tag value.
This feature does not support the following objects: Trend, Data Logging, Key Input Window, Alarm Summary, Page Link.
[Color]: You can configure the conditions of [Color]. You can set a maximum of 8 conditions for color variation.
Item | Description |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press to configure the detailed address. |
Tag | You must enter the tag name that will become the standard for the ‘Color’ feature. You can find the tag with or manually input the tag name. If the corresponding tag does not exist in the database, a message pops up asking the user if they wish to add a new tag. |
Pen | Selects the color of the object’s outline when the color changes. |
BG | Selects the color of the object’s fill when the color changes. |
Value: The color changed according to the value assigned to the tag.
Item | Description | Example |
> = |
The color changes when the tag value is equal to or greater than the assigned value. |
Priority of [Color]: The ‘Color Variation’ with a bigger number has a higher priority.
E.g.) Color Vari.1 < Color Vari.2
(8) Rotate
Rotates the object by the assigned angle according to the tag value.
This feature does not support the following objects: Trend, Data Logging, Key Input Window, Alarm Summary, Page Link.
[Rotation]
Item | Description |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press to configure the detailed address. |
Tag | You must enter the tag name that will become the standard for the ‘Rotate’ feature. You can find the tag with or manually input the tag name. If the corresponding tag does not exist in the database, a message pops up asking the user if they wish to add a new tag. |
Data Range | Assign the range of the object’s rotation by minimum and maximum values. When the tag value is equal to or less than the minimum value, the object does not rotate. When the tag value becomes greater, the object rotates. If you enter ‘?’, the minimum and the maximum values are the same as the tag’s values. |
[Rotate]
Item | Description | |
Max Rotate Angle | You can assign a maximum rotation angle. A value from 0 to 360 can be assigned. | |
Rotate Direction | CCW | The object rotates counterclockwise. |
CW | The object rotates clockwise. | |
Center Point | Assign the center point’s coordinate of the rotation. The absolute coordinate must be assigned in pixel units. It is recommended to assign the coordinates within the range of the graphic page.
|
| Objects such as Circle, Text, Tag Value do not rotate with the default center point. You have to change the value assigned to the center point. |
(9) Touch
Executes a defined operation when the object is pressed or released. You cannot use this feature along with ‘EntryData'.
This feature does not support the following objects: Trend, Data Logging, Key Input Window, Alarm Summary, Page Link.
[Action Script]: You can define the operation when you touch the object.
Item | Description | |||
Open Page | Opens a graphic page. You can input the page’s name manually or press to select a graphic page through the file browser. | |||
Close Page | Closes a graphic page. You can input the page’s name manually or press to select a graphic page through the file browser. | |||
Write Tag Value | Writes the assigned value to the registered tag. | |||
Value | You can assign a value to write at the selected tag. Write 0 or 1 for Digital Tag. If you wrote a value greater than 1 for the digital tag, the tag recognizes it as 1. For Analog Tag, write an integer or floating-point number. | |||
Write Digital Value | Configures the operation on the digital tag when you touch the object. | |||
Written Value Set | Sets the digital tag value as “1”. | |||
Written Value Reset | Sets the digital tag value as “0”. | |||
Written value Toggle | Reverses the digital tag value. (0→1 or 1→0) | |||
Command Expression | You can write a command expression to execute. | |||
Command | Inputs a command expression when you touch the object. This action uses script commands. | |||
Write Momentary | Writes an instant value when you touch or release the object. | |||
Down – Written Value | Inputs a value when you touch the object. | |||
Up – Written Value | Inputs a value when you release the object. | |||
Key Input | Operates as the key to a keyboard. Supports 83 keys in total, such as Arrow keys, HOME, END, PAGE UP/DOWN, INSERT, DELETE, LOCK Keys, Alphabets, Numbers, ENTER, SPACE, ESC, PRINT SCREEN, PAUSE, F1~F12, TAB, “/”, “*”, “-“, “+”, “.”, CLEAR. | |||
Open Keypad Page | Opens a keypad page. Assign the location where the keypad page will be opened at the ‘V Scale’ and ‘H Scale’. It is recommended to enter a value less than the Xpanel’s resolution. You can select the ‘Use Max/Min’ option to assign a range of values. If the option is deselected, the minimum and the maximum values will be the same as the tag’s values. You can input the page’s name manually or press to select a graphic page through the file browser. |
Condition
Assign a condition to perform the touch feature. The condition must be in the format of logical and/or comparison calculation.
Item | Description |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press [Addr] to configure the detailed address. |
Tag | Sets the condition with tags from the database. Press [Tag] or manually input the tag name. |
Enter the comparison calculation in the format as shown below.
[Tag Name or Device Address] [Comparison Operator] [Value]
The following table shows the list of comparison operators you can use.
Comparison Operator | Description | Example |
== | Is equal to | A == B |
>= or => | Is greater than or equal to | A >= B |
> | Is greater than | A > B |
<= or =< | Is less than or equal to | A <= B |
< | Is less than | A < B |
!= | Is not equal to | A != B |
You can also use comparison calculation and logical calculation together. Use a logical operator between two comparison calculations as shown below.
[Comparison Calculation] [Logical Operator] [Comparison Calculation]
The following table shows the list of logical operators you can use.
Logical Operator | Description | Example |
&& | Logical AND | A && B |
|| | Logical OR | A || B |
! | Logical NOT | !A |
[Security]: This feature is to put a limit on users when using the object.
※ Please refer to the ‘Security’ manual for more information.
(10) EntryData
Inputs data with a data entry window when the object is clicked. You cannot use this feature along with [Touch].
This feature does not support the following objects: Trend, Data Logging, Key Input Window, Alarm Summary, Page Link.
[Action]: You can select between ‘Numeric’ and ‘Text’ in the dropdown menu.
a) Numeric
Item | Description | |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press to configure the detailed address. | |
Tag | You must enter the tag name that will become the standard for the ‘EntryData’ feature. You can find the tag with or manually input the tag name. If the corresponding tag does not exist in the database, a message pops up asking the user if they wish to add a new tag. | |
Min/Max Value | Assign an input range. If you enter ‘?’, the minimum and the maximum values will be the same as the tag’s values. | |
Disp. Type | You can select a window style when you use the Entry Data feature. There are three supported window styles in the dropdown menu. | |
Title | Designates the title of the data entry window. | |
Comment | Inputs the comment of the data entry window. |
b) Text
Item | Description | |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press to configure the detailed address. | |
Tag | You must enter the tag name that will become the standard for the ‘EntryData’ feature. You can find the tag with or manually input the tag name. If the corresponding tag does not exist in the database, a message pops up asking the user if they wish to add a new tag. | |
Password | When you write text on the data entry window, it is expressed as “*****”. | |
Disp. Type | You can select a window style when you use the Entry Data feature. There are three supported window styles in the dropdown menu. | |
Title | Designates the title of the data entry window. | |
Comment | Inputs the comment of the data entry window. |
Condition
Assign a condition to perform the EntryData feature. The condition must be in the format of logical and/or comparison calculation.
Item | Description |
Addr | Controls the object with the address registered in the [I/O Device]. You can select the data unit (BIT/WORD). Press [Addr] to configure the detailed address. |
Tag | Sets the condition with the tags from the database. Press [Tag] or manually input the tag name. |
Enter the comparison calculation in the format as shown below.
[Tag Name or Device Address] [Comparison Operator] [Value]
The following table shows the list of comparison operators you can use.
Comparison Operator | Description | Example |
== | Is equal to | A == B |
>= or => | Is greater than or equal to | A >= B |
> | Is greater than | A > B |
<= or =< | Is less than or equal to | A <= B |
< | Is less than | A < B |
!= | Is not equal to | A != B |
You can also use comparison calculation and logical calculation together. Use a logical operator between two comparison calculations as shown below.
[Comparison Calculation] [Logical Operator] [Comparison Calculation]
The following table shows the list of logical operators you can use.
Logical Operator | Description | Example |
&& | Logical AND | A && B |
|| | Logical OR | A || B |
! | Logical NOT | !A |
[Security]:
This feature is to put a limit on users when using the object. You can assign a security level between 0 and 10.
※ Please refer to the ‘Security’ manual for more information.
[Expression]
Item | Description |
X Offset (pixels) | Assign a coordinate of the X-axis for the data entry window. You can assign values between -32768 and 32767. If the coordinate exceeds the graphic page, the window appears on the nearest border. |
Y Offset (pixels) | Assign a coordinate of the Y-axis for the data entry window. You can assign values between -32768 and 32767. If the coordinate exceeds the graphic page, the window appears on the nearest border. |
Digit Number | You can enter the value with a specified number of digits. The set value can be assigned from 0 to 255. If the ‘Decimal point’ option has been selected, the digit number must bigger than the number of decimals. |
Decimal Point | The entry value is displayed with a specified number of decimals. |
Hexa-Decimal | Enter the value with a hexadecimal number. |
※ ‘Digit number’, ‘Decimal point’, and ‘Hexa-decimal’ options are supported in XpanelDesigner 2.53 and above versions.
The following table shows examples of each action’s window style.
Item | Example |
Numeric |
|
Text |