beautypg.com

Watlow Silver Series User Manual

Page 159

background image

Using and Creating Keypads

151

5. Click OK and place the Direct Window Object anywhere on the window.

6. From the Window menu, select Open Window. Select Window 50 Keypad Integer and click the Settings

button to open the Window Settings Properties. Note the Width and Height of the window (e.g., 160x186).

Click OK and then Exit.

7. Double-click on the Direct Window Object to open the Properties window. Click the Profile tab and enter the

Width and Height of Window 50 into the Width and Height fields of the Direct Window. This will cause the

Direct Window to be correctly sized for the keypad. Click OK to close the Properties window.

8. From the Objects menu, select Button > Set Bit. The New Set Bit Object Properties window opens. Select a

Write Address of LB10 and select Set Style: Set On.

9. Click on the Shape tab and uncheck Use Shape.

10. Click OK and place the Set Bit Object over the Numeric Input Object. Resize the Set Bit Object by clicking and

dragging its corners so it is the same size as the Numeric Input Object (or set the Width and Height in the

Profile tab of the Set Bit Object to the same settings as the Numeric Input Object). This will trigger the

Keypad to pop up in the Direct Window when the Numeric Input is pressed or clicked.

11. Copy the Set Bit Object and open Window 50. Paste the Set Bit Object into Window 50. Double-click on it to

open the Properties. Change the Set Style to Set Off. Click OK and place the Set Bit Object over the Enter key

on the keypad. Resize the Set Bit Object so it is the same size as the Enter key. Copy the Set Bit Object and

place it over the Esc key. This will close the Keypad when the Enter or Esc keys are pressed.

To create a fixed keypad on a window instead of using a popup keypad or Direct Window:

1. In the above sample project, create a new Numeric Input Object and deselect Use popup keypad on the

Data Entry tab. Click OK to close the Properties window.

2. Copy your custom keypad into the window, or open Window 50 and copy the keypad over to Window 10.

3. You must click or touch the Numeric Input Object first to activate it, enter a number using the keypad, then

press Enter on the keypad to write the value to the register.

1010-1007, Rev. 10