background image

5

6

2.0  APPLICATIONS

Model 2003 allows you to connect an RS-232 or RS485 computer

port to another computer’s keyboard port while still using the keyboard.
Typical applications are for:

• Software Testing With the help of a Model 2003, you can devel-

op a sequence of keystrokes and send them to the keyboard port
of a computer running the software that you want to test. You can
do this without having to add any software or ports to the comput-
er system you are testing.

• Multi-System testing Using the multi-drop capability of the

Model 2003 keyboard port adapter allows centrally controlled test-
ing of up to 58 systems simultaneously. Only the Model 2003 port
adapter allows such flexibility.

• Remote Access The Model 2003 keyboard port adapter allows

remote access to a system where the software does not provide
any other method.

• Monitoring Keyboard Sessions The Model 2003 can be used

to monitor keyboard sessions. This can be helpful to develop
regression test data or to detect keystrokes that are causing prob-
lems with target software. Attach a Keyboard to your Computer's
RS-232 Port - You can use the Model 2003 to send and receive
from a Keyboard attached to an RS-232 port.

3.0  CONFIGURATION

The Model 2003 is easy to install and is ruggedly designed for

excellent reliability. The following instructions will help you to properly
configure the Model 2003.

3.1  CONFIGURATION SWITCHES

The Model 2003 has eight DIP switches that you may use to set

the port address and the bit rate. These externally accessible switches
located on the front of the Model 2003 as shown in Figure 3, below.

Figure 4 shows the orientation of the DIP Switches with respect to

Open and Closed positions.

3.1.1  Address Configuration Switches (S1 through S6)

Switches S1-S6 allow you to set an address for the Model 2003.

You must set an address for each Model 2003 configured in a  mul-
tidrop topology. To set a 2003 address, choose an address from the
left-most column of Table 1. Then configure Switches S1-S6 according
to the the OPEN or CLOSED settings in the same row.

Figure 2. Creating an “extra” RS-232 or RS-485 port for a remote input device

Modem

Patton Model 2003

DIN-5 Cable

AT Keyboard

Host PC

RS-232/RS-485 Port

Scale

Serial Cable

Figure 1. Software testing using a PC program to simulate keystrokes:

PC Running Target Application

AT Keyboard

Serial Cable

Patton Model 2003

PC Running Keystroke Simulation

DIN-5 Cable

RS-232/RS-485 Port

Figure 3. Model 2003 Front Panel Switches

1   2   3   4   5   6   7   8  

Figure 4. Close-up of DIP Switches Showing Open and Closed Positions

OPEN

CLOSED

Ke

yboard

Receiv

e

Tr

ansmit

Address              Rate

1   2   3   4   5   6   7   8  

1   2   3   4   5   6   7   8  

Data Rate

7

8

9600
4800
2400
1200

O
O
C
C

O
C
O
C

Open = 
Closed =

➔➔

MODEL 2003 RS-232/RS-485

Keyboard Adapter

Summary of Contents for 2003

Page 1: ...MODEL 2003 RS 232 RS 485 Keyboard Adapter SALES OFFICE 301 975 1000 TECHNICAL SUPPORT 301 975 1007 http www patton com Part 07M2003 D Doc 077271UD Revised 06 09 99 C E R T I F I E D An ISO 9001 Certif...

Page 2: ...rovide reasonable protection from such interference in a commer cial installation However there is no guarantee that interference will not occur in a particular installation If the Model 2003 does cau...

Page 3: ...board port with RS 232 or RS 485 while retain ing use of the existing keyboard Both RS 232 and RS 485 interfaces included in the same unit Multidrop up to 54 addressable Model 2003 adapters in RS 485...

Page 4: ...ent reliability The following instructions will help you to properly configure the Model 2003 3 1 CONFIGURATION SWITCHES The Model 2003 has eight DIP switches that you may use to set the port address...

Page 5: ...d Closed Closed Open Table 1 Model 2003 Address Settings continued ADDRESS SWITCH SETTINGS 1 2 3 4 5 6 30 Open Closed Closed Closed Closed Open 31 Closed Closed Closed Closed Closed Open 32 Open Open...

Page 6: ...etween devices in parallel In order to configure these straps you must open the Model 2003 case NOTE Before opening the case determine whether the default settings are correct for your application see...

Page 7: ...ly operat ing voltage to pin 9 on the DB 25 connector if you don t connect the computer s Mini DIN keyboard interface However most computers already supply voltage on pin 9 DO NOT connect this jumper...

Page 8: ...t from 2003 4 Request to Send RS 232 Input to 2003 5 Clear to Send RS 232 Output to 2003 6 Data Set Ready RS 232 Output to 2003 7 Signal Ground common return 8 Carrier Detect RS 232 Output from 2003 9...

Page 9: ...re instructions to the Model 2003 to do something other than just pass data through to the computer All commands begin with a tilde hex 7E character followed by a command charac ter and in some cases...

Page 10: ...each pair of ASCII encoded characters is interpreted as a DOS scan code For a binary transfer each 8 bit character is inter preted as a DOS scan code DOS assigns each key a DOS scan code Note that al...

Page 11: ...any buffer received The address must be the first byte of the transmission and the high bit set Address 1 is hex 81 Address 2 is hex 82 etc If you send a command to address 80 all Model 2003s will re...

Page 12: ...50 C Dimensions 1 58 H x 4 16 W x 3 75 D 10 6 x 4 1 x 8 8 cm APPENDIX B PATTON ELECTRONICS MODEL 2003 SCAN CODES AT SCAN 2003 KEYBOARD CODE SC CODE KEY SCAN CODES 01 01 ESC 76 F0 76 02 02 1 16 F0 1E 0...

Page 13: ...0A AT SCAN 2003 KEYBOARD CODE SC CODE KEY SCAN CODES 67 67 F9 01 F0 01 68 68 F10 09 F0 09 69 69 NUM LOCK 77 F0 77 70 70 SCROLL LOCK 7E F0 7E 71 71 HOME E0 6C E0 F0 6C 71 A6 Keypad Home 7 C6 F0 6C 72...

Page 14: ...22 F0 22 F0 14 SUB Y 19 14 35 F0 35 F0 14 SUB Z 1A 14 1A F0 1A F0 14 ESC 1B 76 F0 76 FS 1C 14 5D F0 5D F0 14 GS 1D 14 5B F0 5B F0 14 RS 1E 14 12 36 F0 36 F0 12 F0 14 US _ 1F 14 12 4E F0 4E F0 12 F0 1...

Page 15: ...F0 12 V 56 12 2A F0 2A F0 12 W 57 12 1D F0 1D F0 12 X 58 12 22 F0 22 F0 12 Y 59 12 35 F0 35 F0 12 Z 5A 12 1A F0 1A 0 12 5B 54 F0 54 5C 5D F0 5D 5D 5B F0 5B 5E 12 36 F0 36 F0 12 _ 5F 12 4E F0 4E F0 12...

Reviews: