The text of a manual · part 13 of 15
PowerWedge 20 User's Guide: Full Keyboard Support, pages 118 to 125
Pages 118 to 125 of 148, from PowerWedge 20 User's Guide
The original document is the PDF (2.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the PSC Powerwedge 20 and Datalogic Powerwedge 20
Page 118
Full Keyboard Support
Full Keyboard Support Almost every key on your keyboard - including nonprinting keys, such as PgDn and Ctrl - can be programmed into your PowerWedge 20 decoder. The tables in this section list ASCII values, “mnemonic” values, and Code 39 equivalents for programming all keyboard keys. Some of the values listed in the ASCII column of the tables (for example, 03 for Caps Lock) are not really ASCII values. They are, however, the values you should use for programming the keys. NOTE
Full ASCII mode for Code 39 must be enabled in the decoder for batch programming. Be sure to include the parentheses when you enter mnemonics.
Use the ASCII values whenever you program your decoder with the menu method. For example, to turn on the Caps Lock key (value 03 from table ) through menu programming, you would scan the bar codes for 0 and 3. Use the Code 39 values to create bar codes for batch programming or to include lowercase or nonalphanumeric characters in a bar code. For example, to include an exclamation mark (!) in a bar code, you would encode it as /A (slash capital a). Use mnemonics for on-screen and serial batch programming. For example, to encode the Enter key, you would type (CR). Some keys act immediately when read into the decoder. For example, the decoder transmits the page-down command to the computer as soon as it reads a bar code containing the characters %U$Z. Other keys are not quite so simple. For example, the Ctrl key has to be “turned” on and off. When you type Ctrl+C, for instance, you hold the Ctrl key down while you press C, and then you release the Ctrl key. Three signals are sent to the host device: Ctrl key on (down), C, Ctrl key off (up). This is the way you need to think when encoding Ctrl, Alt, Shift,
112
PowerWedge® 20
Page 119
Full Keyboard Support and other keys requiring a key to be held down while another is pressed. To include the Ctrl+C keystroke combination in a batch bar code, you would encode $RC$S. For on-screen or serial batch programming for an IBM PC keyboard, you would need to enter (XC1)C(XC0). The ASCII equivalent for menu programming is 124313.
The zap character does not eliminate preambles or postambles. NOTE
Including a function key in a bar code can present a problem if your decoder is programmed to follow every bar code transmission with an autoterminator character. You can eliminate the autoterminator by including the “zap” character, $Z, in any bar code that you do not want followed by the autoterminator. For example, you would encode %U$A$Z to send function key f1 with no autoterminator after it. Table 16 lists the equivalents for keys that are common to many keyboards. For encoding keys from a specific keyboard, see the appropriate table from the following list: Computer or Terminal Table ADDS 17 DEC 20 Decision Data 20 IBM PCs and compatibles 17 IBM terminals 21 Macintosh 18 NCR 2900 17 NEC PowerMate 17 TeleVideo terminal 19 Telex 21
Page 116 121 121 116 126 117 116 116 119 126
For information about IBM terminals and illustrations of IBM keyboards, see the section beginning on page 123.
User’s Guide
113
Page 120
Full Keyboard Support
Table 16. Common Keyboard Keys
114
Key
Code 39
ASCII Value
Key
Code 39
ASCII Value
Key
Code 39
ASCII Value
SP space
20
A
A
41 a
+A
61
!
/A
21
B
B
42 b
+B
62
"
/B
22
C
C
43 c
+C
63
#
/C
23
D
D
44 d
+D
64
$
/D
24
E
E
45 e
+E
65
%
/E
25
F
F
46 f
+F
66
&
/F
26
G
G
47 g
+G
67
'
/G
27
H
H
48 h
+H
68
(*
/H
28
I
I
49 i
+I
69
)†
/I
29
J
J
4A j
+J
6A
*
/J
2A
K
K
4B k
+K
6B
+
/K
2B
L
L
4C l
+L
6C
,
/L
2C
M
M
4D m
+M
6D
-
- or /M
2D
N
N
4E n
+N
6E
.
. or /N
2E
O
O
4F o
+O
6F
/
/O
2F
P
P
50 p
+P
70
0
0 or /P
30
Q
Q
51 q
+Q
71
1
1 or /Q
31
R
R
52 r
+R
72
2
2 or /R
32
S
S
53 s
+S
73
3
3 or /S
33
T
T
54 t
+T
74
PowerWedge® 20 table
Page 121
Full Keyboard Support
Table 16. Common Keyboard Keys (Continued) Key
Code 39
ASCII Value
Key
Code 39
ASCII Value
Key
Code 39
ASCII Value
4
4 or /T
34
U
U
55 u
+U
75
5
5 or /U
35
V
V
56 v
+V
76
6
6 or /V
36
W
W
57 w
+W
77
7
7 or /W
37
X
X
58 x
+X
78
8
8 or /X
38
Y
Y
59 y
+Y
79
9
9 or /Y
39
Z
Z
5A z
+Z
7A
:
/Z
3A
@
%V
40
`
%W
60
;
%F
3B
[
%K
5B
{
%P
61
<
%G
3C
\
%L
5C
|
%Q
7C
=
%H
3D
]
%M
5D
}
%R
7D
>
%I
3E
^
%N
5E
~
%S
7E
?
%J
3F
_
%O
5F
Delete
%T
7F
Zap§
$Z
1A
*When used as a string value in on-screen programming, must be entered as (( ) †When used as a string value in on-screen programming, must be entered as ( ) ) §Not an actual key; see information about the “zap” character on page 113 table
User’s Guide
115
Page 122
Full Keyboard Support
Table 17. IBM PC and NEC PowerMate Keyboard Keys Mnemonic
Code 39
ASCII Value
Key
Mnemonic
Code 39
ASCII Value
F1*
(X16)
%U$A
8001
↑
(UP)
%U%A
801B
F2*
(X17)
%U$B
8002
↓
(DOWN)
%U%B
801C
F3*
(X18)
%U$C
8003
←
(LEFT)
%U%C
801D
F4*
(X19)
%U$D
8004
→
(RIGHT)
%U%D
801E
F5*
(X20)
%U$E
8005
Caps Lock*
(X3)
$C
03
F6*
(X21)
%U$F
8006
Num Lock*
(X4)
$D
04
F7*
(X22)
%U$G
8007
Scroll Lock*
(X5)
$E
05
F8*
(X23)
%U$H
8008
Horizontal Tab*
(TABR)
$I
09
F9*
(X24)
%U$I
8009
Vertical Tab*
(X10)
$K
0B
F10*
(X25)
%U$J
800A
Enter*
(CR)
$M
0D
F11*
(X26)
%U$K
800B
Alt Off*
(XA0)
$N
0E
F12*
(X27)
%U$L
800C
Alt On*
(XA1)
$O
0F
Insert
(X36)
%U$U
8015
Left Ctrl Off*
(XC0)
$R
12
Home
(X37)
%U$V
8016
Left Ctrl On*
(XC1)
$S
13
Page Up
(X38)
%U$W
8017
Right Ctrl On
(X511)
%U$P
8010
Delete
(X39)
%U$X
8018
Right Ctrl Off
(X510)
%U$O
800F
End
(X40)
%U$Y
8019
Shift Off*
(XE0)
$V
16
Key
116
PowerWedge® 20 table
Page 123
Full Keyboard Support
Table 17. IBM PC and NEC PowerMate Keyboard Keys (Continued) Mnemonic
Code 39
Page Down
(X41)
%U$Z
801A
Backspace
(X8)
$H
08
Key
ASCII Value
Mnemonic
Code 39
Shift On*
(XE1)
$W
17
Esc*
(X11)
%A
1B
Key
ASCII Value
*Keys supported for keyboard data input (see Input Editing on page 45)
Numeric Keypad Enter
(Enter)
%U%E
801F
3
(NP3)
%U3
8033
*
(X52)
%U/J
802A
4
(NP4)
%U4
8034
+
(X53)
%U/K
802B
5
(NP5)
%U5
8035
-
(X55)
%U-
802D
6
(NP6)
%U6
8036
/
(X57)
%U/O
802F
7
(NP7)
%U7
8037
0
(NP0)
%U0
8030
8
(NP8)
%U8
8038
1
(NP1)
%U1
8031
9
(NP9)
%U9
8039
2
(NP2)
%U2
8032
Table 18. Macintosh Keyboard Keys Mnemonic
Code 39
ASCII Value
F1
(X16)
%U$A
8001
F2
(X17)
%U$B
F3
(X18)
F4
(X19)
Key
User’s Guide
Mnemonic
Code 39
ASCII Value
End
(X40)
%U$Y
8019
8002
Page Down
(X41)
%U$Z
801A
%U$C
8003
↑
(UP)
%U%A
801B
%U$D
8004
↓
(DOWN)
%U%B
801C
Key
117 table
Page 124
Full Keyboard Support
Table 18. Macintosh Keyboard Keys (Continued) Mnemonic
Code 39
Mnemonic
Code 39
ASCII Value
F5
(X20)
%U$E
8005
←
(LEFT)
%U%C
801D
F6
(X21)
%U$F
8006
→
(RIGHT)
%U%D
801E
F7
(X22)
%U$G
8007
Tab
(TABR)
$I
09
F8
(X23)
%U$H
8008
Return
(CR)
$M
0D
F9
(X24)
%U$I
8009
ζ
(XB0)
$P
10
F10
(X25)
%U$J
800A
Apple
(XB1)
$Q
11
F11
(X26)
%U$K
800B
Control
(XC0)
$R
12
F12
(X27)
%U$L
800C
Control
(XC1)
$S
13
F13
(X28)
%U$M
800D
Option
(XD0)
$T
14
F14
(X29)
%U$N
800E
Option
(XD1)
$U
15
F15
(X30)
%U$O
800F
Shift
(XE0)
$V
16
Help
(X36)
%U$U
8015
Shift
(XE1)
$W
17
Home
(X37)
%U$V
8016
Caps Lock
(XF0)
$X
18
Page Up
(X38)
%U$W
8017
Caps Lock
(XF1)
$Y
19
Delete
(X39)
%U$X
8018
Esc
(X11)
%A
1B
Key
ASCII Value
Key
Numeric Keypad Enter
(ENTER)
%U%E
801F
3
(NP3)
%U3
8033
*
(X52)
%U/J
802A
4
(NP4)
%U4
8034
+
(X53)
%U/K
802B
5
(NP5)
%U5
8035
-
(X55)
%U-
802D
6
(NP6)
%U6
8036
118
PowerWedge® 20
Page 125
Full Keyboard Support
Table 18. Macintosh Keyboard Keys (Continued) Mnemonic
Code 39
/
(X57)
%U/O
802F
0
(NP0)
%U0
1
(NP1)
2
(NP2)
Key
ASCII Value
Mnemonic
Code 39
7
(NP7)
%U7
8037
8030
8
(NP8)
%U8
8038
%U1
8031
9
(NP9)
%U9
8039
$U2
8032
Mnemonic
Code 39
ASCII Value
Key
ASCII Value
Table 19. TeleVideo Keyboard Keys Mnemonic
Code 39
ASCII Value
F1
(X16)
%U$A
8001
FUNCT
(XF0)
$X
18
F2
(X17)
%U$B
8002
FUNCT
(XF1)
$Y
19
F3
(X18)
%U$C
8003
TAB
(TABR)
$I
09
F4
(X19)
%U$D
8004
←Tab
(X10)
$K
0B
F5
(X20)
%U$E
8005
Enter
(CR)
$M
0D
F6
(X21)
%U$F
8006
ESC
(X11)
%A
1B
F7
(X22)
%U$G
8007
CHAR INSERT
(X43)
%U/A
8021
F8
(X23)
%U$H
8008
LINE INSERT
(X44)
%U/B
8022
F9
(X24)
%U$I
8009
LINE ERASE
(X45)
%U/C
8023
F10
(X25)
%U$J
800A
NO SCROLL
(X46)
%U/D
8024
F11
X26)
%U$K
800B
SEND
(X47)
%U/E
8025
Key
User’s Guide
Key
119 table