Ultimate Technology 500 POS manual Example

Models: 500 POS

1 80
Download 80 pages 46.99 Kb
Page 62
Image 62

EXAMPLE 3.

This example programs the key at top left-hand corner of keyboard (row 1, column A) as a primary key that outputs the scan code for lowercase "z" on MAKE only.

1.Use the data in Appendix D to find the key code number for the "Z" key on the 101/102- keyboard. The "Z" key code number = 46 (decimal).

2.Convert key code 46 (decimal) to its hexadecimal equivalent. The key code = 2E hex.

3.Program command = A0krcCxDx@<CR> = A0 P 1 A CE D2 @ <CR>

Parameters same as shown for example 1, except @ = output on MAKE only.

EXAMPLE 4.

This example programs key at top left-hand corner of keyboard (row 1, column A) as a primary key that outputs the scan code for uppercase "Z" on MAKE only.

1.Use the data in Appendix D to find the key code number for the "Z" key on the 101/102- keyboard. The "Z" key code number = 46 (decimal).

2.Convert key code 46 (decimal) to its hexadecimal equivalent. The key code = 2E hex.

3.Program command = A0krc(CxDx)@<CR> = A0 P 1 A ( CE D2 ) @ <CR>

Parameters same as shown for example 1, except @ = output on MAKE and () = left shift MAKE and left shift release.

EXAMPLE 5.

This example programs key at top left-hand corner of keyboard (row 1, column A) as a primary left SHIFT key that outputs the scan code for MAKE and BREAK.

1.Use the data in Appendix D to find the key code number for the left SHIFT key on the 101/102-keyboard. The "Left SHIFT" key code number = 44 (decimal).

2.Convert key code 44 (decimal) to its hexadecimal equivalent. The key code = 2C hex for MAKE and AC hex for BREAK.

3.Program command = A0krcCxDx!CxDy<CR> = A0 P 1 A CC D2 ! CC DA <CR> or

A0 P 1 A ( ! ) <CR>

54

Page 62
Image 62
Ultimate Technology 500 POS manual Example