background image

13

14

4.0  INSTALLATION

The Model 2003 is typically installed by connecting the DB-25 port

to a computer or terminal, the keyboard port to a keyboard, and the
computer port to a computer’s keyboard port. This section describes
connection procedures.

There are three data ports on the rear panel of the Model 2003 --

an RS-232/RS-485 female DB-25 port, a Keyboard port, and a comput-
er port (see Figure 9, below).

4.1  CONNECTING RS-232/RS-485 DEVICES

When the DB-25 port of the Model 2003 is configured as an RS-

232 port, it looks like DCE (Data Circuit-Terminating Equipment).
Therefore, the Model 2003 serial port will connect directly to a DTE
(Data Termination Equipment) The following pinout diagram shows the
signal directions of the pins on the interface.

Pin#

Description

Direction

1

Protective Ground

N/A

2

Transmit Data

RS-232 Input to 2003

3

Receive Data

RS-232 Output 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

+5VDC

RS-232 Input

14

Transmit Data/Receive Data 

RS-485 Input+/

16

Transmit Data/Receive Data

RS-485 Input-/Output-

20

Data Terminal Ready

RS-232 Input to 2003

4.1.1  Connecting RS-232 Terminal Equipment

The diagrams below show pin connections between the Model

2003's serial port and a standard RS-232 serial interfaces. You may
use these diagrams to construct your own cables, or you may purchase
pre-made cables from Patton Electronics.

PC/XT™ to Model 2003 Pin-Outs

Serial DB-25 (DTE)

Model 2003 DB-25 (DCE)

Pin No.

Pin No.

1 (FG) --------------------------------------- 1 
2 (TD) --------------------------------------- 2
3 (RD) --------------------------------------- 3
4 (RTS) ------------------------------------- 4
5(CTS) -------------------------------------- 5
6 (DSR) ------------------------------------- 6
7 (SG) --------------------------------------- 7
8 (CD) --------------------------------------- 8
20(DRT) ------------------------------------20 

Figure 9. Connection ports on the rear panel of Model 2003

RS - 232 / RS-485

Keyboard

Computer

PC/AT™ to Model 2003 Pin-Outs

Serial DB-9 (DTE)

Model 2003 DB-25 (DCE)

Pin No.

Pin No.

1 (CD)

8 (CD)

2 (RD)

3 (RD)

3 (TD)

2 (TD)

4 (DTR)

20 (DTR)

5 (SG)

7 (SG)

6 (DSR)

6 (DSR)

7 (RTS)

4 (RTS)

8 (CTS)

5 (CTS)

9 (n/c)

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: