6.4 Button

When you click an item with “Button” or  icon at Toolbox, [Draw] menu, you can insert the button object to the graphic page.

You can configure various functionalities through this object.

(1) Button: You can configure the appearance of the button object.

image-20240603-175052.png

 

 

Item

Description

Title

Enter the name of the button object.

Next >>

Moves to the next tab of [Button Config] window.

OK

Finishes the configuration with current settings and adds the button on the current graphic page.

Cancel

Cancels the object setting. If you were configuring the new button object, the object is not created.

 

 

(2) Action Script: You can configure the functionality of the button object.

 

Item

Description

Mouse Right Button

When you check this option, you may right click on the button object to use.

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.

Write Tag Value

Writes an assigned value to the selected tag.

Write Value

You can assign a value to write at the selected tag. Write 0 or 1 for the digital tag. For the analog tag, write integer of floating-point number. If you wrote a value greater than 1 for the digital tag, the tag will recognize it as 1.

Write

Digital Value

Decides the method to change the digital tag value.

Write Value Set

Sets the digital tag value as 1.

Write Value Reset

Sets the digital tag value as 0.

Write Value Toggle

Reverses the digital tag value. (0→1 or 1→0)

Command

Expression

You can enter the command expressions to execute.

Command Down

Enter the command expression you wish to execute when you press the button.

Command Up

Enter the command expression you wish to execute when you release the button.

Set Up Hot Key

Sets a hot key model to be execute.

Write

Instant Value

Writes a value to the tag at the moment you press/release the button object.

Write Value Down

Assign a value which you wish to write to the tag when you press the button.

Write Value Up

Assign a value which you wish to write to the tag when you release the button.

Run Inactivate Status

Inactivate Status indicates that the focus is inactive due to the mouse cursor is positioned outside of the object.

  1. When this option is checked:

After touching the button object ([Write Value Down]), [Write Value Up] operates when the object is released regardless of the cursor’s location.

  1. When this option is not checked:

After touching the button object ([Write Value Down]), [Write Value Up] operates when the object is released with the cursor on the object.

<< Prev

Moves to the previous tab of [Button Config] window.

Next >>

Moves to the next tab of [Button Config] window.

OK

Finishes the configuration with current settings and adds the button on the current graphic page.

Cancel

Cancels the object setting. If you were configuring the new button object, the object is not created.

(3) Tooltip: You can enter a string which will appear when you hover your cursor on the object.

(4) Security: This feature is to put a limit on users when using the object.

※      Please refer to ‘Security’ for more information.

(5) Object Config: After finishing the button configuration, you can open [Object Config] window. In [Object Config] window, you can configure the object with basic features such as [Visible], [Blink], etc.

 

Item

Description

Name

Designate a name for the object, spaces are not allowed.

Type

Indicates the type of object.

 

Item

Description

Style

Composed of [Position/Size], [Declutter], [Line/Fill] and [Button] tab.

Visible

Shows or hides the object according to the tag value.

Blink

Blinks in certain cycle according to the tag value.

V/H-Size

Changes the size of object vertically/horizontally according to the tag value.

V/H-Move

Moves the object vertically/horizontally according to the tag value.

Color

Changes the color of object according to the tag value.

Button Definition

Displays the [Button Config] window.