The text of a manual · part 4 of 4
IB-3 PC Keyboard Wedge User's Manual, pages 25 to 32
Pages 25 to 32 of 32
The original document is the PDF (710 KB). 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 Microscan IB-3PC
Page 25
Appendix
Appendix
IB-3 PC Keyboard Wedge User’s Manual
A-1
Page 26
IB-3 PC Keyboard Wedge
Electrical Specifications Table A-1 Scanner 15-pin Connector Pin 1 2 3 4 5 6 7 8 9 10 11 13 14 15
Host RS-232 Power +5 VDC Transmit data (RS-232) Receive data (RS-232) Power/Signal Ground NC RTS NC Default configuration NC CTS NC NC NC NC
I/O
Power 5
In Out
6 4
3 1
2
PS/2 (plug)
In
Table A-2 Serial Communications
A-2
1
(DB-9 plug)
(DB-15 plug)
-0
9 8x
Signal Data NC Ground +5 Clock NC
5
00
Pin 1 2 3 4 5 6
1
-0 0
Table A-3 PS/2 Keyboard Socket and Plug Connectors
15
Host
11
Appendix
Signal NC Receive data (RS-232) Transmit data (RS-232) NC Ground NC RTS CTS NC
1
Pin 1 2 3 4 5 6 7 8 9
6 4 2
5 3 1
Keyboard
IB-3 PC Keyboard Wedge User’s Manual
6
Scanner PS/2 (socket)
Page 27
IB-3 PC Keyboard Wedge
Wedge Limitations and Risks PC's Keyboard Buffer The PC itself can only handle so many keystrokes in a given period of time. If the internal workings of the PC do not allow for all the keystrokes to be processed, then they will begin to pile up within the PC. Eventually the PC will no longer accept keyboard data and will reject it.
Wedge's Scanner Character Buffer The Keyboard Wedge has only a finite amount of memory to save incoming serial data. If the rate of incoming data is greater than the keyboard data leaving the wedge, then the characters will begin to pile up within the wedge. Either the remaining data is ignored or a Xon/Xoff protocol will need to be implemented between scanner and wedge to handle the potential data overflow. The input character buffer size is 200 characters. If the data that is being sent is larger than 200 characters, it will not be possible to enable packet mode. Packet mode requires that all data be sent in completion before the conversion process starts.
Keyboard Activity with Pending Wedge Data The Keyboard Wedge will buffer data until there are a few milliseconds of quiet time. Then the Wedge will take over the line and output all the scanner data that is pending. That means that holding down shift will not work unless the there is enough time between the keyboard character outputs to allow for the Wedge to splice into the line. If the wedge does splice into the line, it will ignore any further keyboard activity. There is a method of accessing the characters that require a shift held to access without the user actually holding down the shift. See “Momentary Key Bindings” on page A-4.
Held Key Memory Limit
PC State Changes and Responses During the Keyboard Wedge data transmission it may be necessary for the PC to change the capslock LED state. The Keyboard Wedge is responsible for buffering any commands that the PC sends to the keyboard. There is a limit to the amount of data the Wedge can buffer up from the PC. Typically the amount of data the PC sends is usually very small. There is also a need to assure that the PC, Keyboard and Wedge do not get out of sync. This would result in flipping the capslock state.
Continuous 1 For most applications where a symbol only needs to be read once, it is recommended that the scanner by set to Continuous 1. IB-3 PC Keyboard Wedge User’s Manual
A-3
Appendix
The Keyboard Wedge has a limit of 10 held keys. That means that if there were 11 bound keys (not possible), the last one would be forgotten or ignored.
Page 28
IB-3 PC Keyboard Wedge
Key Mapping Commands See “Keyboard Layout” on page A-6 and “ASCII Table with Control Characters” on page A-8.
Momentary Key Bindings (pushed once and released) <W700, ASCII_DATABASE_#,ASCII_HEX,KEY#_ASCII_DECIMAL> ASCII_DATABASE_# The memory slot that data is to be stored Value (1-10)
ASCII_HEX The ASCII value from scanner Value (0x00-0x7F)
KEY#_ASCII_DECIMAL The key number based on the keyboard map Value (00-130)
There are 10 momentary bindings. These commands range from <W700,1,> to <W700,10,>.
Held Key Bindings (pushed once and held) <W750, ASCII_DATABASE_#,ASCII_HEX > ASCII_DATABASE_# The memory slot that data is to be stored Value (1-10)
ASCII_HEX The ASCII value from scanner Value (0x00-0x7F)
Appendix
There are 10 held bindings. These commands range from <W750,1,> to <W750,10,>. There are 2 occurrences of the bound character to form a Key-ON and some time later the Key-OFF.
Key Assigning There are several keys for which there are no assigned ASCII characters. To access these keys there is a need to assign them valid ASCII characters. To achieve this the user can send commands to the Keyboard Wedge via bar code programming or RS-232 serial commands from a scanner or a terminal. There are two types of keys that can be mapped. • Pushed once and released • Pushed and held. Held keys such as Shift, Alt, and Control are examples of keys that need to be held so that another key will be affected by it. When configuring the Keyboard Wedge the user should know which keys need to be held and which keys are momentary. Standard ASCII characters are already handled such as “a” vs. “A”
A-4
IB-3 PC Keyboard Wedge User’s Manual
Page 29
IB-3 PC Keyboard Wedge
Auto Caps Discriminate Wedge Controls Caps
Force Caps
Definition:
Sets the option for upper and lower case input/output.
Serial Cmd:
<W802, auto caps mode>
Default:
0
Options:
0 = Will manage shift for upper and lower case letters (literal presentation) 1 = Will just send the letter key, ignoring shift/capslock status 2 = Will force all alpha to caps (sends all caps) 3 = Will force all alpha to lower case (sends all lower case) These 4 options apply only to “a” through “z”. Note: Some symbologies do not allow for upper and lower case letters.
Appendix
IB-3 PC Keyboard Wedge User’s Manual
A-5
Page 30
IB-3 PC Keyboard Wedge
Keyboard Layout
Appendix
XT Keyboard
A-6
IB-3 PC Keyboard Wedge User’s Manual
Page 31
IB-3 PC Keyboard Wedge
AT Keyboard
Appendix
IB-3 PC Keyboard Wedge User’s Manual
A-7
Page 32
IB-3 PC Keyboard Wedge
Appendix
ASCII Table with Control Characters Dec 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
A-8
Hex 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 1B 1C 1D 1E 1F
Mne NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US
Ctrl ^@ ^A ^B ^C ^D ^E ^F ^G ^H ^I ^J ^K ^L ^M ^N ^O ^P ^Q ^R ^S ^T ^U ^V ^W ^X ^Y ^Z ^[ ^\ ^] ^^ ^_
Dec 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
Hex 20 21 22 23 24 25 26 27 28 29 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F
Ch SP ! “ # $ % & ' ( ) * + , . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
Dec 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
Hex 40 41 42 43 44 45 46 47 48 49 4A 4B 4C 4D 4E 4F 50 51 52 53 54 55 56 57 58 59 5A 5B 5C 5D 5E 5F
IB-3 PC Keyboard Wedge User’s Manual
Ch @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ \ ] ^ _
Dec 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
Hex 60 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 79 7A 7B 7C 7D 7E 7F
Ch ` a b c d e f g h i j k l m n o p q r s t u v w x y z { | } ~ D