Switch Feature
In this section, you can configure the operation order and the function when the object is pressed in CimonX. The Switch functionality has diverse operations such as Bit Switch, Word Switch, Page Switch and Command Switch. You may check the operation order from the list.
Item | Description |
Bit Switch | Defines a digital tag operation. |
Word Switch | Defines an analog tag operation. |
Page Switch | Assigns the page operation to the object. |
Command | Assigns the command to the object. |
Edit | Edits the selected operation of the switch. |
Remove | Removes the selected operation from the switch. |
(1) Bit Switch: Defines a digital tag operation.
Item | Description | |
Tag Name | Enter the tag name to change the value when the switch is pressed. You can manually enter the tag name or press button to browse the tag. Do not enter the analog or string tag name. | |
Write Value | Defines the action when the switch is pressed. | |
Set | Sets the digital tag value as ON(1). | |
Reset | Sets the digital tag value as OFF(0). | |
Toggle | Reverses the state of the digital tag when it is pressed. (OFF(0) → ON(1) or ON(1) → OFF(0)) | |
Momentary | Sets the digital tag value as ON(1) as long as the button is pressed and held down. The value will be automatically reset to OFF(0) when the button is released. | |
Set Lamp | You can use the Lamp feature with corresponding object when this option is enabled. The most recently configured tag is added to the ‘Tag’ 1 in the [Lamp Feature] tab. |
(2) Word Switch
Defines an analog tag operation.
Item | Description | ||
Word Action | Defines an analog tag operation. | ||
Write Word Value | Writes the assigned value to the corresponding tag. | ||
Tag Operation | The tag value will be calculated based on the set value and operator. | ||
Tag Name | Enter the tag name to change the value when the switch is pressed. You can manually enter the tag name or press button to browse the tag. Do not enter the digital or string tag name. | ||
Set Value | Assign a tag value to write when the switch is pressed. If the option is not checked, the value is in decimal. | ||
Hexa | Writes the value in hexadecimal. In the input area, ‘0x00000000’ is entered as default. If you check the option after entering decimal number, the value is automatically converted into hexadecimal. | ||
| Use Tag | When you select the option, the input field is changed into the tag registering field. You can manually enter the tag name or browse the tag by clicking icon. You can add a digital or an analog tag. When switch/lamp object operates, the tag value assigned to [Tag Name] becomes the value assigned to [Use Tag]. | |
Operator | This item appears when you have selected Tag Operation. The operators you can use are [+, -, AND, OR, XOR]. |
(3) Page Switch
Assigns the page operation to the object.
Item | Description | |
Page Type | Assigns the page operation to the object | |
Open Page | Opens the page. You can manually enter the page’s name or click icon to browse the page. | |
Close Page | Closes the page. You can manually enter the page’s name or click icon to browse the page. | |
Replace Page | Replaces the old page with the new page. When the page you are working on is already saved as a file, the current page is entered into “Old Page” as default. You can manually enter the page’s name or click icon to browse the page. When you enter “*” in “Old Page”, all pages except static page will be closed and replaced with the new page. |
(1) Command Switch
Assigns the command to the object.
Item | Description |
Browses the tags from the database. You can select a digital or an analog tag, | |
Browses the list of command expressions. | |
Browses the pages. |