Keyboard Design and Usage

Chapter 12 Keyboard Design and Usage ...... 2 12.1 Steps to Design a Pop-up Keypad...... 2 12.2 Steps to Design a Keyboard with Direct Window...... 6 12.3 Steps to Design a Fixed Keyboard ...... 9 12.4 Creating UNICODE Keyboard ...... 10

1 Keyboard Design and Usage

Chapter 12 Keyboard Design and Usage

Both [Numeric Input] and [ASCII Input] objects need to use keyboard as input tool. Except for calling up a popup keyboard, users can design a keyboard without title bar or a fixed keyboard in the window. Even UNICODE keyboard can be created. Both numeric keyboard and ASCII keyboard are created with [Function Key] object. The process and usage are illustrated below.

12.1 Steps to Design a Pop-up Keypad

Step 1 Create and open a window for a keyboard to be added. For example, set [WINDOW 200] as the window for a keyboard.

Step 2 Adjust the height and width of WINDOW 200 and create a variety of [Function Key] objects in it. Input signals will be triggered by pressing [Function Keys].

The [Function Key] objects in [WINDOW 200] are arranged as above. These objects should be set in [ASCII/UNICODE mode].

2 Keyboard Design and Usage

Here FK_11 is used as the [Escape (Esc)] key and its settings:

FK_14 is used as the [ENTER] key and its settings:

[Function Key] s other than FK_11 and FK_14 are mostly used to input number or text. For example, FK_0 is used for inputting number [1] and its settings:

Select a suitable Picture for each [Function Key] object. GP_0 is a [picture] object which is placed in the bottom layer as the background.

Step 3 Go to [General] tab in [System Parameter Settings] and click [Add…] in [Keyboard]. [Add a keyboard] dialog appears. Select [WINDOW 200] and press [OK].

3 Keyboard Design and Usage

As illustrated below, a new item: “200.Keyboard” will be added to [Keyboard] in [General] tab in [System Parameter Settings.]

After a Keyboard object is created, when open the [Numeric Input] or [ASCII Input] object, “200.Keyboard” can be found in [Keyboard] Data Entry tab, as shown below. [Popup Position] is used to decide the display position of the Keyboard in screen.

4 Keyboard Design and Usage

EB8000 divides the screen into 9 areas.

Select [200.Keyboard]. When users press [Numeric Input] or [ASCII Input] object, WINDOW 200 will pop up in HMI screen. Users can press keys in keyboard to input data.

5 Keyboard Design and Usage 12.2 Steps to Design a Keyboard with Direct Window

If users don’t need the title bar of the keyboard, a direct window can be used as follows.

Step 1 Create a [Direct window] and set a read address to activate it. In [General] / [Attribute] tab of adding new object dialogue, select [No title bar] and [Window no].

Step 2 Set the [Profile] of [direct window] object to same size as [WINDOW 200].

6 Keyboard Design and Usage

Step 3 Create a [Numeric Input] object, and don’t select [Use a popup keypad].

Step 4 Add a [Set Bit] object, set [LB 0] as ON and overlay it on the [Numeric Input] object. Add [Set Bit] objects on the [Enter] and [ESC] function keys respectively. Set [LB0] as OFF. In this way when user presses either [Enter] or [ESC] will close the keyboard.

7 Keyboard Design and Usage

8 Keyboard Design and Usage 12.3 Steps to Design a Fixed Keyboard

Users can also place a fixed keyboard in the window instead of popup keyboard or direct window. The keyboard can’t be moved or canceled this way.

Step 1 Create a [Numeric Input] object, and don’t select [Use a popup keypad].

Step 2 Design a keyboard with [function keys] and place them in screen.

Step 3 When pressing [numeric input] object, users can input value with function keys directly.

9 Keyboard Design and Usage 12.4 Creating UNICODE Keyboard To create UNICODE keyboard is in the same way as numeric keyboard, all with function keys. The settings are as below:

After the settings are completed, function keys [α] [β] [γ] [δ] are created. Create an [Enter] key. A simple UNICODE keyboard is built. Place a [ASCII Input] object in window, set [No. of Words] as [8] (1 word =2 bytes) and tick [Use UNICODE] as below.

10 Keyboard Design and Usage

In conclusion: Numeric keyboard and ASCII keyboard are all made by combining function keys. Users can group up the self made keyboard and add to library for future use. If not using the default keyboard, self defined keyboard can also be used. Add newly made keyboard to [System parameter settings]/ [General]/ [Keyboard].

11