3 keypad commands – Matrix Orbital PK202-24-USB User Manual

Page 20

Advertising
background image

Table 6: Keypad Layout

Columns

1

2

3

4

5

6

1

A

B

C

D

E

F

Rows 2

G

H

I

J

K

L

3

M

N

O

P

Q

R

4

S

T

U

V

W

X

NOTE The keypad connector must be wired with columns on one side and rows on the

other side of the centre of the connector. If the keypad isn’t wired this way the user will

need to make an adapter or rewire the connector to meet this requirement.

3.3 Keypad Commands

Some commands, marked with an “R”, may be “Remembered” to set new defaults that will be in effect

each time the unit is powered on.

3.3.1 Auto Repeat Mode On (254 126[mode])(R)

[mode]=0x00 gives Resend Key Code mode
[mode]=0x01 gives Key Down / Key Up Code mode
Two modes of auto repeat are available and are set via the same command.

1.

Resend Key Mode: This mode is similar to the action of a keyboard on a PC. In this mode, when a

key is held down, the key code is transmitted, immediately followed by a 1/2 second delay.

2.

Key down / Key up codes: This code may be used when the typematic parameters of the “Resend

Key Code” mode are unacceptable or if the unit is being operated in polled mode. The host system

detects the press of a key and stimulates an auto repeat inside the host system until the key release is

detected.

In this mode, when a key is held down, the key code is transmitted immediately and no other codes will be

sent until the key is released. On the release of the key, the key release code transmitted will be a value equal

to the key down code plus 20 hex. For example, if the key code associated with key “P”(0x50) is pressed,

the release code is “p”(0x70).

Matrix Orbital

PK202-24-USB

16

Advertising