Fametech PKB-059 Series User manual

User’s Manual
PKB-059 Series
59 Key Programmable Keyboard

Contents
1. Information ...................................................................................... 2
1.1 Unpacking............................................................................. 2
1.2 Introduction........................................................................... 3
1.3 Configuration ........................................................................ 4
1.4 Specifications........................................................................ 7
2. Installation....................................................................................... 8
3. Operation......................................................................................... 8
3.1 How to program the keyboard.............................................. 8
3.2 How to program the same key codes on other keyboards. 18
3.3 How to clear the key map................................................... 19
3.4 How to install the key name label into the transparent keycap
.................................................................................................. 21
3.5 How to use magnetic card reader ...................................... 21
1

2
1. Information
1.1 Unpacking
A. Standard Package
1. PKB-059 x 1
2. Programming Software Diskette x 1
3. Keycap Remover x 1
B. Optional Magnetic Card Readers
1. Dual Track: Track 1 & 2 or Track 2 & 3
2. Triple Track: Track 1 & 2 & 3

3
1.2 Introduction
PKB-059 series is a 59 key PS/2 interface programmable keyboard
with optional magnetic card reader. The major functions of PKB-059
are as below.
A. PS2 interface.
B. Include 2 pages of programmable keyboard and 1 page of
default value.
Mode 0: Default value is as figure 1. It works like a PC keyboard
and is not programmable.
Mode 1: 58 programmable keys and 1 master key.
Mode 2: 58 programmable keys and 1 master key.
C. 59 keys include:
z1 key for mode switch to select
Mode 0 with both Mode 1 & 2 LED indicators off
Mode 1 with Mode 1 LED indicator on
Mode 2 with Mode 2 LED indicator on
z58 programmable keys
D. Equipped with transparent keycaps for easy installation of
labels for the programmed key names.
E. Two LED indicators to show the working mode: Mode 0, 1, or
2.

1.3 Configuration
Figure 1 U.S. Version: the default value at Mode 0
4

Figure 1-1 German Version: the default value at Mode 0
5

6
A. Mode 1 LED Indicator:
Indicate the keyboard operation is under Mode 1 while the Mode 1
LED indicator is on
B. Mode 2 LED Indicator:
Indicate the keyboard operation is under Mode 2 while the Mode 2
LED indicator is on.
C. Programmable Keys: 10 Keys for Mode 1 or 2.
D. Mode Switch: Change the mode of keyboard operation by
pressing this switch. This mode switch key is not programmable.
E. Programmable Keys: 18 keys for Mode 1 or 2.
F. Programmable Keys: 10 keys for Mode 1 or 2.
G. Programmable Keys: 20 keys for Mode 1 or 2.
H. Master Key: For special control application.
Mode 0: Default value 6A Hex.
Mode 1: Programmable
Mode 2: Programmable
“MAKE” code will be sent while Master key is turned on. For
example, “6A” code will be sent at Mode 0.
“Break” code will be sent while Master key is turned off. For
example, “F0 6A” code will be sent at Mode 0.
I. External Keyboard Connector: To connect an external PC
standard keyboard for programming.
J. PC cable: To connect the keyboard port on the PC

7
1.4 Specifications
A. Keyboard
zKey pitch: 19.05mm
zKey stroke: 4mm
zOperating force: 60±20g
zRollover method: Psedo N-Key rollover
zKey switch contact resistance: <200 M OHMS
Tyr.25MOHMS
zKey switch bouncing time: <= 5 ms
zKey switch lifetime: 20 million operations per key.
B. Magnetic card reader
zISO standards.
zDual track or triple track reader selectable.
zThe built-in decoder is programmed by the setup manual.
C. Environment
zOperating temperature: 5~45℃
zStorage temperature: 10~60℃
zHumidity: 10~90% relative
D. Power Supply: 5VDC
zCurrent: 300mA(Keyboard only)
E. Dimensions: 245W x 215L x 40H mm

8
2. Installation
Follow the procedures below to install PKB-059.
A. Connect the PC standard keyboard to the external keyboard
connector on PKB-059.
B. Be sure the computer is turned off and plug the PKB cable into the
computer.
C. Turn on the computer.
D. Press the Mode Switch to see if the LED indicator turns on. If the
Mode 1 or 2 LED indicator turns on, the PKB installation is
complete.
3. Operation
3.1 How to program the keyboard
A. Be sure the keyboard is properly installed. Use an external PC
standard keyboard to program.
B. Be sure the computer is running under MS DOS.
C. Insert the enclosed disk into the disk drive A on the computer.
D. Change to Drive A by pressing the keys on the external standard
keyboard and enter the file name “DEFINE12” such as:
A:\>DEFINE12
E. Press the Enter key, and the computer monitor will display as
below:

59 KEYS PROGRAMMABLE KEYBOARD Vx.x xx/xx/xxxx
<1> Programming keycode of mode 1
<2> Programming keycode of mode 2
<3> Set mode 0 active/unactive
<4> Set repeat mode
<5> Set key code of mode
<6> Key code table
<7> Quit
Please select <1--7>:
zSelect 1 for programming keyboard of Mode 1 if you want to
program Mode 1.
zSelect 2 for programming keyboard of Mode 2 if you want to
program Mode 2.
zSelect 3 to enable or disable Mode 0.
Set mode 0 <A>ctive/<U>nactive
Press <Q> to return to main menu…
zSelect 4 to enable or to disable the repeat feature of the keyboard.
Set repeat 0 <A>ctive/<U>nactive
Press <Q> to return to main menu…
zSelect 5 to program the whole table of key codes at one time when
you want to program the same key codes on the second keyboard
as the first one. This is a convenient method to program mode
keyboards with the same key codes.
<1> Set all codes of mode 1
<2> Set all codes of mode 2
<3> Set all codes of both modes.
9

<4> Quit
Please select <1-4>:
zSelect 6 for key code table as Figure B, which can be used to
program keyboard. You may print it out when you need a copy of
key code.
zSelect 7 to quit when finishing the programming.
F. Select 1 for programming key code of Mode 1. The computer
monitor will display as below:
Figure A
Master key
Key position mapping 3F Mode 1 key code mapping
Remark: * * is change mode key *input key position:
<F1> Quit <F2> Set initial code <F3> Set past mode code <F4> Save
to disk
The above figure shows the key position codes on the left mapping.
zPress F1 to quit and return to main menu.
zPress F2 to program the whole table of initial key codes (Default
value) for Mode 1 or Mode 2.
See Figure C. This is a whole table batch programming.
10

11
zPress F3 to program the whole table on Mode 1 (or on Mode 2).
This is also a one time whole table batch programming. Note this
feature would not work if the previous mode code hadn’t been
saved in the disk.
zPress F4 to save the programmed code.
Key Code
0 PAUSE 10 20 30
1 F9 11 ALT 21 C c 31
N n
2 F7 12 Shift 22 X x 32
B b
3 F5 13 23 D d 33
H h
4 F3 14 CTRL 24 E e 34
G g
5 F1 15 Q q 25 4 $ 35
Y y
6 F2 16 1 ! 26 3 # 36
6 ^
7 F12 17 27 37
8 18 28 38
9 F10 19 29 Space 39
A F8 1A Z z 2A V v 3A
B F6 1B S s 2B F f 3B
J j
C F4 1C Aa 2C T t 3C
U u
D TAB 1D W w 2D R r 3D
7 &
E ‘ ~ 1E 2 @ 2E 5 % 3E
8 *
F 1F 2F 3F
40 50 60 Non-Operation
70
PAD 0
41 , < 51 61 INS 71
PAD DEL
42 K k 52 ‘ “ 62 END 72
PAD 2
43 I i 53 63 ↓73
PAD 5
44 O o 54 [ { 64 Pg Dn 74
PAD 6
45 0 ) 55 - + 65 ←75
PAD 8
46 9 ( 56 66 Back SPACE 76
Esc
47 57 67 →77
Num
48 58 Caps 68 HOME 78
F11
49 . > 59 69 PAD 1 79
PAD +

12
4A / ? 5A Return 6A ↑7A
PAD 3
4B Ll 5B ] } 6B PAD 4 7B
PAD -
4C ; : 5C 6C PAD 7 7C
PAD *
4D P p 5D \ | 6D Pg Up 7D
PAD 9
4E - _ 5E ∞6E PAD / 7E
Scroll
4F 5F ooo 6F DELETE 7F
Shift+F1
80 Shift+F2 90 ALT+F8 A0 ALT+D B0
ALT+T
81 Shift+F3 91 ALT+F9 A1 ALT+E B1
ALT+U
82 Shift+F4 92 ALT+F10 A2 ALT+F B2
ALT+V
83 Shift+F5 93 ALT+0 A3 ALT+G B3
ALT+W
84 Shift+F6 94 ALT+1 A4 ALT+H B4
ALT+X
85 Shift+F7 95 ALT+2 A5 ALT+I B5
ALT+Y
86 Shift+F8 96 ALT+3 A6 ALT+J B6
ALT+Z
87 Shift+F9 97 ALT+4 A7 ALT+K B7
CTRL+F1
88 Shift+F10 98 ALT+5 A8 ALT+L B8
CTRL+F2
89 ALT+F1 99 ALT+6 A9 ALT+M B9
CTRL+F3
8A ALT+F2 9A ALT+7 AA ALT+N BA
CTRL+F4
8B ALT+F3 9B ALT+8 AB ALT+O BB
CTRL+F5
8C ALT+F4 9C ALT+9 AC ALT+P BC
CTRL+F6
8D ALT+F5 9D ALT+A AD ALT+Q BD
CTRL+F7
8E ALT+F6 9E ALT+B AE ALT+R BE
CTRL+F8
8F ALT+F7 9F ALT+C AF ALT+S BF
CTRL+F9
C0 CTRL+F10 D0 CTRL+F E0 CTRL+V
C1 CTRL+0 D1 CTRL+G E1 CTRL+W
C2 CTRL+1 D2 CTRL+H E2 CTRL+X
C3 CTRL+2 D3 CTRL+I E3 CTRL+Y
C4 CTRL+3 D4 CTRL+J E4 CTRL+Z
C5 CTRL+4 D5 CTRL+K E5 CTRL+LEFT
C6 CTRL+5 D6 CTRL+L E6 CTRL+RIGHT
C7 CTRL+6 D7 CTRL+M E7 CTRL+PgUp
C8 CTRL+7 D8 CTRL+N E8 CTRL+PgDn
C9 CTRL+8 D9 CTRL+O E9 CTRL+HOME
CA CTRL+9 DA
CTRL+P EA CTRL+END
CB CTRL+A DB
CTRL+Q EB CTRL+ENTER

13
CC CTRL+B DC
CTRL+R EC CTRL+BACK SPACE
CD CTRL+C DD
CTRL+S
CE CTRL+D DE
CTRL+T
CF CTRL+E DF
CTRL+U

14
Figure B
Key Codes Table
U.S. English keyboard
Key Key
code
Key Key
code
Key Key
code
Key Key
code
ESC 76H U u 3CH | \ 5DH F6 0BH
! 1 16H I i 43H Z z 1AH F7 02H
@ 2 1EH O o 44H X x 22H F8 0AH
# 3 26H P p 4DH C c 21H F9 01H
$ 4 25H { [ 54H V v 2AH F10 09H
% 5 2EH } ] 5BH B b 32H F11 78H
^ 6 36H Return
5AH N n 31H F12 07H
& 7 3DH CTRL
14H M m 3AH * 7CH
* 8 3EH Aa 1CH < , 41H - 7BH
( 9 46H S s 1BH > . 49H + 79H
) 0 45H D d 23H ? / 4AH 1 END 69H
_ ~ 4EH F f 2BH Alt 11H 2 DOWN
72H
+ = 55H G g 34H Space 29H 3 Pg Dn 7AH
BACK 66H H h 33H Caps 58H 4 LEFT 6BH
TAB 0DH J j 3BH Num 77H 5 73H
Q q 15H K k 42H Scroll 7EH 6 RIGHT
74H
W w 1DH Ll 4BH F1 05H 7 HOME
6CH
E e 24H : ; 4CH F2 06H 8 Up 75H
R r 2DH ‘ “ 52H F3 04H 9 Pg Up 7DH
T t 2CH ~ ` 0EH F4 0CH 0 Ins 70H
Y y 35H Shift 12H F5 03H Del 71H
Remark: * Key codes from ED to FF are not allowed to define.
* [P] : print or any key return to main menu.

15
PC-AT Keyboard Scan Code Table
German keyboard
Key Key
code Key Key
code Key Key
code Key Key
code
ESC 76H I i 43H X x 22H F9 01H
! 1 16H O o 44H C c 21H F10 09H
“ 2 1EH P p 4DH V v 2AH F11 78H
# 3 26H U u 54H B b 32H F12 07H
$ 4 25H * + 5BH N n 31H / 85H
% 5 2EH Return
5AH M m 3AH * 7CH
& 6 36H Ctrl 14H ; , 41H - 7BH
/ 7 3DH Aa 1CH : . 49H + 79H
( 8 3EH S s 1BH _ - 4AH 1 END 69H
) 9 46H D d 23H Alt 11H 2 DOWN
72H
= 0 45H F f 2BH Space 29H 3 Pg Dn 7AH
? 4EH G g 34H Caps 58H 4 LEFT 6BH
`' 55H H h 33H Num 77H 5 73H
BACK 66H J j 3BH Scroll 7EH 6 RIGHT
74H
TAB 0DH K k 42H F1 05H 7 Past 6CH
Q q 15H Ll 4BH F2 06H 8 Up 75H
W w 1DH Ö ö 4CH F3 04H 9 Pg Up 7DH
E e 24H Ä ä 52H F4 0CH 0 Ins 70H
R r 2DH . ~ 0EH F5 03H . Del 71H
T t 2CH Shift 12H F6 0BH < > 61H
Z z 35H ‘ # 5DH F7 02H
U u 3CH Y y 1AH F8 0AH
Remark: * Key codes from ED to FF are not permitted to define.
* German keyboard [P] : print or any key return to main
menu…

Figure C Initial Key Code
Masterkey US K/B
Key position mapping 3F Mode 1 key code mapping 6A
Remark: * * is change mode key *Input key position:
<F1> Quit <F2> Set initial code <F3> Set past mode code <F4> Save
to disk
* The left map is key position code.
* The right map is initial key code. (Default value)
16

Masterkey German K/B
Key position mapping 3F Mode 1 key code mapping 6A
Remark: * * is change mode key *Input key position:
<F1> Quit <F2> Set initial code <F3> Set past mode code <F4> Save
to disk
G. Input key position code as per the left table on FigureA and input
key code as per Figure B for each key you want to program. Or
press “F2” to set initial code to whole table of Mode 1 and make
some changes on some keys if the new code on Mode 1 only
changes a little from the initial one. Or press “F3” to set the past
mode code to the whole table of Mode 1 and make some changes
on some keys if the new code on Mode 1 only changes a little from
the past mode code. (This would not work if the past mode code
hadn’t been saved in the disk.)
Note: While in programming,
H. Press “F1” to return to main menu after programming all keys on
Mode 1. Or press “F4” to save this programmed Mode 1 code to
17

disk and then press “F1” to return to main menu.
I. Select 2 for programming key code of Mode 2. Follow the above
procedures G&H to program all keys on Mode 2.
J. Select 7 to quit the programming after finishing programming
Mode 1 & 2.
K. Unplug the external keyboard and try the PKB-059 as below:
zPress Mode switch to Mode 1 and try all keys to see if they
perform as programmed.
zTry the same on Mode 2.
L. Unplug the PKB-059 from the computer.
3.2 How to program the same key codes on other
keyboards
A. Refer to Section 3.1 to program the 1st keyboard and save the
programmed Mode 1 code and/or mode 2 code to the disk.
B. Unplug the 1st keyboard after finishing programming and plug the
second keyboard to be made the same programming.
C. Be sure the software returns to main menu. Select 5 for “Set key
code of mode.”
D. The computer monitor will display as below:
<1> Set all codes of mode 1
<2> Set all codes of mode 2
<3> Set all codes of both modes
<4> Quit
Please select <1--4> : __
18

19
zSelect 1 to program the same code of Mode 1 on the 2nd
keyboard.
zSelect 2 to program the same code of Mode 2 on the 2nd
keyboard.
zSelect 3 to program the same code of both Mode 1 and Mode
2 on the 2nd keyboard.
zSelect 4 to return to main menu after finishing programming.
E. Follow the above procedures to program the 3rd, 4th keyboard…
3.3 How to clear the key map
Follow the procedures below to clear the whole key map.
A. Follow the proceduresA-F in Section 3.1 for Mode 1.
B. The computer monitor will display as FigureA with blank key code
mapping on the right side.
C. Press “F4” to save the blank key code table to the disk.
D. Press “F3” to program.
E. Mode 1 is cleared to become blank. All keys on Mode 1 become
“00” as Figure D.
Table of contents